diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-12-12 23:40:43 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-12-12 23:40:43 +0100 |
commit | fd64bb7a41bf72ad19df772a2cae336ded484b87 (patch) | |
tree | 5639f393cdf04df82b87efe123e4fe7f09b1dbe0 /include | |
parent | be0677cf498aa885a6203fcd0c21c315ad1face3 (diff) |
Improve lexer by adding support for modes.
Diffstat (limited to 'include')
-rw-r--r-- | include/theme.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/theme.h b/include/theme.h index ba0581ab..2eac4601 100644 --- a/include/theme.h +++ b/include/theme.h @@ -35,6 +35,7 @@ typedef struct { } Property; typedef struct _Widget { + int set; char *name; unsigned int num_widgets; @@ -62,9 +63,9 @@ void rofi_theme_parse_file ( const char *file ); * Public API */ -int rofi_theme_get_integer ( const char *name, const char *property, int def ); -int rofi_theme_get_boolean ( const char *name, const char *property, int def ); -char *rofi_theme_get_string ( const char *name, const char *property, char *def ); -double rofi_theme_get_double ( const char *name, const char *property, double def ); +int rofi_theme_get_integer ( const char *wclass, const char *name, const char *state, const char *property, int def ); +int rofi_theme_get_boolean ( const char *wclass, const char *name, const char *state, const char *property, int def ); +char *rofi_theme_get_string ( const char *wclass, const char *name, const char *state, const char *property, char *def ); +double rofi_theme_get_double ( const char *wclass, const char *name, const char *state, const char *property, double def ); void rofi_theme_get_color ( const char *wclass, const char *name, const char *state, const char *property, cairo_t *d); #endif |