mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Support icon colors
xbm/parse: support specifiying color when loading icon theme.c: parse window.active.button.unpressed.image.color
This commit is contained in:
parent
4f96230ebf
commit
5122a9be69
5 changed files with 22 additions and 10 deletions
|
|
@ -16,6 +16,12 @@ struct pixmap {
|
|||
int height;
|
||||
};
|
||||
|
||||
/**
|
||||
* parse_set_color - set color to be used when parsing icons
|
||||
* @rgba: four floats representing red, green, blue, alpha
|
||||
*/
|
||||
void parse_set_color(float *rgba);
|
||||
|
||||
/**
|
||||
* parse_xbm_tokens - parse xbm tokens and create pixmap
|
||||
* @tokens: token vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue