#include <ui_events.h>


Public Types | |
| enum class | Type { Cursor , Selection , Zoom , Mode , Message , Clear } |
Static Public Member Functions | |
| static StatusUpdateEvent | Cursor (int x, int y, const std::string &label="Pos") |
| static StatusUpdateEvent | Selection (int count, int width=0, int height=0) |
| static StatusUpdateEvent | ClearAll () |
Public Attributes | |
| Type | type |
| std::string | text |
| int | x = 0 |
| int | y = 0 |
| int | count = 0 |
| int | width = 0 |
| int | height = 0 |
| float | zoom = 1.0f |
| std::string | key |
Additional Inherited Members | |
Public Member Functions inherited from yaze::Event | |
| virtual | ~Event ()=default |
Definition at line 9 of file ui_events.h.
|
strong |
| Enumerator | |
|---|---|
| Cursor | |
| Selection | |
| Zoom | |
| Mode | |
| Message | |
| Clear | |
Definition at line 10 of file ui_events.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 44 of file ui_events.h.
| Type yaze::editor::StatusUpdateEvent::type |
Definition at line 19 of file ui_events.h.
Referenced by ClearAll(), Cursor(), yaze::editor::StatusBar::HandleStatusUpdate(), and Selection().
| std::string yaze::editor::StatusUpdateEvent::text |
Definition at line 20 of file ui_events.h.
Referenced by Cursor(), and yaze::editor::StatusBar::HandleStatusUpdate().
| int yaze::editor::StatusUpdateEvent::x = 0 |
Definition at line 21 of file ui_events.h.
Referenced by Cursor(), and yaze::editor::StatusBar::HandleStatusUpdate().
| int yaze::editor::StatusUpdateEvent::y = 0 |
Definition at line 21 of file ui_events.h.
Referenced by Cursor(), and yaze::editor::StatusBar::HandleStatusUpdate().
| int yaze::editor::StatusUpdateEvent::count = 0 |
Definition at line 22 of file ui_events.h.
Referenced by yaze::editor::StatusBar::HandleStatusUpdate(), and Selection().
| int yaze::editor::StatusUpdateEvent::width = 0 |
Definition at line 22 of file ui_events.h.
Referenced by yaze::editor::StatusBar::HandleStatusUpdate(), and Selection().
| int yaze::editor::StatusUpdateEvent::height = 0 |
Definition at line 22 of file ui_events.h.
Referenced by yaze::editor::StatusBar::HandleStatusUpdate(), and Selection().
| float yaze::editor::StatusUpdateEvent::zoom = 1.0f |
Definition at line 23 of file ui_events.h.
Referenced by yaze::editor::StatusBar::HandleStatusUpdate().
| std::string yaze::editor::StatusUpdateEvent::key |
Definition at line 24 of file ui_events.h.