mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Merge theme.c and theme-builtin.c
This commit is contained in:
parent
cb2a504440
commit
22d66c81ca
4 changed files with 30 additions and 40 deletions
|
|
@ -33,13 +33,6 @@ struct theme {
|
|||
struct wlr_texture *xbm_iconify_inactive_unpressed;
|
||||
};
|
||||
|
||||
/**
|
||||
* parse_hexstr - parse #rrggbb
|
||||
* @hex: hex string to be parsed
|
||||
* @rgba: pointer to float[4] for return value
|
||||
*/
|
||||
void parse_hexstr(const char *hex, float *rgba);
|
||||
|
||||
/**
|
||||
* theme_init - read openbox theme and generate button textures
|
||||
* @theme: theme data
|
||||
|
|
@ -56,11 +49,4 @@ void theme_init(struct theme *theme, struct wlr_renderer *renderer,
|
|||
*/
|
||||
void theme_finish(struct theme *theme);
|
||||
|
||||
/**
|
||||
* theme_builin - apply built-in theme similar to Clearlooks
|
||||
* Note: Only used if no theme can be found. Default values for individual
|
||||
* theme options are as per openbox spec and are typically black/white.
|
||||
*/
|
||||
void theme_builtin(struct theme *theme);
|
||||
|
||||
#endif /* __LABWC_THEME_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue