Need to allocate appearances!
[dana/openbox.git] / obrender / theme.c
index 03372f7..8481eee 100644 (file)
@@ -183,6 +183,50 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
     theme->a_focused_pressed_max = RrAppearanceNew(inst, 1);
     theme->a_unfocused_unpressed_max = RrAppearanceNew(inst, 1);
     theme->a_unfocused_pressed_max = RrAppearanceNew(inst, 1);
+    theme->a_disabled_focused_desk = RrAppearanceNew(inst, 1);
+    theme->a_disabled_unfocused_desk = RrAppearanceNew(inst, 1);
+    theme->a_hover_focused_desk = RrAppearanceNew(inst, 1);
+    theme->a_hover_unfocused_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_focused_unpressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_unfocused_unpressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_hover_focused_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_hover_unfocused_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_focused_pressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_toggled_unfocused_pressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_focused_unpressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_focused_pressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_unpressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_pressed_desk = RrAppearanceNew(inst, 1);
+    theme->a_disabled_focused_shade = RrAppearanceNew(inst, 1);
+    theme->a_disabled_unfocused_shade = RrAppearanceNew(inst, 1);
+    theme->a_hover_focused_shade = RrAppearanceNew(inst, 1);
+    theme->a_hover_unfocused_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_focused_unpressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_unfocused_unpressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_hover_focused_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_hover_unfocused_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_focused_pressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_toggled_unfocused_pressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_focused_unpressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_focused_pressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_unpressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_pressed_shade = RrAppearanceNew(inst, 1);
+    theme->a_disabled_focused_close = RrAppearanceNew(inst, 1);
+    theme->a_disabled_unfocused_close = RrAppearanceNew(inst, 1);
+    theme->a_hover_focused_close = RrAppearanceNew(inst, 1);
+    theme->a_hover_unfocused_close = RrAppearanceNew(inst, 1);
+    theme->a_focused_unpressed_close = RrAppearanceNew(inst, 1);
+    theme->a_focused_pressed_close = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_unpressed_close = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_pressed_close = RrAppearanceNew(inst, 1);
+    theme->a_disabled_focused_iconify = RrAppearanceNew(inst, 1);
+    theme->a_disabled_unfocused_iconify = RrAppearanceNew(inst, 1);
+    theme->a_hover_focused_iconify = RrAppearanceNew(inst, 1);
+    theme->a_hover_unfocused_iconify = RrAppearanceNew(inst, 1);
+    theme->a_focused_unpressed_iconify = RrAppearanceNew(inst, 1);
+    theme->a_focused_pressed_iconify = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_unpressed_iconify = RrAppearanceNew(inst, 1);
+    theme->a_unfocused_pressed_iconify = RrAppearanceNew(inst, 1);
     theme->a_focused_grip = RrAppearanceNew(inst, 0);
     theme->a_unfocused_grip = RrAppearanceNew(inst, 0);
     theme->a_focused_title = RrAppearanceNew(inst, 0);