Manages right-side sliding drawers for agent chat, proposals, settings. More...
#include <right_drawer_manager.h>
Classes | |
| struct | PanelSizeLimits |
| struct | ToolOutputActions |
Public Types | |
| enum class | DrawerType { kNone = 0 , kAgentChat , kProposals , kSettings , kHelp , kNotifications , kProperties , kProject , kToolOutput } |
| using | PanelType = DrawerType |
Public Member Functions | |
| RightDrawerManager ()=default | |
| ~RightDrawerManager ()=default | |
| RightDrawerManager (const RightDrawerManager &)=delete | |
| RightDrawerManager & | operator= (const RightDrawerManager &)=delete |
| void | SetAgentChat (AgentChat *chat) |
| void | SetProposalDrawer (ProposalDrawer *drawer) |
| void | SetSettingsPanel (SettingsPanel *panel) |
| void | SetShortcutManager (ShortcutManager *manager) |
| void | SetPropertiesPanel (SelectionPropertiesPanel *panel) |
| void | SetProjectManagementPanel (ProjectManagementPanel *panel) |
| void | SetToastManager (ToastManager *manager) |
| void | SetRom (Rom *rom) |
| void | SetToolOutput (std::string title, std::string query, std::string content, ToolOutputActions actions={}) |
| const std::string & | tool_output_title () const |
| const std::string & | tool_output_query () const |
| const std::string & | tool_output_content () const |
| void | SetActiveEditor (EditorType type) |
| Set the active editor for context-aware help content. | |
| void | ToggleDrawer (DrawerType type) |
| Toggle a specific drawer on/off. | |
| void | TogglePanel (PanelType type) |
| void | OpenDrawer (DrawerType type) |
| Open a specific drawer. | |
| void | OpenPanel (PanelType type) |
| void | CloseDrawer () |
| Close the currently active drawer. | |
| void | ClosePanel () |
| void | CycleDrawer (int direction) |
| Cycle to the next/previous right drawer in header order. | |
| void | CycleToNextDrawer () |
| void | CycleToPreviousDrawer () |
| void | CyclePanel (int direction) |
| void | CycleToNextPanel () |
| void | CycleToPreviousPanel () |
| void | OnHostVisibilityChanged (bool visible) |
| Snap transient animations when host visibility changes. | |
| bool | IsDrawerExpanded () const |
| Check if any drawer is currently expanded (or animating closed) | |
| bool | IsPanelExpanded () const |
| DrawerType | GetActiveDrawer () const |
| Get the currently active drawer type. | |
| PanelType | GetActivePanel () const |
| bool | IsDrawerActive (DrawerType type) const |
| Check if a specific drawer is active. | |
| bool | IsPanelActive (PanelType type) const |
| float | GetDrawerWidth () const |
| Get the width of the drawer when expanded. | |
| float | GetPanelWidth () const |
| void | SetDrawerWidth (DrawerType type, float width) |
| Set drawer width for a specific drawer type. | |
| void | SetPanelWidth (PanelType type, float width) |
| void | ResetDrawerWidths () |
| Reset all drawer widths to their defaults. | |
| void | ResetPanelWidths () |
| void | SetPanelSizeLimits (PanelType type, const PanelSizeLimits &limits) |
| Set sizing constraints for an individual right panel. | |
| PanelSizeLimits | GetPanelSizeLimits (PanelType type) const |
| void | SetDrawerSizeLimits (DrawerType type, const PanelSizeLimits &limits) |
| PanelSizeLimits | GetDrawerSizeLimits (DrawerType type) const |
| std::unordered_map< std::string, float > | SerializeDrawerWidths () const |
| Persist/restore per-drawer widths for user settings. | |
| void | RestoreDrawerWidths (const std::unordered_map< std::string, float > &widths) |
| std::unordered_map< std::string, float > | SerializePanelWidths () const |
| void | RestorePanelWidths (const std::unordered_map< std::string, float > &widths) |
| void | SetDrawerWidthChangedCallback (std::function< void(DrawerType, float)> callback) |
| void | SetPanelWidthChangedCallback (std::function< void(PanelType, float)> callback) |
| void | Draw () |
| Draw the drawer and its contents. | |
| bool | DrawDrawerToggleButtons () |
| Draw the single Drawers overflow control for the status cluster. | |
| bool | DrawPanelToggleButtons () |
| AgentChat * | agent_chat () const |
| ProposalDrawer * | proposal_drawer () const |
| SettingsPanel * | settings_panel () const |
| SelectionPropertiesPanel * | properties_panel () const |
| ProjectManagementPanel * | project_panel () const |
Static Public Member Functions | |
| static constexpr float | GetCollapsedWidth () |
| Get the width of the collapsed panel strip (toggle buttons) | |
| static float | GetDefaultDrawerWidth (DrawerType type, EditorType editor=EditorType::kUnknown) |
| Get the default width for a specific drawer type. | |
| static float | GetDefaultPanelWidth (PanelType type, EditorType editor=EditorType::kUnknown) |
| static float | GetDrawerToggleClusterWidth () |
| Menu-bar width reserved for the Drawers overflow control. | |
Private Member Functions | |
| void | DrawPanelHeader (PanelType type, const char *title, const char *icon) |
| void | DrawDrawerNavStrip (PanelType current_panel) |
| void | DrawHeaderActions (PanelType type) |
| void | DrawHeaderContextBadge (PanelType type) |
| void | DrawAgentChatPanel () |
| void | DrawProposalsPanel () |
| void | DrawSettingsPanel () |
| void | DrawHelpPanel () |
| void | DrawNotificationsPanel () |
| void | DrawPropertiesPanel () |
| void | DrawProjectPanel () |
| void | DrawToolOutputPanel () |
| bool | DrawAgentQuickActions () |
| void | DrawEditorContextHeader () |
| void | DrawGlobalShortcuts () |
| void | DrawEditorSpecificShortcuts () |
| void | DrawEditorSpecificHelp () |
| void | DrawQuickActionButtons () |
| void | DrawAboutSection () |
| bool | BeginPanelSection (const char *label, const char *icon=nullptr, bool default_open=true) |
| void | EndPanelSection () |
| void | DrawPanelDivider () |
| void | DrawPanelLabel (const char *label) |
| void | DrawPanelValue (const char *label, const char *value) |
| void | DrawPanelDescription (const char *text) |
| std::string | GetShortcutLabel (const std::string &action, const std::string &fallback) const |
| void | DrawShortcutRow (const std::string &action, const char *description, const std::string &fallback) |
| float | GetConfiguredPanelWidth (PanelType type) const |
| float | GetClampedPanelWidth (PanelType type, float viewport_width) const |
| void | NotifyPanelWidthChanged (PanelType type, float width) |
Static Private Member Functions | |
| static std::string | PanelTypeKey (PanelType type) |
Friends | |
| class | RightDrawerManagerTestPeer |
Manages right-side sliding drawers for agent chat, proposals, settings.
Provides a unified drawer system on the right side of the application that:
Usage:
Definition at line 56 of file right_drawer_manager.h.
Definition at line 75 of file right_drawer_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kAgentChat | |
| kProposals | |
| kSettings | |
| kHelp | |
| kNotifications | |
| kProperties | |
| kProject | |
| kToolOutput | |
Definition at line 64 of file right_drawer_manager.h.
|
default |
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 88 of file right_drawer_manager.h.
References agent_chat_.
|
inline |
Definition at line 89 of file right_drawer_manager.h.
References proposal_drawer_.
|
inline |
Definition at line 90 of file right_drawer_manager.h.
References settings_panel_.
|
inline |
Definition at line 91 of file right_drawer_manager.h.
References shortcut_manager_.
|
inline |
Definition at line 94 of file right_drawer_manager.h.
References properties_panel_.
|
inline |
Definition at line 97 of file right_drawer_manager.h.
References project_panel_.
|
inline |
Definition at line 100 of file right_drawer_manager.h.
References toast_manager_.
|
inline |
Definition at line 101 of file right_drawer_manager.h.
References rom_.
| void yaze::editor::RightDrawerManager::SetToolOutput | ( | std::string | title, |
| std::string | query, | ||
| std::string | content, | ||
| ToolOutputActions | actions = {} ) |
Definition at line 530 of file right_drawer_manager.cc.
References tool_output_actions_, tool_output_content_, tool_output_query_, and tool_output_title_.
|
inline |
Definition at line 104 of file right_drawer_manager.h.
References tool_output_title_.
|
inline |
Definition at line 105 of file right_drawer_manager.h.
References tool_output_query_.
|
inline |
Definition at line 106 of file right_drawer_manager.h.
References tool_output_content_.
|
inline |
Set the active editor for context-aware help content.
| type | The currently active editor type |
Definition at line 114 of file right_drawer_manager.h.
References active_editor_type_.
| void yaze::editor::RightDrawerManager::ToggleDrawer | ( | DrawerType | type | ) |
Toggle a specific drawer on/off.
| type | Drawer type to toggle |
If the drawer is already active, it will be closed. If another drawer is active, it will be closed and this one opened.
Definition at line 521 of file right_drawer_manager.cc.
References active_panel_, CloseDrawer(), and OpenDrawer().
Referenced by DrawDrawerToggleButtons(), and TogglePanel().

