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

Manages right-side sliding panels for agent chat, proposals, settings. More...

#include <right_panel_manager.h>

Classes

struct  PanelSizeLimits
 

Public Types

enum class  PanelType {
  kNone = 0 , kAgentChat , kProposals , kSettings ,
  kHelp , kNotifications , kProperties , kProject
}
 

Public Member Functions

 RightPanelManager ()=default
 
 ~RightPanelManager ()=default
 
 RightPanelManager (const RightPanelManager &)=delete
 
RightPanelManageroperator= (const RightPanelManager &)=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 SetActiveEditor (EditorType type)
 Set the active editor for context-aware help content.
 
void TogglePanel (PanelType type)
 Toggle a specific panel on/off.
 
void OpenPanel (PanelType type)
 Open a specific panel.
 
void ClosePanel ()
 Close the currently active panel.
 
void CyclePanel (int direction)
 Cycle to the next/previous right panel in header order.
 
void CycleToNextPanel ()
 
void CycleToPreviousPanel ()
 
void OnHostVisibilityChanged (bool visible)
 Snap transient animations when host visibility changes.
 
bool IsPanelExpanded () const
 Check if any panel is currently expanded (or animating closed)
 
PanelType GetActivePanel () const
 Get the currently active panel type.
 
bool IsPanelActive (PanelType type) const
 Check if a specific panel is active.
 
float GetPanelWidth () const
 Get the width of the panel when expanded.
 
void SetPanelWidth (PanelType type, float width)
 Set panel width for a specific panel type.
 
void ResetPanelWidths ()
 Reset all panel widths to their defaults.
 
void SetPanelSizeLimits (PanelType type, const PanelSizeLimits &limits)
 Set sizing constraints for an individual right panel.
 
PanelSizeLimits GetPanelSizeLimits (PanelType type) const
 
std::unordered_map< std::string, float > SerializePanelWidths () const
 Persist/restore per-panel widths for user settings.
 
void RestorePanelWidths (const std::unordered_map< std::string, float > &widths)
 
void SetPanelWidthChangedCallback (std::function< void(PanelType, float)> callback)
 
void Draw ()
 Draw the panel and its contents.
 
bool DrawPanelToggleButtons ()
 Draw toggle buttons for the status cluster.
 
AgentChatagent_chat () const
 
ProposalDrawerproposal_drawer () const
 
SettingsPanelsettings_panel () const
 
SelectionPropertiesPanelproperties_panel () const
 
ProjectManagementPanelproject_panel () const
 

Static Public Member Functions

static constexpr float GetCollapsedWidth ()
 Get the width of the collapsed panel strip (toggle buttons)
 
static float GetDefaultPanelWidth (PanelType type, EditorType editor=EditorType::kUnknown)
 Get the default width for a specific panel type.
 

Private Member Functions

void DrawPanelHeader (const char *title, const char *icon)
 
void DrawAgentChatPanel ()
 
void DrawProposalsPanel ()
 
void DrawSettingsPanel ()
 
void DrawHelpPanel ()
 
void DrawNotificationsPanel ()
 
void DrawPropertiesPanel ()
 
void DrawProjectPanel ()
 
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)
 

Private Attributes

PanelType active_panel_ = PanelType::kNone
 
EditorType active_editor_type_ = EditorType::kUnknown
 
float agent_chat_width_ = gui::UIConfig::kPanelWidthAgentChat
 
float proposals_width_ = gui::UIConfig::kPanelWidthProposals
 
float settings_width_ = gui::UIConfig::kPanelWidthSettings
 
float help_width_ = gui::UIConfig::kPanelWidthHelp
 
float notifications_width_ = gui::UIConfig::kPanelWidthNotifications
 
float properties_width_ = gui::UIConfig::kPanelWidthProperties
 
float project_width_ = gui::UIConfig::kPanelWidthProject
 
AgentChatagent_chat_ = nullptr
 
ProposalDrawerproposal_drawer_ = nullptr
 
SettingsPanelsettings_panel_ = nullptr
 
ShortcutManagershortcut_manager_ = nullptr
 
