]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.h
menus works on some level. add a built-in root menu
[chaz/openbox] / openbox / menu.h
index 2371dee011d01ad8f2ea3552a24f1e62e4b95d56..32944b79a763d4fc54613e10bffbfaf3de1ba81d 100644 (file)
@@ -30,6 +30,7 @@ typedef struct Menu {
 
 
     /* render stuff */
+    Client *client;
     Window frame;
     Window title;
     Appearance *a_title;
@@ -79,6 +80,7 @@ Menu *menu_new(char *label, char *name, Menu *parent);
 void menu_free(char *name);
 
 void menu_show(char *name, int x, int y, Client *client);
+void menu_hide(Menu *self);
 
 MenuEntry *menu_entry_new_full(char *label, Action *action,
                                MenuEntryRenderType render_type,
@@ -97,4 +99,6 @@ MenuEntry *menu_find_entry(Menu *menu, Window win);
 
 void menu_entry_render(MenuEntry *self);
 
+void menu_entry_fire(MenuEntry *self);
+
 #endif
This page took 0.020086 seconds and 4 git commands to generate.