From ea435b99a804b755312bcbb9371faa4c0111d43e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 14 Feb 2008 10:47:49 +0100 Subject: Introducing the icon cache. If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya! --- render/theme.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'render/theme.h') diff --git a/render/theme.h b/render/theme.h index 9f51fabd..5b4e785e 100644 --- a/render/theme.h +++ b/render/theme.h @@ -106,7 +106,9 @@ struct _RrTheme { gchar menu_text_disabled_selected_shadow_alpha; /* style settings - pics */ - RrPixel32 *def_win_icon; /* 48x48 RGBA */ + RrPixel32 *def_win_icon; /* RGBA */ + gint def_win_icon_w; + gint def_win_icon_h; /* style settings - masks */ RrPixmapMask *max_mask; -- cgit v1.2.3