yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::UICoordinator Class Reference

Handles all UI drawing operations and state management. More...

#include <ui_coordinator.h>

Public Member Functions

 UICoordinator (EditorManager *editor_manager, RomFileManager &rom_manager, ProjectManager &project_manager, EditorRegistry &editor_registry, PanelManager &card_registry, SessionCoordinator &session_coordinator, WindowDelegate &window_delegate, ToastManager &toast_manager, PopupManager &popup_manager, ShortcutManager &shortcut_manager)
 
 ~UICoordinator ()=default
 
 UICoordinator (const UICoordinator &)=delete
 
UICoordinatoroperator= (const UICoordinator &)=delete
 
void DrawBackground ()
 
void DrawAllUI ()
 
void DrawMenuBarExtras ()
 
void DrawNotificationBell (bool show_dirty, bool has_dirty_rom, bool show_session, bool has_multiple_sessions)
 
void DrawSessionButton ()
 
void DrawCommandPalette ()
 
void DrawPanelFinder ()
 
void DrawGlobalSearch ()
 
void DrawWorkspacePresetDialogs ()
 
void DrawSessionSwitcher ()
 
void DrawSessionManager ()
 
void DrawSessionRenameDialog ()
 
void DrawLayoutPresets ()
 
void DrawWelcomeScreen ()
 
void DrawProjectHelp ()
 
void DrawWindowManagementUI ()
 
void DrawAllPopups ()
 
void ShowPopup (const std::string &popup_name)
 
void HidePopup (const std::string &popup_name)
 
void ShowEditorSelection ()
 
void ShowDisplaySettings ()
 
void ShowSaveWorkspacePresetDialog ()
 
void ShowLoadWorkspacePresetDialog ()
 
void ShowSessionSwitcher ()
 
void TogglePanelSidebar ()
 
void ShowGlobalSearch ()
 
void ShowCommandPalette ()
 
void ShowPanelFinder ()
 
void ShowPanelBrowser ()
 
void InitializeCommandPalette (size_t session_id)
 Initialize command palette with all discoverable commands.
 
void RefreshCommandPalette (size_t session_id)
 Refresh command palette commands (call after session switch)
 
bool IsMenuBarVisible () const
 
void SetMenuBarVisible (bool visible)
 
void ToggleMenuBar ()
 
void DrawMenuBarRestoreButton ()
 
void ShowAllWindows ()
 
void HideAllWindows ()
 
bool IsEditorSelectionVisible () const
 
bool IsDisplaySettingsVisible () const
 
bool IsSessionSwitcherVisible () const
 
bool IsWelcomeScreenVisible () const
 
bool IsWelcomeScreenManuallyClosed () const
 
bool IsGlobalSearchVisible () const
 
bool IsPerformanceDashboardVisible () const
 
bool IsPanelBrowserVisible () const
 
bool IsCommandPaletteVisible () const
 
bool IsPanelSidebarVisible () const
 
bool IsImGuiDemoVisible () const
 
bool IsImGuiMetricsVisible () const
 
bool IsEmulatorVisible () const
 
bool IsMemoryEditorVisible () const
 
bool IsAsmEditorVisible () const
 
bool IsPaletteEditorVisible () const
 
bool IsResourceLabelManagerVisible () const
 
bool IsAIAgentVisible () const
 
bool IsChatHistoryVisible () const
 
bool IsProposalDrawerVisible () const
 
void SetEditorSelectionVisible (bool visible)
 
void SetDisplaySettingsVisible (bool visible)
 
void SetSessionSwitcherVisible (bool visible)
 
void SetWelcomeScreenVisible (bool visible)
 
void SetWelcomeScreenManuallyClosed (bool closed)
 
void SetWelcomeScreenBehavior (StartupVisibility mode)
 
void SetGlobalSearchVisible (bool visible)
 
void SetPerformanceDashboardVisible (bool visible)
 
void SetPanelBrowserVisible (bool visible)
 
void SetCommandPaletteVisible (bool visible)
 
void SetPanelSidebarVisible (bool visible)
 
void SetImGuiDemoVisible (bool visible)
 
void SetImGuiMetricsVisible (bool visible)
 
void SetEmulatorVisible (bool visible)
 
void SetMemoryEditorVisible (bool visible)
 
void SetAsmEditorVisible (bool visible)
 
void SetPaletteEditorVisible (bool visible)
 
void SetResourceLabelManagerVisible (bool visible)
 
void SetDashboardBehavior (StartupVisibility mode)
 
void SetAIAgentVisible (bool visible)
 
StartupSurface GetCurrentStartupSurface () const
 
void SetStartupSurface (StartupSurface surface)
 
bool ShouldShowWelcome () const
 
bool ShouldShowDashboard () const
 
bool ShouldShowActivityBar () const
 
void SetChatHistoryVisible (bool visible)
 
void SetProposalDrawerVisible (bool visible)
 

Private Member Functions

bool DrawMenuBarIconButton (const char *icon, const char *tooltip, bool is_active=false)
 
void DrawMaterialButton (const std::string &text, const std::string &icon, const ImVec4 &color, std::function< void()> callback, bool enabled=true)
 
bool IsCompactLayout () const
 
void CenterWindow (const std::string &window_name)
 
void PositionWindow (const std::string &window_name, float x, float y)
 
void SetWindowSize (const std::string &window_name, float width, float height)
 

Static Private Member Functions

static float GetMenuBarIconButtonWidth ()
 

Private Attributes

EditorManagereditor_manager_
 
RomFileManagerrom_manager_
 
ProjectManagerproject_manager_
 
EditorRegistryeditor_registry_
 
PanelManagerpanel_manager_
 
SessionCoordinatorsession_coordinator_
 
WindowDelegatewindow_delegate_
 
ToastManagertoast_manager_
 
PopupManagerpopup_manager_
 
ShortcutManagershortcut_manager_
 
bool show_editor_selection_ = false
 
bool show_display_settings_ = false
 
bool show_welcome_screen_ = true
 
bool welcome_screen_manually_closed_ = false
 
bool show_global_search_ = false
 
bool show_performance_dashboard_ = false
 
bool show_imgui_demo_ = false
 
bool show_imgui_metrics_ = false
 
bool show_test_dashboard_ = false
 
bool show_panel_browser_ = false
 
bool show_panel_finder_ = false
 
bool show_command_palette_ = false
 
bool show_memory_editor_ = false
 
bool show_asm_editor_ = false
 
bool show_palette_editor_ = false
 
bool show_resource_label_manager_ = false
 
bool show_ai_agent_ = false
 
bool show_chat_history_ = false
 
bool show_proposal_drawer_ = false
 
bool show_save_workspace_preset_ = false
 
bool show_load_workspace_preset_ = false
 
bool show_menu_bar_ = true
 
StartupVisibility welcome_behavior_override_ = StartupVisibility::kAuto
 
StartupVisibility dashboard_behavior_override_ = StartupVisibility::kAuto
 
StartupSurface current_startup_surface_ = StartupSurface::kWelcome
 
CommandPalette command_palette_
 
bool command_palette_initialized_ = false
 
char command_palette_query_ [256] = {}
 
int command_palette_selected_idx_ = 0
 
char panel_finder_query_ [256] = {}
 
int panel_finder_selected_idx_ = 0
 
char global_search_query_ [256] = {}
 
std::unique_ptr< WelcomeScreenwelcome_screen_
 

Detailed Description

Handles all UI drawing operations and state management.

Extracted from EditorManager to provide focused UI coordination:

  • Drawing operations (menus, dialogs, screens)
  • UI state management (visibility, focus, layout)
  • Popup and dialog coordination
  • Welcome screen and session UI
  • Material Design theming and icons

This class follows the Single Responsibility Principle by focusing solely on UI presentation and user interaction, delegating business logic to specialized managers.

Definition at line 57 of file ui_coordinator.h.

Constructor & Destructor Documentation

◆ UICoordinator() [1/2]

◆ ~UICoordinator()

yaze::editor::UICoordinator::~UICoordinator ( )
default

◆ UICoordinator() [2/2]

yaze::editor::UICoordinator::UICoordinator ( const UICoordinator & )
delete

Member Function Documentation

◆ operator=()

UICoordinator & yaze::editor::UICoordinator::operator= ( const UICoordinator & )
delete

◆ DrawBackground()

void yaze::editor::UICoordinator::DrawBackground ( )

Definition at line 200 of file ui_coordinator.cc.

References yaze::gui::BackgroundRenderer::Get(), and yaze::gui::ThemeManager::Get().

Here is the call graph for this function:

◆ DrawAllUI()

◆ DrawMenuBarExtras()

◆ DrawNotificationBell()

◆ DrawSessionButton()

◆ DrawCommandPalette()

◆ DrawPanelFinder()

◆ DrawGlobalSearch()

◆ DrawWorkspacePresetDialogs()

◆ DrawSessionSwitcher()

void yaze::editor::UICoordinator::DrawSessionSwitcher ( )

◆ DrawSessionManager()

void yaze::editor::UICoordinator::DrawSessionManager ( )

◆ DrawSessionRenameDialog()

void yaze::editor::UICoordinator::DrawSessionRenameDialog ( )

◆ DrawLayoutPresets()

void yaze::editor::UICoordinator::DrawLayoutPresets ( )
Todo
[EditorManagerRefactor] Implement full layout preset UI with

Definition at line 737 of file ui_coordinator.cc.

Referenced by DrawAllUI().

◆ DrawWelcomeScreen()

◆ DrawProjectHelp()

void yaze::editor::UICoordinator::DrawProjectHelp ( )
Todo
[EditorManagerRefactor] Implement project help dialog

Definition at line 818 of file ui_coordinator.cc.

Referenced by DrawAllUI().

◆ DrawWindowManagementUI()

void yaze::editor::UICoordinator::DrawWindowManagementUI ( )
Todo
[EditorManagerRefactor] Implement window management dialog

Definition at line 867 of file ui_coordinator.cc.

Referenced by DrawAllUI().

◆ DrawAllPopups()

void yaze::editor::UICoordinator::DrawAllPopups ( )

Definition at line 872 of file ui_coordinator.cc.

References yaze::editor::PopupManager::DrawPopups(), and popup_manager_.

Referenced by DrawAllUI().

Here is the call graph for this function:

◆ ShowPopup()

void yaze::editor::UICoordinator::ShowPopup ( const std::string & popup_name)

Definition at line 877 of file ui_coordinator.cc.

References popup_manager_, and yaze::editor::PopupManager::Show().

Here is the call graph for this function:

◆ HidePopup()

void yaze::editor::UICoordinator::HidePopup ( const std::string & popup_name)

Definition at line 881 of file ui_coordinator.cc.

References yaze::editor::PopupManager::Hide(), and popup_manager_.

Here is the call graph for this function:

◆ ShowEditorSelection()

void yaze::editor::UICoordinator::ShowEditorSelection ( )
inline

Definition at line 106 of file ui_coordinator.h.

References show_editor_selection_.

◆ ShowDisplaySettings()

void yaze::editor::UICoordinator::ShowDisplaySettings ( )

Definition at line 885 of file ui_coordinator.cc.

References yaze::editor::PopupID::kDisplaySettings, popup_manager_, and yaze::editor::PopupManager::Show().

Here is the call graph for this function:

◆ ShowSaveWorkspacePresetDialog()

void yaze::editor::UICoordinator::ShowSaveWorkspacePresetDialog ( )
inline

Definition at line 108 of file ui_coordinator.h.

References show_save_workspace_preset_.

◆ ShowLoadWorkspacePresetDialog()

void yaze::editor::UICoordinator::ShowLoadWorkspacePresetDialog ( )
inline

Definition at line 109 of file ui_coordinator.h.

References show_load_workspace_preset_.

◆ ShowSessionSwitcher()

void yaze::editor::UICoordinator::ShowSessionSwitcher ( )

Definition at line 691 of file ui_coordinator.cc.

References session_coordinator_, and yaze::editor::SessionCoordinator::ShowSessionSwitcher().

Here is the call graph for this function:

◆ TogglePanelSidebar()

void yaze::editor::UICoordinator::TogglePanelSidebar ( )

Definition at line 895 of file ui_coordinator.cc.

References panel_manager_, and yaze::editor::PanelManager::ToggleSidebarVisibility().

Here is the call graph for this function:

◆ ShowGlobalSearch()

void yaze::editor::UICoordinator::ShowGlobalSearch ( )
inline

Definition at line 114 of file ui_coordinator.h.

References show_global_search_.

◆ ShowCommandPalette()

void yaze::editor::UICoordinator::ShowCommandPalette ( )
inline

