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",
|
"Titlebar Font",
|
||||||
"The fontstring specifying the font to "
|
"The fontstring specifying the font to "
|
||||||
"be used in window titlebars."));
|
"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",
|
"Titlebar Font Shadow",
|
||||||
"Whether or not the text in the window "
|
"Whether or not the text in the window "
|
||||||
"titlebars gets a drop shadow."));
|
"titlebars gets a drop shadow."));
|
||||||
|
|
|
@ -5,12 +5,14 @@
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
Config_String,
|
Config_String,
|
||||||
Config_Integer
|
Config_Integer,
|
||||||
|
Config_Bool
|
||||||
} ConfigValueType;
|
} ConfigValueType;
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
char *string;
|
char *string;
|
||||||
int integer;
|
int integer;
|
||||||
|
gboolean bool;
|
||||||
} ConfigValue;
|
} ConfigValue;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in a new issue