X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=obrender%2Ftheme.c;h=85cdf4abfb3d5dea1edb5dae340221ab70f94d33;hp=ea49abec84e3e8fa1699850646a55c5617d04d05;hb=ef0bfdc743dfaf783e8d6f776e8391b8546f9598;hpb=177a0340a7eea0955a5b0795bdd4bd55779acf5c diff --git a/obrender/theme.c b/obrender/theme.c index ea49abe..85cdf4a 100644 --- a/obrender/theme.c +++ b/obrender/theme.c @@ -1001,16 +1001,21 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, theme->osd_hilite_label->texture[0].data.text.shadow_alpha = theme->osd_text_active_shadow_alpha; - theme->osd_unpressed_button->texture[0] = - theme->osd_pressed_button->texture[0] = - theme->osd_focused_button->texture[0] = - theme->osd_hilite_label->texture[0]; + theme->osd_unpressed_button->texture[0].type = + theme->osd_pressed_button->texture[0].type = + theme->osd_focused_button->texture[0].type = + RR_TEXTURE_TEXT; theme->osd_unpressed_button->texture[0].data.text.justify = theme->osd_pressed_button->texture[0].data.text.justify = theme->osd_focused_button->texture[0].data.text.justify = RR_JUSTIFY_CENTER; + theme->osd_unpressed_button->texture[0].data.text.font = + theme->osd_pressed_button->texture[0].data.text.font = + theme->osd_focused_button->texture[0].data.text.font = + theme->osd_font_hilite; + theme->osd_unpressed_button->texture[0].data.text.color = theme->osd_unpressed_color; theme->osd_pressed_button->texture[0].data.text.color =