Definition at line 115 of file ui_coordinator.h.

References show_command_palette_.

◆ ShowPanelFinder()

void yaze::editor::UICoordinator::ShowPanelFinder ( )
inline

Definition at line 116 of file ui_coordinator.h.

References show_panel_finder_.

◆ ShowPanelBrowser()

void yaze::editor::UICoordinator::ShowPanelBrowser ( )
inline

Definition at line 117 of file ui_coordinator.h.

References show_panel_browser_.

◆ InitializeCommandPalette()

◆ RefreshCommandPalette()

void yaze::editor::UICoordinator::RefreshCommandPalette ( size_t session_id)

Refresh command palette commands (call after session switch)

Parameters
session_idNew session ID

Definition at line 1495 of file ui_coordinator.cc.

References InitializeCommandPalette().

Here is the call graph for this function:

◆ IsMenuBarVisible()

bool yaze::editor::UICoordinator::IsMenuBarVisible ( ) const
inline

Definition at line 132 of file ui_coordinator.h.

References show_menu_bar_.

Referenced by yaze::Controller::OnLoad().

◆ SetMenuBarVisible()

void yaze::editor::UICoordinator::SetMenuBarVisible ( bool visible)
inline

Definition at line 133 of file ui_coordinator.h.

References show_menu_bar_.

◆ ToggleMenuBar()

void yaze::editor::UICoordinator::ToggleMenuBar ( )
inline

Definition at line 134 of file ui_coordinator.h.

References show_menu_bar_.

◆ DrawMenuBarRestoreButton()

void yaze::editor::UICoordinator::DrawMenuBarRestoreButton ( )

◆ ShowAllWindows()

void yaze::editor::UICoordinator::ShowAllWindows ( )

Definition at line 907 of file ui_coordinator.cc.

References yaze::editor::WindowDelegate::ShowAllWindows(), and window_delegate_.

Here is the call graph for this function:

◆ HideAllWindows()

void yaze::editor::UICoordinator::HideAllWindows ( )

Definition at line 911 of file ui_coordinator.cc.

References yaze::editor::WindowDelegate::HideAllWindows(), and window_delegate_.

Here is the call graph for this function:

◆ IsEditorSelectionVisible()

bool yaze::editor::UICoordinator::IsEditorSelectionVisible ( ) const
inline

Definition at line 144 of file ui_coordinator.h.

References show_editor_selection_.

◆ IsDisplaySettingsVisible()

bool yaze::editor::UICoordinator::IsDisplaySettingsVisible ( ) const
inline

Definition at line 145 of file ui_coordinator.h.

References show_display_settings_.

◆ IsSessionSwitcherVisible()

bool yaze::editor::UICoordinator::IsSessionSwitcherVisible ( ) const

Definition at line 695 of file ui_coordinator.cc.

References yaze::editor::SessionCoordinator::IsSessionSwitcherVisible(), and session_coordinator_.

Here is the call graph for this function:

◆ IsWelcomeScreenVisible()

bool yaze::editor::UICoordinator::IsWelcomeScreenVisible ( ) const
inline

Definition at line 148 of file ui_coordinator.h.

References show_welcome_screen_.

◆ IsWelcomeScreenManuallyClosed()

bool yaze::editor::UICoordinator::IsWelcomeScreenManuallyClosed ( ) const
inline

Definition at line 149 of file ui_coordinator.h.

References welcome_screen_manually_closed_.

◆ IsGlobalSearchVisible()

bool yaze::editor::UICoordinator::IsGlobalSearchVisible ( ) const
inline

Definition at line 152 of file ui_coordinator.h.

References show_global_search_.

◆ IsPerformanceDashboardVisible()

bool yaze::editor::UICoordinator::IsPerformanceDashboardVisible ( ) const
inline

Definition at line 153 of file ui_coordinator.h.

References show_performance_dashboard_.

◆ IsPanelBrowserVisible()

bool yaze::editor::UICoordinator::IsPanelBrowserVisible ( ) const
inline

Definition at line 156 of file ui_coordinator.h.

References show_panel_browser_.

◆ IsCommandPaletteVisible()

bool yaze::editor::UICoordinator::IsCommandPaletteVisible ( ) const
inline

Definition at line 157 of file ui_coordinator.h.

References show_command_palette_.

◆ IsPanelSidebarVisible()

