mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Split theme-builtin.c into a separate file
This commit is contained in:
parent
4a89fbfb22
commit
5a77c84fc8
4 changed files with 39 additions and 22 deletions
|
|
@ -30,6 +30,13 @@ struct theme {
|
|||
|
||||
extern struct theme theme;
|
||||
|
||||
/**
|
||||
* 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_read - read theme into global theme struct
|
||||
* @theme_name: theme-name in <theme-dir>/<theme-name>/openbox-3/themerc
|
||||
|
|
@ -37,4 +44,11 @@ extern struct theme theme;
|
|||
*/
|
||||
void theme_read(const char *theme_name);
|
||||
|
||||
/**
|
||||
* 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(void);
|
||||
|
||||
#endif /* __LABWC_THEME_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue