|
ubit
|
[Implementation] manages the stack of menus that are currently opened on a given EventFlow. More...
#include <umenuImpl.hpp>
Public Member Functions | |
| UMenuManager (UEventFlow *) | |
| UMenu * | getDeepestMenu () const |
| returns the deepest menu in the menu stack (if any, null otherwise). | |
| bool | contains (UMenu *menu) const |
| bool | contains (UView *) const |
| void | closeAllMenus (bool clear_top_menu) |
| closes all menus in the menu stack. | |
| void | closeSubMenus (UMenu *from_menu, bool including_this_menu) |
| closes the submenus of this menu (calls closeAllMenus if menu is not found). | |
| void | openMenu (UView *opener, UMenu *, UDisp *) |
| void | openMenuAfterDelay () |
| void | closeMenuAfterDelay () |
| void | menuChildCB (UInputEvent &, UBox *menu_or_menubar) |
Protected Attributes | |
| std::vector< UMenu * > | menustack |
| int | menu_count |
| UDisp * | disp |
| UEventFlow & | eflow |
| UView * | active_opener |
| UView * | possible_opener |
| UView * | possible_closer |
| UMenu * | active_menu |
| UMenu * | possible_opener_menu |
| UMenu * | possible_closer_menu |
| uptr< UTimer > | kk_open_timer |
| uptr< UTimer > | kk_close_timer |
| UBox * | top_menu |
Friends | |
| class | UMenu |
| class | UMenubar |
| class | UEventFlow |
[Implementation] manages the stack of menus that are currently opened on a given EventFlow.
1.8.12