bool yaze::editor::UICoordinator::IsPanelSidebarVisible ( ) const

Definition at line 899 of file ui_coordinator.cc.

References yaze::editor::PanelManager::IsSidebarVisible(), and panel_manager_.

Referenced by yaze::editor::LayoutCoordinator::GetLeftLayoutOffset().

Here is the call graph for this function:

◆ IsImGuiDemoVisible()

bool yaze::editor::UICoordinator::IsImGuiDemoVisible ( ) const
inline

Definition at line 160 of file ui_coordinator.h.

References show_imgui_demo_.

◆ IsImGuiMetricsVisible()

bool yaze::editor::UICoordinator::IsImGuiMetricsVisible ( ) const
inline

Definition at line 161 of file ui_coordinator.h.

References show_imgui_metrics_.

◆ IsEmulatorVisible()

◆ IsMemoryEditorVisible()

bool yaze::editor::UICoordinator::IsMemoryEditorVisible ( ) const
inline

Definition at line 164 of file ui_coordinator.h.

References show_memory_editor_.

◆ IsAsmEditorVisible()

bool yaze::editor::UICoordinator::IsAsmEditorVisible ( ) const
inline

◆ IsPaletteEditorVisible()

bool yaze::editor::UICoordinator::IsPaletteEditorVisible ( ) const
inline

Definition at line 166 of file ui_coordinator.h.

References show_palette_editor_.

◆ IsResourceLabelManagerVisible()

bool yaze::editor::UICoordinator::IsResourceLabelManagerVisible ( ) const
inline

Definition at line 167 of file ui_coordinator.h.

References show_resource_label_manager_.

◆ IsAIAgentVisible()

bool yaze::editor::UICoordinator::IsAIAgentVisible ( ) const
inline

Definition at line 170 of file ui_coordinator.h.

References show_ai_agent_.

◆ IsChatHistoryVisible()

bool yaze::editor::UICoordinator::IsChatHistoryVisible ( ) const
inline

Definition at line 171 of file ui_coordinator.h.

References show_chat_history_.

◆ IsProposalDrawerVisible()

bool yaze::editor::UICoordinator::IsProposalDrawerVisible ( ) const
inline

Definition at line 172 of file ui_coordinator.h.

References show_proposal_drawer_.

◆ SetEditorSelectionVisible()

void yaze::editor::UICoordinator::SetEditorSelectionVisible ( bool visible)
inline

Definition at line 175 of file ui_coordinator.h.

References show_editor_selection_.

Referenced by yaze::editor::EditorActivator::SwitchToEditor().

◆ SetDisplaySettingsVisible()

void yaze::editor::UICoordinator::SetDisplaySettingsVisible ( bool visible)
inline

Definition at line 178 of file ui_coordinator.h.

References show_display_settings_.

◆ SetSessionSwitcherVisible()

void yaze::editor::UICoordinator::SetSessionSwitcherVisible ( bool visible)

◆ SetWelcomeScreenVisible()

void yaze::editor::UICoordinator::SetWelcomeScreenVisible ( bool visible)
inline

Definition at line 183 of file ui_coordinator.h.

References show_welcome_screen_.

◆ SetWelcomeScreenManuallyClosed()

void yaze::editor::UICoordinator::SetWelcomeScreenManuallyClosed ( bool closed)
inline

Definition at line 184 of file ui_coordinator.h.

References welcome_screen_manually_closed_.

◆ SetWelcomeScreenBehavior()

void yaze::editor::UICoordinator::SetWelcomeScreenBehavior ( StartupVisibility mode)

◆ SetGlobalSearchVisible()

void yaze::editor::UICoordinator::SetGlobalSearchVisible ( bool visible)
inline

Definition at line 188 of file ui_coordinator.h.

References show_global_search_.

Referenced by DrawGlobalSearch().

◆ SetPerformanceDashboardVisible()

void yaze::editor::UICoordinator::SetPerformanceDashboardVisible ( bool visible)
inline

Definition at line 189 of file ui_coordinator.h.

References show_performance_dashboard_.

◆ SetPanelBrowserVisible()

void yaze::editor::UICoordinator::SetPanelBrowserVisible ( bool visible)
inline

Definition at line 192 of file ui_coordinator.h.

References show_panel_browser_.

