- if (!read_color(db, inst, "osd.button.unpressed.text.color",
- &theme->osd_unpressed_color))
- theme->osd_unpressed_color =
- RrColorNew(inst,
- theme->osd_text_active_color->r,
- theme->osd_text_active_color->g,
- theme->osd_text_active_color->b);
- if (!read_color(db, inst, "osd.button.pressed.text.color",
- &theme->osd_pressed_color))
- theme->osd_pressed_color =
- RrColorNew(inst,
- theme->osd_text_active_color->r,
- theme->osd_text_active_color->g,
- theme->osd_text_active_color->b);
- if (!read_color(db, inst, "osd.button.focused.text.color",
- &theme->osd_focused_color))
- theme->osd_focused_color =
- RrColorNew(inst,
- theme->osd_text_active_color->r,
- theme->osd_text_active_color->g,
- theme->osd_text_active_color->b);
- if (!read_color(db, inst, "osd.button.pressed.box.color",
- &theme->osd_pressed_lineart))
- theme->osd_pressed_lineart =
- 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, "osd.button.focused.box.color",
- &theme->osd_focused_lineart))
- theme->osd_focused_lineart =
- RrColorNew(inst,
- theme->titlebut_hover_focused_color->r,
- theme->titlebut_hover_focused_color->g,
- theme->titlebut_hover_focused_color->b);