Declarative registration contract for editor windows. More...
#include <panel_host.h>
Public Attributes | |
| std::string | id |
| std::string | display_name |
| std::string | icon |
| std::string | category |
| std::string | window_title |
| std::string | shortcut_hint |
| int | priority = 50 |
| bool | visible_by_default = false |
| bool * | visibility_flag = nullptr |
| WindowScope | scope = WindowScope::kSession |
| WindowLifecycle | window_lifecycle = WindowLifecycle::EditorBound |
| WindowContextScope | context_scope = WindowContextScope::kNone |
| std::vector< std::string > | legacy_ids |
| std::function< void()> | on_show |
| std::function< void()> | on_hide |
Declarative registration contract for editor windows.
This decouples window metadata from individual editor implementations and keeps visibility/layout concerns in a single host-facing API.
Definition at line 22 of file panel_host.h.
| std::string yaze::editor::WindowDefinition::id |
Definition at line 23 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), yaze::editor::WindowHost::RegisterPanel(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDefinition::display_name |
Definition at line 24 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDefinition::icon |
Definition at line 25 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDefinition::category |
Definition at line 26 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDefinition::window_title |
Definition at line 27 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| std::string yaze::editor::WindowDefinition::shortcut_hint |
Definition at line 28 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| int yaze::editor::WindowDefinition::priority = 50 |
Definition at line 29 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| bool yaze::editor::WindowDefinition::visible_by_default = false |
Definition at line 30 of file panel_host.h.
Referenced by yaze::editor::WindowHost::RegisterPanel().
| bool* yaze::editor::WindowDefinition::visibility_flag = nullptr |
Definition at line 31 of file panel_host.h.
Referenced by yaze::editor::EditorManager::RegisterEditors(), and yaze::editor::WindowHost::ToDescriptor().
| WindowScope yaze::editor::WindowDefinition::scope = WindowScope::kSession |
Definition at line 32 of file panel_host.h.
Referenced by yaze::editor::WindowHost::ToDescriptor().
| WindowLifecycle yaze::editor::WindowDefinition::window_lifecycle = WindowLifecycle::EditorBound |
Definition at line 33 of file panel_host.h.
Referenced by yaze::editor::WindowHost::ToDescriptor().
| WindowContextScope yaze::editor::WindowDefinition::context_scope = WindowContextScope::kNone |
Definition at line 34 of file panel_host.h.
Referenced by yaze::editor::WindowHost::ToDescriptor().
| std::vector<std::string> yaze::editor::WindowDefinition::legacy_ids |
Definition at line 35 of file panel_host.h.
Referenced by yaze::editor::WindowHost::RegisterPanel().
| std::function<void()> yaze::editor::WindowDefinition::on_show |
Definition at line 36 of file panel_host.h.
Referenced by yaze::editor::WindowHost::ToDescriptor().
| std::function<void()> yaze::editor::WindowDefinition::on_hide |
Definition at line 37 of file panel_host.h.
Referenced by yaze::editor::WindowHost::ToDescriptor().