◆ SetCommandPaletteVisible()

void yaze::editor::UICoordinator::SetCommandPaletteVisible ( bool visible)
inline

Definition at line 193 of file ui_coordinator.h.

References show_command_palette_.

◆ SetPanelSidebarVisible()

void yaze::editor::UICoordinator::SetPanelSidebarVisible ( bool visible)

Definition at line 903 of file ui_coordinator.cc.

References panel_manager_, and yaze::editor::PanelManager::SetSidebarVisible().

Here is the call graph for this function:

◆ SetImGuiDemoVisible()

void yaze::editor::UICoordinator::SetImGuiDemoVisible ( bool visible)
inline

Definition at line 198 of file ui_coordinator.h.

References show_imgui_demo_.

◆ SetImGuiMetricsVisible()

void yaze::editor::UICoordinator::SetImGuiMetricsVisible ( bool visible)
inline

Definition at line 199 of file ui_coordinator.h.

References show_imgui_metrics_.

◆ SetEmulatorVisible()

◆ SetMemoryEditorVisible()

void yaze::editor::UICoordinator::SetMemoryEditorVisible ( bool visible)
inline

Definition at line 202 of file ui_coordinator.h.

References show_memory_editor_.

◆ SetAsmEditorVisible()

void yaze::editor::UICoordinator::SetAsmEditorVisible ( bool visible)
inline

◆ SetPaletteEditorVisible()

void yaze::editor::UICoordinator::SetPaletteEditorVisible ( bool visible)
inline

Definition at line 204 of file ui_coordinator.h.

References show_palette_editor_.

◆ SetResourceLabelManagerVisible()

void yaze::editor::UICoordinator::SetResourceLabelManagerVisible ( bool visible)
inline

Definition at line 205 of file ui_coordinator.h.

References show_resource_label_manager_.

◆ SetDashboardBehavior()

void yaze::editor::UICoordinator::SetDashboardBehavior ( StartupVisibility mode)

◆ SetAIAgentVisible()

void yaze::editor::UICoordinator::SetAIAgentVisible ( bool visible)
inline

Definition at line 209 of file ui_coordinator.h.

References show_ai_agent_.

◆ GetCurrentStartupSurface()

StartupSurface yaze::editor::UICoordinator::GetCurrentStartupSurface ( ) const
inline

Definition at line 212 of file ui_coordinator.h.

References current_startup_surface_.

◆ SetStartupSurface()

◆ ShouldShowWelcome()

bool yaze::editor::UICoordinator::ShouldShowWelcome ( ) const

◆ ShouldShowDashboard()

bool yaze::editor::UICoordinator::ShouldShowDashboard ( ) const

◆ ShouldShowActivityBar()

bool yaze::editor::UICoordinator::ShouldShowActivityBar ( ) const

◆ SetChatHistoryVisible()

void yaze::editor::UICoordinator::SetChatHistoryVisible ( bool visible)
inline

Definition at line 217 of file ui_coordinator.h.

References show_chat_history_.

◆ SetProposalDrawerVisible()

void yaze::editor::UICoordinator::SetProposalDrawerVisible ( bool visible)
inline

Definition at line 218 of file ui_coordinator.h.

References show_proposal_drawer_.

◆ DrawMenuBarIconButton()

bool yaze::editor::UICoordinator::DrawMenuBarIconButton ( const char * icon,
const char * tooltip,
bool is_active = false )
private

◆ GetMenuBarIconButtonWidth()

float yaze::editor::UICoordinator::GetMenuBarIconButtonWidth ( )
staticprivate

Definition at line 314 of file ui_coordinator.cc.

References ICON_MD_SETTINGS.

◆ DrawMaterialButton()

void yaze::editor::UICoordinator::DrawMaterialButton ( const std::string & text,
const std::string & icon,
const ImVec4 & color,
std::function< void()> callback,
bool enabled = true )
private

Definition at line 916 of file ui_coordinator.cc.

References yaze::gui::GetOnSurfaceVariantVec4(), and yaze::gui::GetSurfaceContainerHighestVec4().

Here is the call graph for this function:

◆ IsCompactLayout()

bool yaze::editor::UICoordinator::IsCompactLayout ( ) const
private

Definition at line 271 of file ui_coordinator.cc.

Referenced by DrawPanelFinder(), and ShouldShowActivityBar().

