diff options
Diffstat (limited to 'render/theme.c')
| -rw-r--r-- | render/theme.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/render/theme.c b/render/theme.c index 877d2f12..29f0663c 100644 --- a/render/theme.c +++ b/render/theme.c @@ -165,6 +165,14 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) &theme->title_unfocused_color)) theme->title_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); if (!read_color(db, inst, + "window.button.focus.picColor", + &theme->titlebut_focused_color)) + theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0); + if (!read_color(db, inst, + "window.button.unfocus.picColor", + &theme->titlebut_unfocused_color)) + theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); + if (!read_color(db, inst, "window.button.disabled.focus.picColor", &theme->titlebut_disabled_focused_color)) theme->titlebut_disabled_focused_color = @@ -174,14 +182,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) &theme->titlebut_disabled_unfocused_color)) theme->titlebut_disabled_unfocused_color = RrColorNew(inst, 0, 0, 0); if (!read_color(db, inst, - "window.button.focus.picColor", - &theme->titlebut_focused_color)) - theme->titlebut_focused_color = RrColorNew(inst, 0, 0, 0); - if (!read_color(db, inst, - "window.button.unfocus.picColor", - &theme->titlebut_unfocused_color)) - theme->titlebut_unfocused_color = RrColorNew(inst, 0xff, 0xff, 0xff); - if (!read_color(db, inst, "menu.title.textColor", &theme->menu_title_color)) theme->menu_title_color = RrColorNew(inst, 0, 0, 0); if (!read_color(db, inst, |
