+ if (!read_color(db, inst,
+ "window.button.hover.focus.imageColor",
+ &theme->titlebut_hover_focused_color))
+ theme->titlebut_hover_focused_color =
+ RrColorNew(inst,
+ theme->titlebut_focused_unpressed_color->r,
+ theme->titlebut_focused_unpressed_color->g,
+ theme->titlebut_focused_unpressed_color->b);
+ if (!read_color(db, inst,
+ "window.button.hover.unfocus.imageColor",
+ &theme->titlebut_hover_unfocused_color))
+ theme->titlebut_hover_unfocused_color =
+ RrColorNew(inst,
+ theme->titlebut_unfocused_unpressed_color->r,
+ theme->titlebut_unfocused_unpressed_color->g,
+ theme->titlebut_unfocused_unpressed_color->b);
+ if (!read_color(db, inst,
+ "window.button.toggled.focus.imageColor",
+ &theme->titlebut_toggled_focused_color))
+ theme->titlebut_toggled_focused_color =
+ RrColorNew(inst,
+ theme->titlebut_focused_pressed_color->r,
+ theme->titlebut_focused_pressed_color->g,
+ theme->titlebut_focused_pressed_color->b);
+ if (!read_color(db, inst,
+ "window.button.toggled.unfocus.imageColor",
+ &theme->titlebut_toggled_unfocused_color))
+ theme->titlebut_toggled_unfocused_color =
+ RrColorNew(inst,
+ theme->titlebut_unfocused_pressed_color->r,
+ theme->titlebut_unfocused_pressed_color->g,
+ theme->titlebut_unfocused_pressed_color->b);