]> Dogcows Code - chaz/openbox/commitdiff
make default masks even sized. these are from the clearlooks theme, probably from...
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 23:08:30 +0000 (23:08 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 23:08:30 +0000 (23:08 +0000)
render/theme.c

index 1dd49caf4a3462d846d36d2f756336376a69d7a9..8051a3afdb8a98228d0de715da9dcc485bbd5c89 100644 (file)
@@ -445,12 +445,12 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
             theme->max_hover_mask = RrPixmapMaskCopy(theme->max_mask);
     } else {
         {
-            guchar data[] = { 0x7f, 0x7f, 0x7f, 0x41, 0x41, 0x41, 0x7f };
-            theme->max_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x3f, 0x3f, 0x21, 0x21, 0x21, 0x3f };
+            theme->max_mask = RrPixmapMaskNew(inst, 6, 6, (gchar*)data);
         }
         {
-            guchar data[] = { 0x7c, 0x44, 0x47, 0x47, 0x7f, 0x1f, 0x1f };
-            theme->max_toggled_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x3e, 0x22, 0x2f, 0x29, 0x39, 0x0f };
+            theme->max_toggled_mask = RrPixmapMaskNew(inst, 6, 6,(gchar*)data);
         }
         theme->max_pressed_mask = RrPixmapMaskCopy(theme->max_mask);
         theme->max_disabled_mask = RrPixmapMaskCopy(theme->max_mask);
@@ -474,8 +474,8 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
             theme->iconify_hover_mask = RrPixmapMaskCopy(theme->iconify_mask);
     } else {
         {
-            guchar data[] = { 0x00, 0x00, 0x00, 0x00, 0x7f, 0x7f, 0x7f };
-            theme->iconify_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x00, 0x00, 0x00, 0x00, 0x3f, 0x3f };
+            theme->iconify_mask = RrPixmapMaskNew(inst, 6, 6, (gchar*)data);
         }
         theme->iconify_pressed_mask = RrPixmapMaskCopy(theme->iconify_mask);
         theme->iconify_disabled_mask = RrPixmapMaskCopy(theme->iconify_mask);
@@ -506,13 +506,12 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
             theme->desk_hover_mask = RrPixmapMaskCopy(theme->desk_mask);
     } else {
         {
-            guchar data[] = { 0x63, 0x63, 0x00, 0x00, 0x00, 0x63, 0x63 };
-            theme->desk_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x33, 0x33, 0x00, 0x00, 0x33, 0x33 };
+            theme->desk_mask = RrPixmapMaskNew(inst, 6, 6, (gchar*)data);
         }
         {
-            guchar data[] = { 0x00, 0x36, 0x36, 0x08, 0x36, 0x36, 0x00 };
-            theme->desk_toggled_mask = RrPixmapMaskNew(inst, 7, 7,
-                                                       (gchar*)data);
+            guchar data[] = { 0x00, 0x1e, 0x1a, 0x16, 0x1e, 0x00 };
+            theme->desk_toggled_mask = RrPixmapMaskNew(inst,6,6,(gchar*)data);
         }
         theme->desk_pressed_mask = RrPixmapMaskCopy(theme->desk_mask);
         theme->desk_disabled_mask = RrPixmapMaskCopy(theme->desk_mask);
@@ -543,13 +542,12 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
             theme->shade_hover_mask = RrPixmapMaskCopy(theme->shade_mask);
     } else {
         {
-            guchar data[] = { 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x00, 0x00 };
-            theme->shade_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00 };
+            theme->shade_mask = RrPixmapMaskNew(inst, 6, 6, (gchar*)data);
         }
         {
-            guchar data[] = { 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x00, 0x7f };
-            theme->shade_toggled_mask = RrPixmapMaskNew(inst, 7, 7,
-                                                        (gchar*)data);
+            guchar data[] = { 0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00 };
+            theme->shade_toggled_mask = RrPixmapMaskNew(inst,6,6,(gchar*)data);
         }
         theme->shade_pressed_mask = RrPixmapMaskCopy(theme->shade_mask);
         theme->shade_disabled_mask = RrPixmapMaskCopy(theme->shade_mask);
@@ -569,8 +567,8 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
             theme->close_hover_mask = RrPixmapMaskCopy(theme->close_mask);
     } else {
         {
-            guchar data[] = { 0x63, 0x77, 0x3e, 0x1c, 0x3e, 0x77, 0x63 };
-            theme->close_mask = RrPixmapMaskNew(inst, 7, 7, (gchar*)data);
+            guchar data[] = { 0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 };
+            theme->close_mask = RrPixmapMaskNew(inst, 6, 6, (gchar*)data);
         }
         theme->close_pressed_mask = RrPixmapMaskCopy(theme->close_mask);
         theme->close_disabled_mask = RrPixmapMaskCopy(theme->close_mask);
This page took 0.026142 seconds and 4 git commands to generate.