be a bit more explicit about what is being copied from one texture to another
This commit is contained in:
parent
1e427a3358
commit
2288da0ae3
1 changed files with 9 additions and 4 deletions
|
@ -1050,16 +1050,21 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
|
||||||
theme->osd_hilite_label->texture[0].data.text.shadow_alpha =
|
theme->osd_hilite_label->texture[0].data.text.shadow_alpha =
|
||||||
theme->osd_text_active_shadow_alpha;
|
theme->osd_text_active_shadow_alpha;
|
||||||
|
|
||||||
theme->osd_unpressed_button->texture[0] =
|
theme->osd_unpressed_button->texture[0].type =
|
||||||
theme->osd_pressed_button->texture[0] =
|
theme->osd_pressed_button->texture[0].type =
|
||||||
theme->osd_focused_button->texture[0] =
|
theme->osd_focused_button->texture[0].type =
|
||||||
theme->osd_hilite_label->texture[0];
|
RR_TEXTURE_TEXT;
|
||||||
|
|
||||||
theme->osd_unpressed_button->texture[0].data.text.justify =
|
theme->osd_unpressed_button->texture[0].data.text.justify =
|
||||||
theme->osd_pressed_button->texture[0].data.text.justify =
|
theme->osd_pressed_button->texture[0].data.text.justify =
|
||||||
theme->osd_focused_button->texture[0].data.text.justify =
|
theme->osd_focused_button->texture[0].data.text.justify =
|
||||||
RR_JUSTIFY_CENTER;
|
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_button->texture[0].data.text.color =
|
||||||
theme->osd_unpressed_color;
|
theme->osd_unpressed_color;
|
||||||
theme->osd_pressed_button->texture[0].data.text.color =
|
theme->osd_pressed_button->texture[0].data.text.color =
|
||||||
|
|
Loading…
Reference in a new issue