SelectionPropertiesPanelproperties_panel_ = nullptr
 
ProjectManagementPanelproject_panel_ = nullptr
 
ToastManagertoast_manager_ = nullptr
 
Romrom_ = nullptr
 
bool properties_locked_ = false
 
float panel_animation_ = 0.0f
 
float animation_target_ = 0.0f
 
bool animating_ = false
 
bool closing_ = false
 
PanelType closing_panel_ = PanelType::kNone
 
std::unordered_map< std::string, PanelSizeLimitspanel_size_limits_
 
std::function< void(PanelType, float)> on_panel_width_changed_
 

Detailed Description

Manages right-side sliding panels for agent chat, proposals, settings.

Provides a unified panel system on the right side of the application that:

  • Slides in/out from the right edge
  • Shifts the main docking space when expanded
  • Supports multiple panel types (agent chat, proposals, settings)
  • Only one panel can be active at a time

Usage:

RightPanelManager panel_manager;
panel_manager.SetAgentChat(&agent_chat);
panel_manager.Draw();
Manages right-side sliding panels for agent chat, proposals, settings.
void Draw()
Draw the panel and its contents.
ProposalDrawer * proposal_drawer() const
void TogglePanel(PanelType type)
Toggle a specific panel on/off.
void SetProposalDrawer(ProposalDrawer *drawer)

Definition at line 54 of file right_panel_manager.h.

Member Enumeration Documentation

◆ PanelType

Enumerator
kNone 
kAgentChat 
kProposals 
kSettings 
kHelp 
kNotifications 
kProperties 
kProject 

Definition at line 56 of file right_panel_manager.h.

Constructor & Destructor Documentation

◆ RightPanelManager() [1/2]

yaze::editor::RightPanelManager::RightPanelManager ( )
default

◆ ~RightPanelManager()

yaze::editor::RightPanelManager::~RightPanelManager ( )
default

◆ RightPanelManager() [2/2]

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

Member Function Documentation

◆ operator=()

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

◆ SetAgentChat()

void yaze::editor::RightPanelManager::SetAgentChat ( AgentChat * chat)
inline

Definition at line 78 of file right_panel_manager.h.

References agent_chat_.

◆ SetProposalDrawer()

void yaze::editor::RightPanelManager::SetProposalDrawer ( ProposalDrawer * drawer)
inline

Definition at line 79 of file right_panel_manager.h.

References proposal_drawer_.

◆ SetSettingsPanel()

void yaze::editor::RightPanelManager::SetSettingsPanel ( SettingsPanel * panel)
inline

Definition at line 80 of file right_panel_manager.h.

References settings_panel_.

◆ SetShortcutManager()

void yaze::editor::RightPanelManager::SetShortcutManager ( ShortcutManager * manager)
inline

Definition at line 81 of file right_panel_manager.h.

References shortcut_manager_.

◆ SetPropertiesPanel()

void yaze::editor::RightPanelManager::SetPropertiesPanel ( SelectionPropertiesPanel * panel)
inline

Definition at line 84 of file right_panel_manager.h.

References properties_panel_.

◆ SetProjectManagementPanel()

void yaze::editor::RightPanelManager::SetProjectManagementPanel ( ProjectManagementPanel * panel)
inline

Definition at line 87 of file right_panel_manager.h.

References project_panel_.

◆ SetToastManager()

void yaze::editor::RightPanelManager::SetToastManager ( ToastManager * manager)
inline

Definition at line 90 of file right_panel_manager.h.

References toast_manager_.

◆ SetRom()

void yaze::editor::RightPanelManager::SetRom ( Rom * rom)
inline

Definition at line 91 of file right_panel_manager.h.

References rom_.

◆ SetActiveEditor()

void yaze::editor::RightPanelManager::SetActiveEditor ( EditorType type)
inline

Set the active editor for context-aware help content.

Parameters
typeThe currently active editor type

Definition at line 97 of file right_panel_manager.h.

References active_editor_type_.

◆ TogglePanel()

void yaze::editor::RightPanelManager::TogglePanel ( PanelType type)

Toggle a specific panel on/off.

Parameters
typePanel type to toggle

