diff options
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ted-internal.h b/ted-internal.h index 11bdbcf..bb76a3c 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -447,8 +447,10 @@ struct Ted { MouseRelease *mouse_releases[4]; /// total amount scrolled this frame int scroll_total_x, scroll_total_y; - /// currently open menu, or \ref MENU_NONE if no menu is open. - Menu menu; + MenuInfo *all_menus; + /// index of currently open menu, or 0 if no menu is open + u32 menu_open_idx; + void *menu_context; FileSelector file_selector; Selector command_selector; /// general-purpose line buffer for inputs -- used for menus |