diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-16 18:09:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-16 18:09:11 +0000 |
| commit | 185d1337e553283530e23b1edff3bb709f04e9bb (patch) | |
| tree | 20acdcbc0795a4ab333d2ec04aefaa7ecfbd636d /openbox/menu.h | |
| parent | 04cfdd261dd6b8030cd7618aee5df588f25ef4d2 (diff) | |
menus works on some level. add a built-in root menu
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