If the panel is already active, it will be closed. If another panel is active, it will be closed and this one opened.

Definition at line 195 of file right_panel_manager.cc.

References active_panel_, ClosePanel(), and OpenPanel().

Referenced by DrawPanelToggleButtons().

Here is the call graph for this function:

◆ OpenPanel()

void yaze::editor::RightPanelManager::OpenPanel ( PanelType type)

Open a specific panel.

Parameters
typePanel type to open

Definition at line 208 of file right_panel_manager.cc.

References active_panel_, animating_, animation_target_, closing_, closing_panel_, yaze::gui::GetAnimator(), kNone, and panel_animation_.

Referenced by CyclePanel(), DrawAgentChatPanel(), DrawPanelHeader(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), and TogglePanel().

Here is the call graph for this function:

◆ ClosePanel()

void yaze::editor::RightPanelManager::ClosePanel ( )

Close the currently active panel.

Definition at line 225 of file right_panel_manager.cc.

References active_panel_, animating_, animation_target_, closing_, closing_panel_, yaze::gui::GetAnimator(), kNone, and panel_animation_.

Referenced by Draw(), DrawPanelHeader(), yaze::editor::EditorActivator::HandleNonEditorClassSwitch(), and TogglePanel().

Here is the call graph for this function:

◆ CyclePanel()

void yaze::editor::RightPanelManager::CyclePanel ( int direction)

Cycle to the next/previous right panel in header order.

Parameters
directionPositive for next, negative for previous.

Definition at line 244 of file right_panel_manager.cc.

References active_panel_, closing_panel_, kNone, and OpenPanel().

Referenced by CycleToNextPanel(), and CycleToPreviousPanel().

Here is the call graph for this function:

◆ CycleToNextPanel()

void yaze::editor::RightPanelManager::CycleToNextPanel ( )
inline

Definition at line 128 of file right_panel_manager.h.

References CyclePanel().

Referenced by DrawPanelHeader().

Here is the call graph for this function:

◆ CycleToPreviousPanel()

void yaze::editor::RightPanelManager::CycleToPreviousPanel ( )
inline

Definition at line 129 of file right_panel_manager.h.

References CyclePanel().

Referenced by DrawPanelHeader().

Here is the call graph for this function:

◆ OnHostVisibilityChanged()

void yaze::editor::RightPanelManager::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 259 of file right_panel_manager.cc.

References active_panel_, animating_, animation_target_, closing_, closing_panel_, kNone, and panel_animation_.

◆ IsPanelExpanded()

bool yaze::editor::RightPanelManager::IsPanelExpanded ( ) const

Check if any panel is currently expanded (or animating closed)

Definition at line 204 of file right_panel_manager.cc.

References active_panel_, closing_, and kNone.

Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras().

◆ GetActivePanel()

PanelType yaze::editor::RightPanelManager::GetActivePanel ( ) const
inline

Get the currently active panel type.

Definition at line 147 of file right_panel_manager.h.

References active_panel_.

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

◆ IsPanelActive()

bool yaze::editor::RightPanelManager::IsPanelActive ( PanelType type) const
inline

Check if a specific panel is active.

Definition at line 152 of file right_panel_manager.h.

References active_panel_.

Referenced by yaze::editor::UICoordinator::DrawNotificationBell(), and DrawPanelToggleButtons().

◆ GetPanelWidth()

float yaze::editor::RightPanelManager::GetPanelWidth ( ) const

Get the width of the panel when expanded.

Definition at line 271 of file right_panel_manager.cc.

References active_panel_, closing_, closing_panel_, GetClampedPanelWidth(), GetConfiguredPanelWidth(), kNone, and panel_animation_.

Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), and yaze::editor::LayoutCoordinator::GetRightLayoutOffset().

Here is the call graph for this function:

◆ GetCollapsedWidth()

static constexpr float yaze::editor::RightPanelManager::GetCollapsedWidth ( )
inlinestaticconstexpr

Get the width of the collapsed panel strip (toggle buttons)

Definition at line 166 of file right_panel_manager.h.

◆ SetPanelWidth()

