Merge theme.c and theme-builtin.c

This commit is contained in:
Johan Malm 2021-02-21 22:13:18 +00:00
parent cb2a504440
commit 22d66c81ca
4 changed files with 30 additions and 40 deletions

View file

@ -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 */