add booleans
This commit is contained in:
parent
ddb5d43edc
commit
6cebd34855
2 changed files with 4 additions and 2 deletions
|
@ -35,7 +35,7 @@ void config_startup()
|
|||
"Titlebar Font",
|
||||
"The fontstring specifying the font to "
|
||||
"be used in window titlebars."));
|
||||
config_def_set(config_def_new("font.shadow", Config_Integer,
|
||||
config_def_set(config_def_new("font.shadow", Config_Bool,
|
||||
"Titlebar Font Shadow",
|
||||
"Whether or not the text in the window "
|
||||
"titlebars gets a drop shadow."));
|
||||
|
|
|
@ -5,12 +5,14 @@
|
|||
|
||||
typedef enum {
|
||||
Config_String,
|
||||
Config_Integer
|
||||
Config_Integer,
|
||||
Config_Bool
|
||||
} ConfigValueType;
|
||||
|
||||
typedef union {
|
||||
char *string;
|
||||
int integer;
|
||||
gboolean bool;
|
||||
} ConfigValue;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in a new issue