|
inline |
Definition at line 129 of file right_drawer_manager.h.
References ToggleDrawer().

| void yaze::editor::RightDrawerManager::OpenDrawer | ( | DrawerType | type | ) |
Open a specific drawer.
| type | Drawer type to open |
Definition at line 543 of file right_drawer_manager.cc.
References active_panel_, animating_, animation_target_, closing_, closing_panel_, yaze::gui::GetAnimator(), kNone, and panel_animation_.
Referenced by CycleDrawer(), DrawDrawerNavStrip(), DrawPanelHeader(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), OpenPanel(), and ToggleDrawer().

|
inline |
Definition at line 139 of file right_drawer_manager.h.
References OpenDrawer().

| void yaze::editor::RightDrawerManager::CloseDrawer | ( | ) |
Close the currently active drawer.
Definition at line 560 of file right_drawer_manager.cc.
References active_panel_, animating_, animation_target_, closing_, closing_panel_, yaze::gui::GetAnimator(), kNone, and panel_animation_.
Referenced by ClosePanel(), Draw(), DrawDrawerNavStrip(), DrawPanelHeader(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), and ToggleDrawer().

|
inline |
Definition at line 148 of file right_drawer_manager.h.
References CloseDrawer().

| void yaze::editor::RightDrawerManager::CycleDrawer | ( | int | direction | ) |
Cycle to the next/previous right drawer in header order.
| direction | Positive for next, negative for previous. |
Definition at line 579 of file right_drawer_manager.cc.
References active_panel_, closing_panel_, kNone, and OpenDrawer().
Referenced by CyclePanel(), CycleToNextDrawer(), and CycleToPreviousDrawer().

