diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-01 16:37:21 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-01 16:37:21 +0000 |
| commit | 06252b307676bd02f3eb74ea43ebcc4cbaddd3da (patch) | |
| tree | 6f4838d726336c796c20e5e2d241f75acb4ecac6 /render | |
| parent | bdfb4e3535393d8597ee013763b53f2fe7e855a3 (diff) | |
rename back the app_selected appearances to app_hilite
Diffstat (limited to 'render')
| -rw-r--r-- | render/theme.c | 48 | ||||
| -rw-r--r-- | render/theme.h | 8 |
2 files changed, 28 insertions, 28 deletions
diff --git a/render/theme.c b/render/theme.c index cd867742..e9853754 100644 --- a/render/theme.c +++ b/render/theme.c @@ -68,10 +68,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) theme->a_clear = RrAppearanceNew(inst, 0); theme->a_clear_tex = RrAppearanceNew(inst, 1); - theme->app_selected_bg = RrAppearanceNew(inst, 0); - theme->app_unselected_bg = RrAppearanceNew(inst, 0); - theme->app_selected_label = RrAppearanceNew(inst, 1); - theme->app_unselected_label = RrAppearanceNew(inst, 1); + theme->app_hilite_bg = RrAppearanceNew(inst, 0); + theme->app_unhilite_bg = RrAppearanceNew(inst, 0); + theme->app_hilite_label = RrAppearanceNew(inst, 1); + theme->app_unhilite_label = RrAppearanceNew(inst, 1); if (name) { db = loaddb(theme, name); @@ -464,21 +464,21 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) /* read the appearances for rendering non-decorations */ if (!read_appearance(db, inst, - "window.title.focus", theme->app_selected_bg, + "window.title.focus", theme->app_hilite_bg, FALSE)) - set_default_appearance(theme->app_selected_bg); + set_default_appearance(theme->app_hilite_bg); if (!read_appearance(db, inst, - "window.label.focus", theme->app_selected_label, + "window.label.focus", theme->app_hilite_label, TRUE)) - set_default_appearance(theme->app_selected_label); + set_default_appearance(theme->app_hilite_label); if (!read_appearance(db, inst, - "window.title.unfocus", theme->app_unselected_bg, + "window.title.unfocus", theme->app_unhilite_bg, FALSE)) - set_default_appearance(theme->app_unselected_bg); + set_default_appearance(theme->app_unhilite_bg); if (!read_appearance(db, inst, - "window.label.unfocus", theme->app_unselected_label, + "window.label.unfocus", theme->app_unhilite_label, TRUE)) - set_default_appearance(theme->app_unselected_label); + set_default_appearance(theme->app_unhilite_label); /* read buttons textures */ if (!read_appearance(db, inst, @@ -633,26 +633,26 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name) /* set up the textures */ theme->a_focused_label->texture[0].type = - theme->app_selected_label->texture[0].type = RR_TEXTURE_TEXT; + theme->app_hilite_label->texture[0].type = RR_TEXTURE_TEXT; theme->a_focused_label->texture[0].data.text.justify = winjust; - theme->app_selected_label->texture[0].data.text.justify = RR_JUSTIFY_LEFT; + theme->app_hilite_label->texture[0].data.text.justify = RR_JUSTIFY_LEFT; theme->a_focused_label->texture[0].data.text.font = - theme->app_selected_label->texture[0].data.text.font = + theme->app_hilite_label->texture[0].data.text.font = theme->winfont_focused; theme->a_focused_label->texture[0].data.text.color = - theme->app_selected_label->texture[0].data.text.color = + theme->app_hilite_label->texture[0].data.text.color = theme->title_focused_color; theme->a_unfocused_label->texture[0].type = - theme->app_unselected_label->texture[0].type = RR_TEXTURE_TEXT; + theme->app_unhilite_label->texture[0].type = RR_TEXTURE_TEXT; theme->a_unfocused_label->texture[0].data.text.justify = winjust; - theme->app_unselected_label->texture[0].data.text.justify = + theme->app_unhilite_label->texture[0].data.text.justify = RR_JUSTIFY_LEFT; theme->a_unfocused_label->texture[0].data.text.font = - theme->app_unselected_label->texture[0].data.text.font = + theme->app_unhilite_label->texture[0].data.text.font = theme->winfont_unfocused; theme->a_unfocused_label->texture[0].data.text.color = - theme->app_unselected_label->texture[0].data.text.color = + theme->app_unhilite_label->texture[0].data.text.color = theme->title_unfocused_color; theme->a_menu_title->texture[0].type = RR_TEXTURE_TEXT; @@ -987,10 +987,10 @@ void RrThemeFree(RrTheme *theme) RrAppearanceFree(theme->a_menu_text_selected); RrAppearanceFree(theme->a_clear); RrAppearanceFree(theme->a_clear_tex); - RrAppearanceFree(theme->app_selected_bg); - RrAppearanceFree(theme->app_unselected_bg); - RrAppearanceFree(theme->app_selected_label); - RrAppearanceFree(theme->app_unselected_label); + RrAppearanceFree(theme->app_hilite_bg); + RrAppearanceFree(theme->app_unhilite_bg); + RrAppearanceFree(theme->app_hilite_label); + RrAppearanceFree(theme->app_unhilite_label); } } diff --git a/render/theme.h b/render/theme.h index b4d7cd1d..c93eb843 100644 --- a/render/theme.h +++ b/render/theme.h @@ -153,10 +153,10 @@ struct _RrTheme { RrAppearance *a_clear; /* clear with no texture */ RrAppearance *a_clear_tex; /* clear with a texture */ - RrAppearance *app_selected_bg; - RrAppearance *app_unselected_bg; - RrAppearance *app_selected_label; - RrAppearance *app_unselected_label; + RrAppearance *app_hilite_bg; + RrAppearance *app_unhilite_bg; + RrAppearance *app_hilite_label; + RrAppearance *app_unhilite_label; }; |