◆ CenterWindow()

void yaze::editor::UICoordinator::CenterWindow ( const std::string & window_name)
private

Definition at line 938 of file ui_coordinator.cc.

◆ PositionWindow()

void yaze::editor::UICoordinator::PositionWindow ( const std::string & window_name,
float x,
float y )
private

Definition at line 943 of file ui_coordinator.cc.

◆ SetWindowSize()

void yaze::editor::UICoordinator::SetWindowSize ( const std::string & window_name,
float width,
float height )
private

Definition at line 948 of file ui_coordinator.cc.

Member Data Documentation

◆ editor_manager_

◆ rom_manager_

RomFileManager& yaze::editor::UICoordinator::rom_manager_
private

Definition at line 225 of file ui_coordinator.h.

◆ project_manager_

ProjectManager& yaze::editor::UICoordinator::project_manager_
private

Definition at line 226 of file ui_coordinator.h.

Referenced by DrawWelcomeScreen().

◆ editor_registry_

EditorRegistry& yaze::editor::UICoordinator::editor_registry_
private

Definition at line 227 of file ui_coordinator.h.

◆ panel_manager_

◆ session_coordinator_

◆ window_delegate_

WindowDelegate& yaze::editor::UICoordinator::window_delegate_
private

Definition at line 230 of file ui_coordinator.h.

Referenced by HideAllWindows(), and ShowAllWindows().

◆ toast_manager_

ToastManager& yaze::editor::UICoordinator::toast_manager_
private

◆ popup_manager_

PopupManager& yaze::editor::UICoordinator::popup_manager_
private

Definition at line 232 of file ui_coordinator.h.

Referenced by DrawAllPopups(), HidePopup(), ShowDisplaySettings(), and ShowPopup().

◆ shortcut_manager_

ShortcutManager& yaze::editor::UICoordinator::shortcut_manager_
private

Definition at line 233 of file ui_coordinator.h.

Referenced by DrawCommandPalette().

◆ show_editor_selection_

bool yaze::editor::UICoordinator::show_editor_selection_ = false
private

◆ show_display_settings_

bool yaze::editor::UICoordinator::show_display_settings_ = false
private

Definition at line 237 of file ui_coordinator.h.

Referenced by IsDisplaySettingsVisible(), and SetDisplaySettingsVisible().

◆ show_welcome_screen_

bool yaze::editor::UICoordinator::show_welcome_screen_ = true
private

◆ welcome_screen_manually_closed_

bool yaze::editor::UICoordinator::welcome_screen_manually_closed_ = false
private

◆ show_global_search_

bool yaze::editor::UICoordinator::show_global_search_ = false
private

◆ show_performance_dashboard_

bool yaze::editor::UICoordinator::show_performance_dashboard_ = false
private

◆ show_imgui_demo_

bool yaze::editor::UICoordinator::show_imgui_demo_ = false
private

Definition at line 243 of file ui_coordinator.h.

Referenced by IsImGuiDemoVisible(), and SetImGuiDemoVisible().

◆ show_imgui_metrics_

bool yaze::editor::UICoordinator::show_imgui_metrics_ = false
private

Definition at line 244 of file ui_coordinator.h.

Referenced by IsImGuiMetricsVisible(), and SetImGuiMetricsVisible().

◆ show_test_dashboard_

bool yaze::editor::UICoordinator::show_test_dashboard_ = false
private

Definition at line 245 of file ui_coordinator.h.

◆ show_panel_browser_

bool yaze::editor::UICoordinator::show_panel_browser_ = false
private

◆ show_panel_finder_

bool yaze::editor::UICoordinator::show_panel_finder_ = false
private

Definition at line 247 of file ui_coordinator.h.

Referenced by DrawPanelFinder(), and ShowPanelFinder().

◆ show_command_palette_

bool yaze::editor::UICoordinator::show_command_palette_ = false
private

◆ show_memory_editor_

bool yaze::editor::UICoordinator::show_memory_editor_ = false
private

Definition at line 251 of file ui_coordinator.h.

Referenced by IsMemoryEditorVisible(), and SetMemoryEditorVisible().

◆ show_asm_editor_

bool yaze::editor::UICoordinator::show_asm_editor_ = false
private

Definition at line 252 of file ui_coordinator.h.