|
inline |
Definition at line 157 of file right_drawer_manager.h.
References CycleDrawer().
Referenced by CycleToNextPanel().

|
inline |
Definition at line 158 of file right_drawer_manager.h.
References CycleDrawer().
Referenced by CycleToPreviousPanel().

|
inline |
Definition at line 160 of file right_drawer_manager.h.
References CycleDrawer().

|
inline |
Definition at line 164 of file right_drawer_manager.h.
References CycleToNextDrawer().

|
inline |
Definition at line 168 of file right_drawer_manager.h.
References CycleToPreviousDrawer().

| void yaze::editor::RightDrawerManager::OnHostVisibilityChanged | ( | bool | visible | ) |
Snap transient animations when host visibility changes.
This is used for OS space switches / focus loss so partially animated panel bitmaps do not linger when returning to the app.
Definition at line 594 of file right_drawer_manager.cc.
References active_panel_, animating_, animation_target_, closing_, closing_panel_, kNone, and panel_animation_.
| bool yaze::editor::RightDrawerManager::IsDrawerExpanded | ( | ) | const |
Check if any drawer is currently expanded (or animating closed)
Definition at line 539 of file right_drawer_manager.cc.
References active_panel_, closing_, and kNone.
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), and IsPanelExpanded().
|
inline |
Definition at line 185 of file right_drawer_manager.h.
References IsDrawerExpanded().

|
inline |
Get the currently active drawer type.
Definition at line 192 of file right_drawer_manager.h.
References active_panel_.
Referenced by GetActivePanel(), and yaze::editor::EditorActivator::HandleNonEditorClassSwitch().
|
inline |
Definition at line 194 of file right_drawer_manager.h.
References GetActiveDrawer().

|
inline |
Check if a specific drawer is active.
Definition at line 201 of file right_drawer_manager.h.
References active_panel_.
Referenced by DrawDrawerToggleButtons(), yaze::editor::UICoordinator::DrawNotificationBell(), and IsPanelActive().
|
inline |
Definition at line 203 of file right_drawer_manager.h.
References IsDrawerActive().

| float yaze::editor::RightDrawerManager::GetDrawerWidth | ( | ) | const |
Get the width of the drawer when expanded.
Definition at line 606 of file right_drawer_manager.cc.
References active_panel_, closing_, closing_panel_, GetClampedPanelWidth(), GetConfiguredPanelWidth(), kNone, and panel_animation_.
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), GetPanelWidth(), and yaze::editor::LayoutCoordinator::GetRightLayoutOffset().

|
inline |
Definition at line 216 of file right_drawer_manager.h.
References GetDrawerWidth().

|
inlinestaticconstexpr |
Get the width of the collapsed panel strip (toggle buttons)
Definition at line 223 of file right_drawer_manager.h.
| void yaze::editor::RightDrawerManager::SetDrawerWidth | ( | DrawerType | type, |
| float | width ) |
Set drawer width for a specific drawer type.
Definition at line 633 of file right_drawer_manager.cc.
References agent_chat_width_, GetPanelSizeLimits(), help_width_, kAgentChat, kHelp, kNone, kNotifications, kProject, kProperties, kProposals, kSettings, kToolOutput, LOG_INFO, notifications_width_, NotifyPanelWidthChanged(), project_width_, properties_width_, proposals_width_, settings_width_, and tool_output_width_.
Referenced by Draw(), ResetDrawerWidths(), RestoreDrawerWidths(), and SetPanelWidth().

|
inline |
Definition at line 230 of file right_drawer_manager.h.
References SetDrawerWidth().

| void yaze::editor::RightDrawerManager::ResetDrawerWidths | ( | ) |
Reset all drawer widths to their defaults.
Definition at line 698 of file right_drawer_manager.cc.
References active_editor_type_, GetDefaultDrawerWidth(), kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, kToolOutput, and SetDrawerWidth().
Referenced by ResetPanelWidths().

|
inline |
Definition at line 239 of file right_drawer_manager.h.
References ResetDrawerWidths().

|
static |
Get the default width for a specific drawer type.
| type | The drawer type |
| editor | The optional editor type for context-aware sizing |
Definition at line 724 of file right_drawer_manager.cc.
References kAgentChat, yaze::editor::kDungeon, kHelp, kNotifications, yaze::gui::UIConfig::kPanelWidthAgentChat, yaze::gui::UIConfig::kPanelWidthHelp, yaze::gui::UIConfig::kPanelWidthMedium, yaze::gui::UIConfig::kPanelWidthNotifications, yaze::gui::UIConfig::kPanelWidthProject, yaze::gui::UIConfig::kPanelWidthProperties, yaze::gui::UIConfig::kPanelWidthProposals, yaze::gui::UIConfig::kPanelWidthSettings, kProject, kProperties, kProposals, kSettings, and kToolOutput.
Referenced by yaze::editor::EditorManager::ApplyLayoutProfile(), Draw(), GetDefaultPanelWidth(), and ResetDrawerWidths().
|
inlinestatic |
Definition at line 252 of file right_drawer_manager.h.
References GetDefaultDrawerWidth().