void yaze::editor::RightPanelManager::SetPanelWidth ( PanelType type,
float width )

◆ ResetPanelWidths()

void yaze::editor::RightPanelManager::ResetPanelWidths ( )

Reset all panel widths to their defaults.

Definition at line 360 of file right_panel_manager.cc.

References active_editor_type_, GetDefaultPanelWidth(), kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, and SetPanelWidth().

Here is the call graph for this function:

◆ GetDefaultPanelWidth()

float yaze::editor::RightPanelManager::GetDefaultPanelWidth ( PanelType type,
EditorType editor = EditorType::kUnknown )
static

◆ SetPanelSizeLimits()

void yaze::editor::RightPanelManager::SetPanelSizeLimits ( PanelType type,
const PanelSizeLimits & limits )

Set sizing constraints for an individual right panel.

Definition at line 408 of file right_panel_manager.cc.

References kNone, yaze::gui::UIConfig::kPanelMinWidthAbsolute, yaze::editor::RightPanelManager::PanelSizeLimits::max_width_ratio, yaze::editor::RightPanelManager::PanelSizeLimits::min_width, panel_size_limits_, and PanelTypeKey().

Here is the call graph for this function:

◆ GetPanelSizeLimits()

◆ SerializePanelWidths()

std::unordered_map< std::string, float > yaze::editor::RightPanelManager::SerializePanelWidths ( ) const

Persist/restore per-panel widths for user settings.

Definition at line 507 of file right_panel_manager.cc.

References agent_chat_width_, help_width_, kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, notifications_width_, PanelTypeKey(), project_width_, properties_width_, proposals_width_, and settings_width_.

Here is the call graph for this function:

◆ RestorePanelWidths()

void yaze::editor::RightPanelManager::RestorePanelWidths ( const std::unordered_map< std::string, float > & widths)

Definition at line 520 of file right_panel_manager.cc.

References kAgentChat, kHelp, kNotifications, kProject, kProperties, kProposals, kSettings, LOG_INFO, PanelTypeKey(), and SetPanelWidth().

Here is the call graph for this function:

◆ SetPanelWidthChangedCallback()

void yaze::editor::RightPanelManager::SetPanelWidthChangedCallback ( std::function< void(PanelType, float)> callback)
inline

Definition at line 204 of file right_panel_manager.h.

References on_panel_width_changed_.

◆ Draw()

◆ DrawPanelToggleButtons()

◆ agent_chat()

AgentChat * yaze::editor::RightPanelManager::agent_chat ( ) const
inline

Definition at line 232 of file right_panel_manager.h.

References agent_chat_.

◆ proposal_drawer()

ProposalDrawer * yaze::editor::RightPanelManager::proposal_drawer ( ) const
inline

Definition at line 233 of file right_panel_manager.h.

References proposal_drawer_.

◆ settings_panel()

SettingsPanel * yaze::editor::RightPanelManager::settings_panel ( ) const
inline

Definition at line 234 of file right_panel_manager.h.

References settings_panel_.

◆ properties_panel()

SelectionPropertiesPanel * yaze::editor::RightPanelManager::properties_panel ( ) const
inline

Definition at line 235 of file right_panel_manager.h.

References properties_panel_.

◆ project_panel()

ProjectManagementPanel * yaze::editor::RightPanelManager::project_panel ( ) const
inline

Definition at line 238 of file right_panel_manager.h.

References project_panel_.

◆ DrawPanelHeader()

◆ DrawAgentChatPanel()

◆ DrawProposalsPanel()

◆ DrawSettingsPanel()

void yaze::editor::RightPanelManager::DrawSettingsPanel ( )
private

◆ DrawHelpPanel()

◆ DrawNotificationsPanel()

◆ DrawPropertiesPanel()

◆ DrawProjectPanel()

◆ DrawAgentQuickActions()

◆ DrawEditorContextHeader()

◆ DrawGlobalShortcuts()

void yaze::editor::RightPanelManager::DrawGlobalShortcuts ( )
private

Definition at line 1246 of file right_panel_manager.cc.

References DrawPanelLabel(), DrawPanelValue(), DrawShortcutRow(), and yaze::gui::GetCtrlDisplayName().

