]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.h
sync before removing all the enter events. this way it actually catches them
[chaz/openbox] / openbox / menu.h
index b0f39b7b53b9b4258bc615e355e10cb6d15bd12e..f6c334172c13cbb8c2ee0fa596f8316e52726c1a 100644 (file)
@@ -42,6 +42,9 @@ struct _ObMenu
     ObMenuUpdateFunc update_func;
     ObMenuExecuteFunc execute_func;
     ObMenuDestroyFunc destroy_func;
+
+    /* Pipe-menu parent, we get destroyed when it is destroyed */
+    ObMenu *pipe_creator;
 };
 
 typedef enum
@@ -64,6 +67,12 @@ struct _ObNormalMenuEntry {
     gint icon_width;
     gint icon_height;
     RrPixel32 *icon_data;
+
+    /* Mask icon */
+    RrPixmapMask *mask;
+    RrColor *mask_normal_color;
+    RrColor *mask_disabled_color;
+    RrColor *mask_selected_color;
 };
 
 struct _ObSubmenuMenuEntry {
@@ -89,8 +98,8 @@ struct _ObMenuEntry
     } data;
 };
 
-void menu_startup();
-void menu_shutdown();
+void menu_startup(gboolean reconfig);
+void menu_shutdown(gboolean reconfig);
 
 ObMenu* menu_new(gchar *name, gchar *title, gpointer data);
 void menu_free(ObMenu *menu);
This page took 0.020275 seconds and 4 git commands to generate.