|
| void | MenuManager () |
| void | ~MenuManager () |
| proto external MenuBase | FindMenuByPreset (ScriptMenuPresetEnum preset) |
| | Finds first menu/dialog with given preset index, or nullptr when there is no such menu opened.
|
| proto external MenuBase | FindMenuByUserData (int userId) |
| | Finds first menu/dialog with given user id, or nullptr when there is no such menu opened.
|
| proto external MenuBase | GetTopMenu () |
| | Returns most top opened menu or nullptr when no menu is opened.
|
| proto external MenuBase | GetOwnerMenu (Widget w) |
| | Return owner menu of Widget.
|
| proto external bool | IsAnyMenuOpen () |
| proto external bool | IsAnyDialogOpen () |
| proto external bool | CloseMenuByPreset (ScriptMenuPresetEnum preset) |
| | Put menu with given iPresetId into queue for closing (which is processed during next MenuManeger update).
|
| proto external bool | CloseMenuByUserData (int userId) |
| | Put menu with given iUserId into queue for closing (which is processed during next MenuManeger update).
|
| proto external bool | CloseMenu (MenuBase menu) |
| | Put menu into queue for closing (which is processed during next MenuManeger update).
|
| proto external int | CloseAllMenus () |
| | Put all menus into queue for closing (which is processed during next MenuManeger update), returns count of opened menus.
|
| proto external MenuBase | OpenMenu (ScriptMenuPresetEnum preset, int userId=0, bool unique=false, bool hideParentMenu=true) |
| proto external MenuBase | OpenDialog (ScriptMenuPresetEnum preset, int priority=DialogPriority.INFORMATIVE, int iUserData=0, bool unique=false) |
| void | MenuManager () |
| void | ~MenuManager () |
| proto external MenuBase | FindMenuByPreset (ScriptMenuPresetEnum preset) |
| | Finds first menu/dialog with given preset index, or nullptr when there is no such menu opened.
|
| proto external MenuBase | FindMenuByUserData (int userId) |
| | Finds first menu/dialog with given user id, or nullptr when there is no such menu opened.
|
| proto external MenuBase | GetTopMenu () |
| | Returns most top opened menu or nullptr when no menu is opened.
|
| proto external MenuBase | GetOwnerMenu (Widget w) |
| | Return owner menu of Widget.
|
| proto external bool | IsAnyMenuOpen () |
| proto external bool | IsAnyDialogOpen () |
| proto external bool | CloseMenuByPreset (ScriptMenuPresetEnum preset) |
| | Put menu with given iPresetId into queue for closing (which is processed during next MenuManeger update).
|
| proto external bool | CloseMenuByUserData (int userId) |
| | Put menu with given iUserId into queue for closing (which is processed during next MenuManeger update).
|
| proto external bool | CloseMenu (MenuBase menu) |
| | Put menu into queue for closing (which is processed during next MenuManeger update).
|
| proto external int | CloseAllMenus () |
| | Put all menus into queue for closing (which is processed during next MenuManeger update), returns count of opened menus.
|
| proto external MenuBase | OpenMenu (ScriptMenuPresetEnum preset, int userId=0, bool unique=false, bool hideParentMenu=true) |
| proto external MenuBase | OpenDialog (ScriptMenuPresetEnum preset, int priority=DialogPriority.INFORMATIVE, int iUserData=0, bool unique=false) |
Definition at line 12 of file MenuManager.c.