Referenced by DrawHelpPanel().

Here is the call graph for this function:

◆ DrawEditorSpecificShortcuts()

◆ DrawEditorSpecificHelp()

void yaze::editor::RightPanelManager::DrawEditorSpecificHelp ( )
private

◆ DrawQuickActionButtons()

void yaze::editor::RightPanelManager::DrawQuickActionButtons ( )
private

◆ DrawAboutSection()

void yaze::editor::RightPanelManager::DrawAboutSection ( )
private

◆ BeginPanelSection()

bool yaze::editor::RightPanelManager::BeginPanelSection ( const char * label,
const char * icon = nullptr,
bool default_open = true )
private

Definition at line 849 of file right_panel_manager.cc.

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

Referenced by DrawHelpPanel(), DrawProjectPanel(), and DrawPropertiesPanel().

Here is the call graph for this function:

◆ EndPanelSection()

void yaze::editor::RightPanelManager::EndPanelSection ( )
private

Definition at line 886 of file right_panel_manager.cc.

Referenced by DrawHelpPanel(), DrawProjectPanel(), and DrawPropertiesPanel().

◆ DrawPanelDivider()

void yaze::editor::RightPanelManager::DrawPanelDivider ( )
private

Definition at line 892 of file right_panel_manager.cc.

References yaze::gui::GetOutlineVec4().

Referenced by DrawAboutSection(), DrawEditorContextHeader(), DrawNotificationsPanel(), DrawProjectPanel(), and DrawPropertiesPanel().

Here is the call graph for this function:

◆ DrawPanelLabel()

void yaze::editor::RightPanelManager::DrawPanelLabel ( const char * label)
private

Definition at line 901 of file right_panel_manager.cc.

References yaze::gui::ColoredText(), and yaze::gui::GetTextSecondaryVec4().

Referenced by DrawAboutSection(), DrawEditorSpecificShortcuts(), DrawGlobalShortcuts(), and DrawNotificationsPanel().

Here is the call graph for this function:

◆ DrawPanelValue()

void yaze::editor::RightPanelManager::DrawPanelValue ( const char * label,
const char * value )
private

Definition at line 905 of file right_panel_manager.cc.

References yaze::gui::ColoredTextF(), and yaze::gui::GetTextSecondaryVec4().

Referenced by DrawEditorSpecificShortcuts(), DrawGlobalShortcuts(), DrawPropertiesPanel(), and DrawShortcutRow().

Here is the call graph for this function:

◆ DrawPanelDescription()

void yaze::editor::RightPanelManager::DrawPanelDescription ( const char * text)
private

◆ GetShortcutLabel()

std::string yaze::editor::RightPanelManager::GetShortcutLabel ( const std::string & action,
const std::string & fallback ) const
private

◆ DrawShortcutRow()

void yaze::editor::RightPanelManager::DrawShortcutRow ( const std::string & action,
const char * description,
const std::string & fallback )
private

Definition at line 935 of file right_panel_manager.cc.

References DrawPanelValue(), and GetShortcutLabel().

Referenced by DrawEditorSpecificShortcuts(), and DrawGlobalShortcuts().

Here is the call graph for this function:

◆ GetConfiguredPanelWidth()

float yaze::editor::RightPanelManager::GetConfiguredPanelWidth ( PanelType type) const
private

◆ GetClampedPanelWidth()

float yaze::editor::RightPanelManager::GetClampedPanelWidth ( PanelType type,
float viewport_width ) const
private

Definition at line 487 of file right_panel_manager.cc.

References GetConfiguredPanelWidth(), and GetPanelSizeLimits().

Referenced by Draw(), and GetPanelWidth().

Here is the call graph for this function:

◆ NotifyPanelWidthChanged()

void yaze::editor::RightPanelManager::NotifyPanelWidthChanged ( PanelType type,
float width )
private

Definition at line 501 of file right_panel_manager.cc.

References on_panel_width_changed_.

Referenced by SetPanelWidth().

◆ PanelTypeKey()

std::string yaze::editor::RightPanelManager::PanelTypeKey ( PanelType type)
staticprivate