| void yaze::editor::RightDrawerManager::SetPanelSizeLimits | ( | PanelType | type, |
| const PanelSizeLimits & | limits ) |
Set sizing constraints for an individual right panel.
Definition at line 752 of file right_drawer_manager.cc.
References kNone, yaze::gui::UIConfig::kPanelMinWidthAbsolute, yaze::editor::RightDrawerManager::PanelSizeLimits::max_width_ratio, yaze::editor::RightDrawerManager::PanelSizeLimits::min_width, panel_size_limits_, and PanelTypeKey().
Referenced by SetDrawerSizeLimits().

| RightDrawerManager::PanelSizeLimits yaze::editor::RightDrawerManager::GetPanelSizeLimits | ( | PanelType | type | ) | const |
Definition at line 765 of file right_drawer_manager.cc.
References kAgentChat, kHelp, kNone, kNotifications, yaze::gui::UIConfig::kPanelMinWidthAgentChat, yaze::gui::UIConfig::kPanelMinWidthHelp, yaze::gui::UIConfig::kPanelMinWidthNotifications, yaze::gui::UIConfig::kPanelMinWidthProject, yaze::gui::UIConfig::kPanelMinWidthProperties, yaze::gui::UIConfig::kPanelMinWidthProposals, yaze::gui::UIConfig::kPanelMinWidthSettings, kProject, kProperties, kProposals, kSettings, kToolOutput, yaze::editor::RightDrawerManager::PanelSizeLimits::max_width_ratio, yaze::editor::RightDrawerManager::PanelSizeLimits::min_width, panel_size_limits_, and PanelTypeKey().
Referenced by GetClampedPanelWidth(), GetDrawerSizeLimits(), and SetDrawerWidth().

|
inline |
Definition at line 267 of file right_drawer_manager.h.
References SetPanelSizeLimits().

|
inline |
Definition at line 270 of file right_drawer_manager.h.
References GetPanelSizeLimits().

| std::unordered_map< std::string, float > yaze::editor::RightDrawerManager::SerializeDrawerWidths | ( | ) | const |
Persist/restore per-drawer widths for user settings.
Definition at line 858 of file right_drawer_manager.cc.
References agent_chat_width_, help_width_, kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, kToolOutput, notifications_width_, PanelTypeKey(), project_width_, properties_width_, proposals_width_, settings_width_, and tool_output_width_.
Referenced by SerializePanelWidths().

| void yaze::editor::RightDrawerManager::RestoreDrawerWidths | ( | const std::unordered_map< std::string, float > & | widths | ) |
Definition at line 871 of file right_drawer_manager.cc.
References kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, kToolOutput, LOG_INFO, PanelTypeKey(), and SetDrawerWidth().
Referenced by RestorePanelWidths().

|
inline |
Definition at line 281 of file right_drawer_manager.h.
References SerializeDrawerWidths().

|
inline |
Definition at line 285 of file right_drawer_manager.h.
References RestoreDrawerWidths().

|
inline |
Definition at line 290 of file right_drawer_manager.h.
References on_panel_width_changed_.
|
inline |
Definition at line 295 of file right_drawer_manager.h.
References on_panel_width_changed_.
| void yaze::editor::RightDrawerManager::Draw | ( | ) |
Draw the drawer and its contents.
Should be called after the main docking space is drawn. The drawer will position itself on the right edge.
Definition at line 893 of file right_drawer_manager.cc.
References active_editor_type_, active_panel_, animating_, animation_target_, yaze::gui::LayoutHelpers::BeginContentChild(), yaze::gui::LayoutHelpers::SafeAreaInsets::bottom, CloseDrawer(), closing_, closing_panel_, DrawAgentChatPanel(), DrawDrawerNavStrip(), DrawHelpPanel(), DrawNotificationsPanel(), DrawPanelHeader(), DrawProjectPanel(), DrawPropertiesPanel(), DrawProposalsPanel(), DrawSettingsPanel(), DrawToolOutputPanel(), yaze::gui::LayoutHelpers::EndContentChild(), yaze::gui::GetAnimator(), GetClampedPanelWidth(), GetConfiguredPanelWidth(), GetDefaultDrawerWidth(), yaze::gui::GetOutlineVec4(), yaze::editor::GetPanelTypeIcon(), yaze::editor::GetPanelTypeName(), yaze::gui::LayoutHelpers::GetSafeAreaInsets(), yaze::gui::GetSurfaceContainerVec4(), yaze::gui::LayoutHelpers::GetTopInset(), yaze::gui::Animator::IsEnabled(), kAgentChat, yaze::gui::UIConfig::kAnimationSnapThreshold, yaze::gui::UIConfig::kAnimationSpeed, yaze::gui::UIConfig::kContentMinHeightList, kHelp, kNone, kNotifications, yaze::gui::UIConfig::kPanelPaddingLarge, yaze::gui::UIConfig::kPanelPaddingMedium, kProject, kProperties, kProposals, yaze::gui::kRelaxed, kSettings, yaze::gui::kSnappy, yaze::gui::UIConfig::kSplitterWidth, yaze::gui::kStandard, kToolOutput, panel_animation_, SetDrawerWidth(), and tool_output_title_.
| bool yaze::editor::RightDrawerManager::DrawDrawerToggleButtons | ( | ) |
Draw the single Drawers overflow control for the status cluster.
One icon opens a popup listing every switchable drawer (checked when active). Returns true if the overflow button was clicked or a drawer was toggled from the popup.
Definition at line 2402 of file right_drawer_manager.cc.
References active_panel_, yaze::editor::GetDrawerCatalog(), yaze::gui::GetPrimaryVec4(), GetShortcutLabel(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_VERTICAL_SPLIT, IsDrawerActive(), kNone, and ToggleDrawer().
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), and DrawPanelToggleButtons().
|
inline |
Definition at line 321 of file right_drawer_manager.h.
References DrawDrawerToggleButtons().

