#include <menu.h>
◆ ~Menu()
virtual tram::Ext::Menu::Menu::~Menu |
( |
| ) |
|
|
virtualdefault |
◆ Add()
void tram::Ext::Menu::Menu::Add |
( |
Menu * |
menu | ) |
|
|
static |
◆ Clear()
void tram::Ext::Menu::Menu::Clear |
( |
| ) |
|
|
static |
Clears the menu stack.
This will behave as if Menu::Pop() was called until the menu stack was empty.
- Note
- All of the menus in the stack will be
delete
ed.
◆ Display()
virtual void tram::Ext::Menu::Menu::Display |
( |
| ) |
|
|
pure virtual |
Implemented in tram::Ext::Kitchensink::ListDialog, tram::Ext::Menu::DebugMenu, tram::Ext::Menu::EntityProperties, tram::Ext::Menu::EntityPicker, tram::Ext::Menu::ListSelection, tram::Ext::Menu::MessageSend, tram::Ext::Menu::InterceptMenu, tram::Ext::Menu::WorldCellProperties, tram::Ext::Menu::StatisticsMenu, tram::Ext::Menu::EventEmit, tram::Ext::Menu::SignalMenu, tram::Ext::Menu::Options, tram::Ext::Menu::Console, tram::Ext::Menu::SystemMenu, and tram::Ext::Menu::SettingsMenu.
◆ Empty()
bool tram::Ext::Menu::Menu::Empty |
( |
| ) |
|
|
static |
Checks whether the menu stack is empty.
- Returns
- True if it is empty.
◆ Layer()
virtual uint32_t tram::Ext::Menu::Menu::Layer |
( |
| ) |
|
|
pure virtual |
Implemented in tram::Ext::Kitchensink::ListDialog, tram::Ext::Menu::DebugMenu, tram::Ext::Menu::EntityProperties, tram::Ext::Menu::EntityPicker, tram::Ext::Menu::ListSelection, tram::Ext::Menu::MessageSend, tram::Ext::Menu::InterceptMenu, tram::Ext::Menu::WorldCellProperties, tram::Ext::Menu::StatisticsMenu, tram::Ext::Menu::EventEmit, tram::Ext::Menu::SignalMenu, tram::Ext::Menu::Options, tram::Ext::Menu::Console, tram::Ext::Menu::SystemMenu, and tram::Ext::Menu::SettingsMenu.
◆ Pop()
bool tram::Ext::Menu::Menu::Pop |
( |
| ) |
|
|
static |
Pops the topmost menu from the stack.
- Note
- The menu will be
delete
d after removing it from the stack.
- Returns
- True if a menu was popped, false if stack was empty.
◆ Push()
void tram::Ext::Menu::Menu::Push |
( |
Menu * |
menu | ) |
|
|
static |
Pushes menu on the menu stack.
◆ Remove()
void tram::Ext::Menu::Menu::Remove |
( |
Menu * |
menu | ) |
|
|
static |
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/extensions/menu/menu.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/extensions/menu/menu.cpp