Activity bar or menu action request. More...
#include <core_events.h>


Public Types | |
| enum class | Action { kShowEmulator , kShowSettings , kShowPanelBrowser , kShowSearch , kShowShortcuts , kShowCommandPalette , kShowHelp , kShowAgentChatSidebar , kShowAgentProposalsSidebar , kOpenRom , kSaveRom , kUndo , kRedo , kShowOracleRam , kResetLayout } |
Static Public Member Functions | |
| static UIActionRequestEvent | Create (Action act, size_t session=0) |
| static UIActionRequestEvent | ShowEmulator (size_t session=0) |
| static UIActionRequestEvent | ShowSettings (size_t session=0) |
| static UIActionRequestEvent | ShowCommandPalette (size_t session=0) |
| static UIActionRequestEvent | ShowAgentChatSidebar (size_t session=0) |
| static UIActionRequestEvent | ShowAgentProposalsSidebar (size_t session=0) |
| static UIActionRequestEvent | OpenRom (size_t session=0) |
| static UIActionRequestEvent | SaveRom (size_t session=0) |
| static UIActionRequestEvent | Undo (size_t session=0) |
| static UIActionRequestEvent | Redo (size_t session=0) |
Public Attributes | |
| Action | action |
| size_t | session_id = 0 |
Additional Inherited Members | |
Public Member Functions inherited from yaze::Event | |
| virtual | ~Event ()=default |
Activity bar or menu action request.
Published when user clicks activity bar icons or triggers menu commands. Allows decoupling between UI triggers and action handlers.
Definition at line 346 of file core_events.h.
|
strong |
Definition at line 347 of file core_events.h.
|
inlinestatic |
Definition at line 368 of file core_events.h.
References action, and session_id.
Referenced by OpenRom(), Redo(), SaveRom(), ShowAgentChatSidebar(), ShowAgentProposalsSidebar(), ShowCommandPalette(), ShowEmulator(), ShowSettings(), yaze::editor::PanelManager::TriggerResetLayout(), yaze::editor::PanelManager::TriggerShowHelp(), yaze::editor::PanelManager::TriggerShowPanelBrowser(), yaze::editor::PanelManager::TriggerShowSearch(), yaze::editor::PanelManager::TriggerShowShortcuts(), and Undo().
|
inlinestatic |
Definition at line 376 of file core_events.h.
References Create(), and kShowEmulator.
Referenced by yaze::editor::PanelManager::TriggerShowEmulator().

|
inlinestatic |
Definition at line 379 of file core_events.h.
References Create(), and kShowSettings.
Referenced by yaze::editor::PanelManager::TriggerShowSettings().

|
inlinestatic |
Definition at line 382 of file core_events.h.
References Create(), and kShowCommandPalette.
Referenced by yaze::editor::PanelManager::TriggerShowCommandPalette().

|
inlinestatic |
Definition at line 385 of file core_events.h.
References Create(), and kShowAgentChatSidebar.
Referenced by yaze::editor::PanelManager::TriggerShowAgentChatSidebar().

|
inlinestatic |
Definition at line 388 of file core_events.h.
References Create(), and kShowAgentProposalsSidebar.
Referenced by yaze::editor::PanelManager::TriggerShowAgentProposalsSidebar().

|
inlinestatic |
Definition at line 391 of file core_events.h.
References Create(), and kOpenRom.
Referenced by yaze::editor::PanelManager::TriggerOpenRom().

|
inlinestatic |
Definition at line 394 of file core_events.h.
References Create(), and kSaveRom.
Referenced by yaze::editor::PanelManager::TriggerSaveRom().

|
inlinestatic |
Definition at line 397 of file core_events.h.
References Create(), and kUndo.
Referenced by yaze::editor::PanelManager::TriggerUndo().

|
inlinestatic |
Definition at line 400 of file core_events.h.
References Create(), and kRedo.
Referenced by yaze::editor::PanelManager::TriggerRedo().

| Action yaze::editor::UIActionRequestEvent::action |
Definition at line 365 of file core_events.h.
Referenced by Create().
| size_t yaze::editor::UIActionRequestEvent::session_id = 0 |
Definition at line 366 of file core_events.h.
Referenced by Create().