|
GigaPasjans
|
Represents a text-action object. More...
#include <Screen.h>

Public Member Functions | |
| MenuEntry (const WideString &display, const String &id, const std::function< void()> &action) | |
| void | Register (Andromenda::Surface &surface) |
| Registers associated component. | |
Public Attributes | |
| WideString | Display |
| Display text of an entry. | |
| String | Id |
| Identifier used to register component. | |
| Andromenda::SelectionTextComponent * | Component |
| Component associated with this entry. | |
| std::function< void()> | Action |
| Callback that will be called when user select this entry. | |
Represents a text-action object.
|
inline |
Registers associated component.
| surface |