|
static |
Menu-bar width reserved for the Drawers overflow control.
Keep in sync with DrawDrawerToggleButtons() SmallButton metrics so UICoordinator::DrawMenuBarExtras does not hardcode icon counts.
Definition at line 2446 of file right_drawer_manager.cc.
References ICON_MD_VERTICAL_SPLIT.
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras().
|
inline |
Definition at line 337 of file right_drawer_manager.h.
References agent_chat_.
|
inline |
Definition at line 338 of file right_drawer_manager.h.
References proposal_drawer_.
|
inline |
Definition at line 339 of file right_drawer_manager.h.
References settings_panel_.
|
inline |
Definition at line 340 of file right_drawer_manager.h.
References properties_panel_.
|
inline |
Definition at line 343 of file right_drawer_manager.h.
References project_panel_.
|
private |
Definition at line 1178 of file right_drawer_manager.cc.
References agent_chat_, yaze::editor::AgentChat::ClearHistory(), yaze::editor::ToastManager::ClearHistory(), CloseDrawer(), DrawHeaderContextBadge(), yaze::editor::GetDrawerCatalog(), yaze::gui::GetOutlineVec4(), yaze::gui::GetPrimaryVec4(), GetShortcutLabel(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_CANCEL, ICON_MD_CONTENT_COPY, ICON_MD_DELETE_SWEEP, ICON_MD_DESCRIPTION, ICON_MD_DONE_ALL, ICON_MD_LOCK, ICON_MD_LOCK_OPEN, ICON_MD_OPEN_IN_NEW, ICON_MD_SAVE_ALT, ICON_MD_SWAP_HORIZ, kAgentChat, kHelp, kNotifications, yaze::gui::UIConfig::kPanelHeaderHeight, yaze::gui::UIConfig::kPanelPaddingLarge, kProperties, kProposals, kToolOutput, yaze::editor::ToastManager::MarkAllRead(), OpenDrawer(), yaze::gui::OpenUrl(), properties_locked_, proposal_drawer_, yaze::editor::AgentChat::SaveHistory(), toast_manager_, tool_output_content_, and yaze::gui::TransparentIconButton().
Referenced by Draw().
|
private |
Definition at line 1389 of file right_drawer_manager.cc.
References CloseDrawer(), yaze::editor::GetDrawerCatalog(), yaze::gui::GetOutlineVec4(), yaze::gui::GetPrimaryVec4(), GetShortcutLabel(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetSurfaceContainerVec4(), yaze::gui::GetTextPrimaryVec4(), yaze::gui::GetTextSecondaryVec4(), yaze::editor::ToastManager::GetUnreadCount(), yaze::editor::DrawerCatalogEntry::icon, kNotifications, yaze::gui::UIConfig::kPanelHeaderHeight, yaze::editor::DrawerCatalogEntry::name, OpenDrawer(), yaze::editor::DrawerCatalogEntry::shortcut_action, toast_manager_, and yaze::editor::DrawerCatalogEntry::type.
Referenced by Draw().
|
private |
Definition at line 1174 of file right_drawer_manager.cc.
|
private |
Definition at line 1081 of file right_drawer_manager.cc.
References active_editor_type_, agent_chat_, yaze::gui::ColoredText(), yaze::gui::GetPrimaryVec4(), yaze::gui::GetSuccessVec4(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::editor::ToastManager::GetUnreadCount(), yaze::gui::GetWarningVec4(), ICON_MD_CIRCLE, ICON_MD_LOCK, kAgentChat, yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kGraphics, kHelp, yaze::editor::kMessage, yaze::editor::kMusic, kNotifications, yaze::editor::kOverworld, yaze::editor::kPalette, kProperties, properties_locked_, and toast_manager_.
Referenced by DrawPanelHeader().
|
private |
Definition at line 1583 of file right_drawer_manager.cc.
References agent_chat_, yaze::gui::ColoredText(), yaze::editor::AgentChat::Draw(), DrawPanelDescription(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_SMART_TOY, and yaze::editor::AgentChat::set_active().
Referenced by Draw().
|
private |
Definition at line 1738 of file right_drawer_manager.cc.
References yaze::gui::ColoredText(), yaze::editor::ProposalDrawer::DrawContent(), DrawPanelDescription(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_DESCRIPTION, proposal_drawer_, rom_, and yaze::editor::ProposalDrawer::SetRom().
Referenced by Draw().
|
private |
Definition at line 1756 of file right_drawer_manager.cc.
References yaze::gui::ColoredText(), yaze::editor::SettingsPanel::Draw(), DrawPanelDescription(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_SETTINGS, and settings_panel_.
Referenced by Draw().

|
private |
Definition at line 1771 of file right_drawer_manager.cc.
References BeginPanelSection(), DrawAboutSection(), DrawEditorContextHeader(), DrawEditorSpecificHelp(), DrawEditorSpecificShortcuts(), DrawGlobalShortcuts(), DrawQuickActionButtons(), EndPanelSection(), ICON_MD_BOLT, ICON_MD_HELP, ICON_MD_INFO, and ICON_MD_KEYBOARD.
Referenced by Draw().
|
private |
Definition at line 2114 of file right_drawer_manager.cc.
References yaze::gui::LayoutHelpers::BeginContentChild(), yaze::editor::ContentRegistry::Context::build_workflow_status(), yaze::editor::ContentRegistry::Context::cancel_build_workflow_callback(), yaze::editor::ToastManager::ClearHistory(), yaze::gui::ColoredText(), yaze::gui::ColoredTextF(), yaze::gui::ConvertColorToImVec4(), DrawPanelDescription(), DrawPanelDivider(), DrawPanelLabel(), yaze::gui::LayoutHelpers::EndContentChild(), yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), yaze::editor::ToastManager::GetHistory(), yaze::gui::GetPrimaryVec4(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextDisabledVec4(), yaze::gui::GetTextSecondaryVec4(), yaze::editor::ToastManager::GetUnreadCount(), ICON_MD_BUILD, ICON_MD_CHECK_CIRCLE, ICON_MD_DELETE_SWEEP, ICON_MD_DONE_ALL, ICON_MD_ERROR, ICON_MD_FIBER_MANUAL_RECORD, ICON_MD_INBOX, ICON_MD_INFO, ICON_MD_NOTIFICATIONS_OFF, ICON_MD_OPEN_IN_NEW, ICON_MD_PLAY_ARROW, ICON_MD_WARNING, yaze::gui::UIConfig::kContentMinHeightList, yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::ToastManager::MarkAllRead(), yaze::editor::workflow::WorkflowActionCallbacks::run_project, yaze::editor::ContentRegistry::Context::run_project_workflow_callback(), yaze::editor::ContentRegistry::Context::run_workflow_status(), yaze::editor::workflow::SelectWorkflowPreviewEntries(), yaze::editor::workflow::WorkflowActionCallbacks::show_output, yaze::editor::ContentRegistry::Context::show_workflow_output_callback(), yaze::editor::workflow::WorkflowActionCallbacks::start_build, yaze::editor::ContentRegistry::Context::start_build_workflow_callback(), toast_manager_, and yaze::editor::ContentRegistry::Context::workflow_history().
Referenced by Draw().
|
private |
Definition at line 2313 of file right_drawer_manager.cc.
References yaze::editor::SelectionPropertiesPanel::Draw(), yaze::gui::DrawEmptyState(), yaze::gui::EmptyNoSelection(), and properties_panel_.
Referenced by Draw().

|
private |
Definition at line 2321 of file right_drawer_manager.cc.
References yaze::editor::ProjectManagementPanel::Draw(), yaze::gui::DrawEmptyState(), yaze::gui::EmptyNoProject(), and project_panel_.
Referenced by Draw().

|
private |
Definition at line 2329 of file right_drawer_manager.cc.
References BeginPanelSection(), yaze::gui::ColoredText(), yaze::gui::EmptyStateOptions::compact, yaze::Json::contains(), yaze::gui::EmptyStateOptions::detail, yaze::gui::DrawEmptyState(), DrawPanelDivider(), yaze::Json::empty(), EndPanelSection(), yaze::gui::GetPrimaryVec4(), yaze::gui::EmptyStateOptions::icon, ICON_MD_ACCOUNT_TREE, ICON_MD_CODE, ICON_MD_CONTENT_COPY, ICON_MD_INFO, ICON_MD_TERMINAL, yaze::Json::is_object(), yaze::gui::EmptyStateOptions::title, tool_output_actions_, tool_output_content_, and tool_output_query_.
Referenced by Draw().
|
private |
Definition at line 1613 of file right_drawer_manager.cc.
References active_editor_type_, agent_chat_, yaze::gui::ColoredText(), yaze::gui::ThemeManager::Get(), yaze::gui::ThemeManager::GetCurrentTheme(), yaze::gui::GetPrimaryVec4(), yaze::editor::SelectionPropertiesPanel::GetSelection(), yaze::gui::GetTextSecondaryVec4(), yaze::editor::SelectionPropertiesPanel::HasSelection(), ICON_MD_BOLT, yaze::editor::kAgent, yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kEmulator, yaze::editor::kGraphics, yaze::editor::kHex, yaze::editor::kMessage, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kSprite, properties_panel_, and yaze::editor::AgentChat::SendMessage().
|
private |
Definition at line 1801 of file right_drawer_manager.cc.
References active_editor_type_, yaze::gui::ColoredTextF(), DrawPanelDivider(), yaze::gui::GetPrimaryVec4(), ICON_MD_CASTLE, ICON_MD_CHAT, ICON_MD_HELP, ICON_MD_IMAGE, ICON_MD_LANDSCAPE, ICON_MD_MUSIC_NOTE, ICON_MD_PALETTE, ICON_MD_SMART_TOY, ICON_MD_TV, ICON_MD_VIDEOGAME_ASSET, yaze::editor::kDungeon, yaze::editor::kEmulator, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, and yaze::editor::kSprite.
Referenced by DrawHelpPanel().

|
private |
Definition at line 1853 of file right_drawer_manager.cc.
References DrawPanelLabel(), DrawPanelValue(), DrawShortcutRow(), and yaze::gui::GetCtrlDisplayName().
Referenced by DrawHelpPanel().

|
private |
Definition at line 1875 of file right_drawer_manager.cc.
References active_editor_type_, DrawPanelLabel(), DrawPanelValue(), DrawShortcutRow(), yaze::gui::GetCtrlDisplayName(), yaze::gui::GetTextSecondaryVec4(), yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, and yaze::editor::kPalette.
Referenced by DrawHelpPanel().
|
private |
Definition at line 1966 of file right_drawer_manager.cc.
References active_editor_type_, yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, and yaze::editor::kPalette.
Referenced by DrawHelpPanel().
|
private |
Definition at line 2058 of file right_drawer_manager.cc.
References yaze::gui::GetOutlineVec4(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), ICON_MD_BUG_REPORT, ICON_MD_DESCRIPTION, ICON_MD_FORUM, ICON_MD_OPEN_IN_NEW, and yaze::gui::OpenUrl().
Referenced by DrawHelpPanel().

|
private |
Definition at line 2091 of file right_drawer_manager.cc.
References yaze::gui::ColoredText(), DrawPanelDescription(), DrawPanelDivider(), DrawPanelLabel(), yaze::gui::GetPrimaryVec4(), yaze::gui::GetTextSecondaryVec4(), and ICON_MD_LINK.
Referenced by DrawHelpPanel().
|
private |
Definition at line 1486 of file right_drawer_manager.cc.
References yaze::gui::GetSurfaceContainerHighestVec4(), and yaze::gui::GetSurfaceContainerHighVec4().
Referenced by DrawHelpPanel(), and DrawToolOutputPanel().

|
private |
Definition at line 1523 of file right_drawer_manager.cc.
Referenced by DrawHelpPanel(), and DrawToolOutputPanel().
|
private |
Definition at line 1529 of file right_drawer_manager.cc.
References yaze::gui::GetOutlineVec4().
Referenced by DrawAboutSection(), DrawEditorContextHeader(), DrawNotificationsPanel(), and DrawToolOutputPanel().

|
private |
Definition at line 1538 of file right_drawer_manager.cc.
References yaze::gui::ColoredText(), and yaze::gui::GetTextSecondaryVec4().
Referenced by DrawAboutSection(), DrawEditorSpecificShortcuts(), DrawGlobalShortcuts(), and DrawNotificationsPanel().

|
private |
Definition at line 1542 of file right_drawer_manager.cc.
References yaze::gui::ColoredTextF(), and yaze::gui::GetTextSecondaryVec4().
Referenced by DrawEditorSpecificShortcuts(), DrawGlobalShortcuts(), and DrawShortcutRow().

|
private |
Definition at line 1548 of file right_drawer_manager.cc.
References yaze::gui::GetTextDisabledVec4().
Referenced by DrawAboutSection(), DrawAgentChatPanel(), DrawNotificationsPanel(), DrawProposalsPanel(), and DrawSettingsPanel().

|
private |
Definition at line 1555 of file right_drawer_manager.cc.
References yaze::editor::ShortcutManager::FindShortcut(), yaze::editor::Shortcut::keys, yaze::editor::PrintShortcut(), and shortcut_manager_.
Referenced by DrawDrawerNavStrip(), DrawDrawerToggleButtons(), DrawPanelHeader(), and DrawShortcutRow().

|
private |
Definition at line 1572 of file right_drawer_manager.cc.
References DrawPanelValue(), and GetShortcutLabel().
Referenced by DrawEditorSpecificShortcuts(), and DrawGlobalShortcuts().

|
private |
Definition at line 813 of file right_drawer_manager.cc.
References agent_chat_width_, help_width_, kAgentChat, kHelp, kNone, kNotifications, kProject, kProperties, kProposals, kSettings, kToolOutput, notifications_width_, project_width_, properties_width_, proposals_width_, settings_width_, and tool_output_width_.
Referenced by Draw(), GetClampedPanelWidth(), and GetDrawerWidth().
|
private |
Definition at line 837 of file right_drawer_manager.cc.
References GetConfiguredPanelWidth(), and GetPanelSizeLimits().
Referenced by Draw(), and GetDrawerWidth().

|
private |
Definition at line 851 of file right_drawer_manager.cc.
References on_panel_width_changed_.
Referenced by SetDrawerWidth().
|
staticprivate |
Definition at line 497 of file right_drawer_manager.cc.
References kAgentChat, kHelp, kNone, kNotifications, kProject, kProperties, kProposals, kSettings, and kToolOutput.
Referenced by GetPanelSizeLimits(), RestoreDrawerWidths(), SerializeDrawerWidths(), and SetPanelSizeLimits().
|
friend |
Definition at line 346 of file right_drawer_manager.h.
|
private |
Definition at line 388 of file right_drawer_manager.h.
Referenced by CloseDrawer(), CycleDrawer(), Draw(), DrawDrawerToggleButtons(), GetActiveDrawer(), GetDrawerWidth(), IsDrawerActive(), IsDrawerExpanded(), OnHostVisibilityChanged(), OpenDrawer(), and ToggleDrawer().
|
private |
Definition at line 391 of file right_drawer_manager.h.
Referenced by Draw(), DrawAgentQuickActions(), DrawEditorContextHeader(), DrawEditorSpecificHelp(), DrawEditorSpecificShortcuts(), DrawHeaderContextBadge(), ResetDrawerWidths(), and SetActiveEditor().
|
private |
Definition at line 394 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 395 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 396 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 397 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 398 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 399 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 400 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 401 of file right_drawer_manager.h.
Referenced by GetConfiguredPanelWidth(), SerializeDrawerWidths(), and SetDrawerWidth().
|
private |
Definition at line 404 of file right_drawer_manager.h.
Referenced by agent_chat(), DrawAgentChatPanel(), DrawAgentQuickActions(), DrawHeaderContextBadge(), DrawPanelHeader(), and SetAgentChat().
|
private |
Definition at line 405 of file right_drawer_manager.h.
Referenced by DrawPanelHeader(), DrawProposalsPanel(), proposal_drawer(), and SetProposalDrawer().
|
private |
Definition at line 406 of file right_drawer_manager.h.
Referenced by DrawSettingsPanel(), SetSettingsPanel(), and settings_panel().
|
private |
Definition at line 407 of file right_drawer_manager.h.
Referenced by GetShortcutLabel(), and SetShortcutManager().
|
private |
Definition at line 408 of file right_drawer_manager.h.
Referenced by DrawAgentQuickActions(), DrawPropertiesPanel(), properties_panel(), and SetPropertiesPanel().
|
private |
Definition at line 409 of file right_drawer_manager.h.
Referenced by DrawProjectPanel(), project_panel(), and SetProjectManagementPanel().
|
private |
Definition at line 410 of file right_drawer_manager.h.
Referenced by DrawDrawerNavStrip(), DrawHeaderContextBadge(), DrawNotificationsPanel(), DrawPanelHeader(), and SetToastManager().
|
private |
Definition at line 411 of file right_drawer_manager.h.
Referenced by DrawProposalsPanel(), and SetRom().
|
private |
Definition at line 412 of file right_drawer_manager.h.
Referenced by Draw(), SetToolOutput(), and tool_output_title().
|
private |
Definition at line 413 of file right_drawer_manager.h.
Referenced by DrawToolOutputPanel(), SetToolOutput(), and tool_output_query().
|
private |
Definition at line 414 of file right_drawer_manager.h.
Referenced by DrawPanelHeader(), DrawToolOutputPanel(), SetToolOutput(), and tool_output_content().
|
private |
Definition at line 415 of file right_drawer_manager.h.
Referenced by DrawToolOutputPanel(), and SetToolOutput().
|
private |
Definition at line 418 of file right_drawer_manager.h.
Referenced by DrawHeaderContextBadge(), and DrawPanelHeader().
|
private |
Definition at line 421 of file right_drawer_manager.h.
Referenced by CloseDrawer(), Draw(), GetDrawerWidth(), OnHostVisibilityChanged(), and OpenDrawer().
|
private |
Definition at line 422 of file right_drawer_manager.h.
Referenced by CloseDrawer(), Draw(), OnHostVisibilityChanged(), and OpenDrawer().
|
private |
Definition at line 423 of file right_drawer_manager.h.
Referenced by CloseDrawer(), Draw(), OnHostVisibilityChanged(), and OpenDrawer().
|
private |
Definition at line 424 of file right_drawer_manager.h.
Referenced by CloseDrawer(), Draw(), GetDrawerWidth(), IsDrawerExpanded(), OnHostVisibilityChanged(), and OpenDrawer().
|
private |
Definition at line 425 of file right_drawer_manager.h.
Referenced by CloseDrawer(), CycleDrawer(), Draw(), GetDrawerWidth(), OnHostVisibilityChanged(), and OpenDrawer().
|
private |
Definition at line 426 of file right_drawer_manager.h.
Referenced by GetPanelSizeLimits(), and SetPanelSizeLimits().
|
private |
Definition at line 427 of file right_drawer_manager.h.
Referenced by NotifyPanelWidthChanged(), SetDrawerWidthChangedCallback(), and SetPanelWidthChangedCallback().