From 185d1337e553283530e23b1edff3bb709f04e9bb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 16 Apr 2003 18:09:11 +0000 Subject: menus works on some level. add a built-in root menu --- openbox/menu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/menu.h') diff --git a/openbox/menu.h b/openbox/menu.h index 2371dee0..32944b79 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -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 -- cgit v1.2.3