diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-03-16 16:44:24 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-03-16 16:44:24 +0100 |
commit | cb1a825cc35f5e4ba8533bd53a233faedc7db56c (patch) | |
tree | 06650211192bb2e379f2ec7201b90d9bb852d132 /gtk/gtkwin32theme.c | |
parent | 30fb1e0256892886c22f7bfaebfa9a4ebc650473 (diff) | |
download | gtk+-cb1a825cc35f5e4ba8533bd53a233faedc7db56c.tar.gz |
win32: Theme statusbars
Diffstat (limited to 'gtk/gtkwin32theme.c')
-rw-r--r-- | gtk/gtkwin32theme.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkwin32theme.c b/gtk/gtkwin32theme.c index 8e28f97432..a9e0193d1a 100644 --- a/gtk/gtkwin32theme.c +++ b/gtk/gtkwin32theme.c @@ -36,6 +36,7 @@ static HTHEME needs_alpha_fixup2 = NULL; static HTHEME needs_alpha_fixup3 = NULL; static HTHEME needs_alpha_fixup4 = NULL; static HTHEME needs_alpha_fixup5 = NULL; +static HTHEME needs_alpha_fixup6 = NULL; typedef HRESULT (FAR PASCAL *GetThemeSysFontFunc) (HTHEME hTheme, int iFontID, OUT LOGFONTW *plf); typedef int (FAR PASCAL *GetThemeSysSizeFunc) (HTHEME hTheme, int iSizeId); @@ -148,6 +149,7 @@ _gtk_win32_theme_init (void) needs_alpha_fixup3 = _gtk_win32_lookup_htheme_by_classname ("button"); needs_alpha_fixup4 = _gtk_win32_lookup_htheme_by_classname ("header"); needs_alpha_fixup5 = _gtk_win32_lookup_htheme_by_classname ("trackbar"); + needs_alpha_fixup6 = _gtk_win32_lookup_htheme_by_classname ("status"); } } @@ -262,7 +264,8 @@ _gtk_win32_theme_part_create_surface (HTHEME theme, theme == needs_alpha_fixup2 || (theme == needs_alpha_fixup3 && xp_part == 4) || theme == needs_alpha_fixup4 || - theme == needs_alpha_fixup5)) + theme == needs_alpha_fixup5 || + theme == needs_alpha_fixup6)) { cairo_surface_t *img = cairo_win32_surface_get_image (surface); guint32 *data = (guint32 *)cairo_image_surface_get_data (img); |