Member Data Documentation

◆ active_panel_

◆ active_editor_type_

◆ agent_chat_width_

float yaze::editor::RightPanelManager::agent_chat_width_ = gui::UIConfig::kPanelWidthAgentChat
private

◆ proposals_width_

float yaze::editor::RightPanelManager::proposals_width_ = gui::UIConfig::kPanelWidthProposals
private

◆ settings_width_

float yaze::editor::RightPanelManager::settings_width_ = gui::UIConfig::kPanelWidthSettings
private

◆ help_width_

float yaze::editor::RightPanelManager::help_width_ = gui::UIConfig::kPanelWidthHelp
private

◆ notifications_width_

float yaze::editor::RightPanelManager::notifications_width_ = gui::UIConfig::kPanelWidthNotifications
private

◆ properties_width_

float yaze::editor::RightPanelManager::properties_width_ = gui::UIConfig::kPanelWidthProperties
private

◆ project_width_

float yaze::editor::RightPanelManager::project_width_ = gui::UIConfig::kPanelWidthProject
private

◆ agent_chat_

AgentChat* yaze::editor::RightPanelManager::agent_chat_ = nullptr
private

◆ proposal_drawer_

ProposalDrawer* yaze::editor::RightPanelManager::proposal_drawer_ = nullptr
private

◆ settings_panel_

SettingsPanel* yaze::editor::RightPanelManager::settings_panel_ = nullptr
private

Definition at line 294 of file right_panel_manager.h.

Referenced by DrawSettingsPanel(), SetSettingsPanel(), and settings_panel().

◆ shortcut_manager_

ShortcutManager* yaze::editor::RightPanelManager::shortcut_manager_ = nullptr
private

Definition at line 295 of file right_panel_manager.h.

Referenced by GetShortcutLabel(), and SetShortcutManager().

◆ properties_panel_

SelectionPropertiesPanel* yaze::editor::RightPanelManager::properties_panel_ = nullptr
private

◆ project_panel_

ProjectManagementPanel* yaze::editor::RightPanelManager::project_panel_ = nullptr
private

◆ toast_manager_

ToastManager* yaze::editor::RightPanelManager::toast_manager_ = nullptr
private

Definition at line 298 of file right_panel_manager.h.

Referenced by DrawNotificationsPanel(), and SetToastManager().

◆ rom_

Rom* yaze::editor::RightPanelManager::rom_ = nullptr
private

Definition at line 299 of file right_panel_manager.h.

Referenced by DrawProposalsPanel(), and SetRom().

◆ properties_locked_

bool yaze::editor::RightPanelManager::properties_locked_ = false
private

Definition at line 302 of file right_panel_manager.h.

Referenced by DrawPanelHeader().

◆ panel_animation_

float yaze::editor::RightPanelManager::panel_animation_ = 0.0f
private

◆ animation_target_

float yaze::editor::RightPanelManager::animation_target_ = 0.0f
private

Definition at line 306 of file right_panel_manager.h.

Referenced by ClosePanel(), Draw(), OnHostVisibilityChanged(), and OpenPanel().

◆ animating_

bool yaze::editor::RightPanelManager::animating_ = false
private

Definition at line 307 of file right_panel_manager.h.

Referenced by ClosePanel(), Draw(), OnHostVisibilityChanged(), and OpenPanel().

◆ closing_

bool yaze::editor::RightPanelManager::closing_ = false
private

◆ closing_panel_

PanelType yaze::editor::RightPanelManager::closing_panel_ = PanelType::kNone
private

◆ panel_size_limits_

std::unordered_map<std::string, PanelSizeLimits> yaze::editor::RightPanelManager::panel_size_limits_
private

Definition at line 310 of file right_panel_manager.h.

Referenced by GetPanelSizeLimits(), and SetPanelSizeLimits().

◆ on_panel_width_changed_

std::function<void(PanelType, float)> yaze::editor::RightPanelManager::on_panel_width_changed_
private

Definition at line 311 of file right_panel_manager.h.

Referenced by NotifyPanelWidthChanged(), and SetPanelWidthChangedCallback().


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