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 353 of file core_events.h.
|
strong |
Definition at line 354 of file core_events.h.
|
inlinestatic |
Definition at line 375 of file core_events.h.
References action, and session_id.
Referenced by OpenRom(), Redo(), SaveRom(), ShowAgentChatSidebar(), ShowAgentProposalsSidebar(), ShowCommandPalette(), ShowEmulator(), ShowSettings(), yaze::editor::WorkspaceWindowManager::TriggerResetLayout(), yaze::editor::WorkspaceWindowManager::TriggerShowHelp(), yaze::editor::WorkspaceWindowManager::TriggerShowSearch(), yaze::editor::WorkspaceWindowManager::TriggerShowShortcuts(), yaze::editor::WorkspaceWindowManager::TriggerShowWindowBrowser(), and Undo().
|
inlinestatic |
Definition at line 383 of file core_events.h.
References Create(), and kShowEmulator.
Referenced by yaze::editor::WorkspaceWindowManager::TriggerShowEmulator().

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

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

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

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

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

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

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

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

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