- if (!FIND(color, L("window","active","label","text","shadow","primary"),
- &theme->title_focused_shadow_color,
- &theme->title_focused_shadow_alpha))
- {
- theme->title_focused_shadow_color = RrColorNew(inst, 0, 0, 0);
- theme->title_focused_shadow_alpha = 50;
- }
- if (!FIND(color, L("osd","text","shadow","primary"),
- &theme->osd_shadow_color, &theme->osd_shadow_alpha))
- {
- theme->osd_shadow_color =
- RrColorNew(inst, theme->title_focused_shadow_color->r,
- theme->title_focused_shadow_color->g,
- theme->title_focused_shadow_color->b);
- theme->osd_shadow_alpha = theme->title_focused_shadow_alpha;
- }
- if (!FIND(color, L("window","inactive","label","text","shadow","primary"),
- &theme->title_unfocused_shadow_color,
- &theme->title_unfocused_shadow_alpha))
- {
- theme->title_unfocused_shadow_color = RrColorNew(inst, 0, 0, 0);
- theme->title_unfocused_shadow_alpha = 50;
- }
- if (!FIND(color, L("menu","title","text","shadow","primary"),
- &theme->menu_title_shadow_color,
- &theme->menu_title_shadow_alpha))
- {
- theme->menu_title_shadow_color = RrColorNew(inst, 0, 0, 0);
- theme->menu_title_shadow_alpha = 50;
- }
- if (!FIND(color, L("menu","inactive","shadow","primary"),
- &theme->menu_text_normal_shadow_color,
- &theme->menu_text_normal_shadow_alpha))
- {
- theme->menu_text_normal_shadow_color = RrColorNew(inst, 0, 0, 0);
- theme->menu_text_normal_shadow_alpha = 50;
- }
- if (!FIND(color, L("menu","active","text","shadow","primary"),
- &theme->menu_text_selected_shadow_color,
- &theme->menu_text_selected_shadow_alpha))
- {
- theme->menu_text_selected_shadow_color = RrColorNew(inst, 0, 0, 0);
- theme->menu_text_selected_shadow_alpha = 50;
- }
- if (!FIND(color, L("menu","disabled","shadow","primary"),
- &theme->menu_text_disabled_shadow_color,
- &theme->menu_text_disabled_shadow_alpha))
- {
- theme->menu_text_disabled_shadow_color =
- RrColorNew(inst, theme->menu_text_normal_shadow_color->r,
- theme->menu_text_normal_shadow_color->g,
- theme->menu_text_normal_shadow_color->b);
- theme->menu_text_disabled_shadow_alpha =
- theme->menu_text_normal_shadow_alpha;
- }
- if (!FIND(color, L("menu","activedisabled","shadow","primary"),
- &theme->menu_text_disabled_selected_shadow_color,
- &theme->menu_text_disabled_selected_shadow_alpha))
- {
- theme->menu_text_disabled_selected_shadow_color =
- RrColorNew(inst, theme->menu_text_disabled_shadow_color->r,
- theme->menu_text_disabled_shadow_color->g,
- theme->menu_text_disabled_shadow_color->b);
- theme->menu_text_disabled_selected_shadow_alpha =
- theme->menu_text_disabled_shadow_alpha;
- }
-