diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-07-09 10:40:44 -0700 |
---|---|---|
committer | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-07-09 10:40:44 -0700 |
commit | 25cb540c8b73a044911ef7dab5b57879de1779e9 (patch) | |
tree | 98ba5afa33d41c7c063d8d50d706d55cdd1c57ea /ui/ncurses/nc-menu.h | |
parent | ea0a5877530a801713c80963c918c0a6f4072d8a (diff) | |
download | talos-petitboot-25cb540c8b73a044911ef7dab5b57879de1779e9.tar.gz talos-petitboot-25cb540c8b73a044911ef7dab5b57879de1779e9.zip |
CUI add empty item
Add a CUI hot-key 'o' that opens a new empty menu item.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'ui/ncurses/nc-menu.h')
-rw-r--r-- | ui/ncurses/nc-menu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ncurses/nc-menu.h b/ui/ncurses/nc-menu.h index b487df9..907c328 100644 --- a/ui/ncurses/nc-menu.h +++ b/ui/ncurses/nc-menu.h @@ -77,6 +77,7 @@ struct pmenu { unsigned int insert_pt; int (*hot_key)(struct pmenu *menu, struct pmenu_item *item, int c); void (*on_exit)(struct pmenu *menu); + void (*on_open)(struct pmenu *menu); }; struct pmenu *pmenu_init(void *ui_ctx, unsigned int item_count, |