Referenced by IsAsmEditorVisible(), and SetAsmEditorVisible().

◆ show_palette_editor_

bool yaze::editor::UICoordinator::show_palette_editor_ = false
private

Definition at line 253 of file ui_coordinator.h.

Referenced by IsPaletteEditorVisible(), and SetPaletteEditorVisible().

◆ show_resource_label_manager_

bool yaze::editor::UICoordinator::show_resource_label_manager_ = false
private

◆ show_ai_agent_

bool yaze::editor::UICoordinator::show_ai_agent_ = false
private

Definition at line 255 of file ui_coordinator.h.

Referenced by DrawAllUI(), IsAIAgentVisible(), and SetAIAgentVisible().

◆ show_chat_history_

bool yaze::editor::UICoordinator::show_chat_history_ = false
private

Definition at line 256 of file ui_coordinator.h.

Referenced by DrawAllUI(), IsChatHistoryVisible(), and SetChatHistoryVisible().

◆ show_proposal_drawer_

bool yaze::editor::UICoordinator::show_proposal_drawer_ = false
private

Definition at line 257 of file ui_coordinator.h.

Referenced by DrawAllUI(), IsProposalDrawerVisible(), and SetProposalDrawerVisible().

◆ show_save_workspace_preset_

bool yaze::editor::UICoordinator::show_save_workspace_preset_ = false
private

Definition at line 258 of file ui_coordinator.h.

Referenced by DrawWorkspacePresetDialogs(), and ShowSaveWorkspacePresetDialog().

◆ show_load_workspace_preset_

bool yaze::editor::UICoordinator::show_load_workspace_preset_ = false
private

Definition at line 259 of file ui_coordinator.h.

Referenced by DrawWorkspacePresetDialogs(), and ShowLoadWorkspacePresetDialog().

◆ show_menu_bar_

bool yaze::editor::UICoordinator::show_menu_bar_ = true
private

◆ welcome_behavior_override_

StartupVisibility yaze::editor::UICoordinator::welcome_behavior_override_ = StartupVisibility::kAuto
private

Definition at line 261 of file ui_coordinator.h.

Referenced by SetWelcomeScreenBehavior(), and ShouldShowWelcome().

◆ dashboard_behavior_override_

StartupVisibility yaze::editor::UICoordinator::dashboard_behavior_override_ = StartupVisibility::kAuto
private

Definition at line 262 of file ui_coordinator.h.

Referenced by SetDashboardBehavior(), and ShouldShowDashboard().

◆ current_startup_surface_

◆ command_palette_

CommandPalette yaze::editor::UICoordinator::command_palette_
private

Definition at line 268 of file ui_coordinator.h.

Referenced by DrawCommandPalette(), and InitializeCommandPalette().

◆ command_palette_initialized_

bool yaze::editor::UICoordinator::command_palette_initialized_ = false
private

Definition at line 269 of file ui_coordinator.h.

Referenced by DrawCommandPalette(), and InitializeCommandPalette().

◆ command_palette_query_

char yaze::editor::UICoordinator::command_palette_query_[256] = {}
private

Definition at line 270 of file ui_coordinator.h.

Referenced by DrawCommandPalette().

◆ command_palette_selected_idx_

int yaze::editor::UICoordinator::command_palette_selected_idx_ = 0
private

Definition at line 271 of file ui_coordinator.h.

Referenced by DrawCommandPalette().

◆ panel_finder_query_

char yaze::editor::UICoordinator::panel_finder_query_[256] = {}
private

Definition at line 274 of file ui_coordinator.h.

Referenced by DrawPanelFinder().

◆ panel_finder_selected_idx_

int yaze::editor::UICoordinator::panel_finder_selected_idx_ = 0
private

Definition at line 275 of file ui_coordinator.h.

Referenced by DrawPanelFinder().

◆ global_search_query_

char yaze::editor::UICoordinator::global_search_query_[256] = {}
private

Definition at line 278 of file ui_coordinator.h.

Referenced by DrawGlobalSearch().

◆ welcome_screen_

std::unique_ptr<WelcomeScreen> yaze::editor::UICoordinator::welcome_screen_
private

Definition at line 281 of file ui_coordinator.h.

Referenced by DrawWelcomeScreen(), and UICoordinator().


The documentation for this class was generated from the following files: