Centralized UI dimension constants. More...
#include <ui_config.h>
Static Public Attributes | |
| static constexpr float | kActivityBarWidth = 48.0f |
| static constexpr float | kStatusBarHeight = 28.0f |
| static constexpr float | kPanelWidthNarrow = 300.0f |
| static constexpr float | kPanelWidthMedium = 360.0f |
| static constexpr float | kPanelWidthWide = 400.0f |
| static constexpr float | kPanelWidthAgentChat = kPanelWidthWide |
| static constexpr float | kPanelWidthProposals = kPanelWidthWide |
| static constexpr float | kPanelWidthSettings = kPanelWidthMedium |
| static constexpr float | kPanelWidthHelp = 340.0f |
| static constexpr float | kPanelWidthNotifications = kPanelWidthMedium |
| static constexpr float | kPanelWidthProperties = 340.0f |
| static constexpr float | kPanelWidthProject = kPanelWidthMedium |
| static constexpr float | kPanelHeaderHeight = 44.0f |
| static constexpr float | kMaxPanelWidthRatio = 0.35f |
| static constexpr float | kPanelMinWidthAbsolute = 180.0f |
| static constexpr float | kPanelMinWidthAgentChat = 360.0f |
| static constexpr float | kPanelMinWidthProposals = 360.0f |
| static constexpr float | kPanelMinWidthSettings = 340.0f |
| static constexpr float | kPanelMinWidthHelp = 340.0f |
| static constexpr float | kPanelMinWidthNotifications = 300.0f |
| static constexpr float | kPanelMinWidthProperties = 340.0f |
| static constexpr float | kPanelMinWidthProject = 320.0f |
| static constexpr float | kContentMinHeightChat = 120.0f |
| static constexpr float | kContentMinHeightList |
| static constexpr float | kContentMinHeightCanvas |
| static constexpr float | kContentMinWidthSidebar = 160.0f |
| static constexpr float | kIconButtonSmall = 24.0f |
| static constexpr float | kIconButtonMedium = 32.0f |
| static constexpr float | kIconButtonLarge = 48.0f |
| static constexpr float | kIconButtonToolbar = 32.0f |
| static constexpr float | kActivityBarIconWidth = 48.0f |
| static constexpr float | kActivityBarIconHeight = 40.0f |
| static constexpr float | kPanelPaddingSmall = 4.0f |
| static constexpr float | kPanelPaddingMedium = 8.0f |
| static constexpr float | kPanelPaddingLarge = 12.0f |
| static constexpr float | kSplitterWidth = 6.0f |
| static constexpr float | kHeaderButtonSpacing = 6.0f |
| static constexpr float | kHeaderButtonGap = 2.0f |
| static constexpr float | kAnimationSpeed = 8.0f |
| static constexpr float | kAnimationSnapThreshold = 0.01f |
Centralized UI dimension constants.
Replaces scattered magic numbers across the UI layer. All values are in logical pixels and may be scaled by density presets at runtime.
Definition at line 16 of file ui_config.h.
|
staticconstexpr |
Definition at line 18 of file ui_config.h.
Referenced by yaze::editor::ActivityBar::DrawActivityBarStrip().
|
staticconstexpr |
Definition at line 21 of file ui_config.h.
Referenced by yaze::editor::DungeonStatusBar::Draw().
|
staticconstexpr |
Definition at line 24 of file ui_config.h.
|
staticconstexpr |
Definition at line 25 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 26 of file ui_config.h.
|
staticconstexpr |
Definition at line 29 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 30 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 31 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 32 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 33 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 34 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 35 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetDefaultPanelWidth().
|
staticconstexpr |
Definition at line 38 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::DrawPanelHeader(), and yaze::gui::PanelHeader().
|
staticconstexpr |
Definition at line 39 of file ui_config.h.
|
staticconstexpr |
Definition at line 43 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::SetPanelSizeLimits().
|
staticconstexpr |
Definition at line 44 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 45 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 46 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 47 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 48 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 49 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 50 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::GetPanelSizeLimits().
|
staticconstexpr |
Definition at line 53 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::DrawAgentChatPanel().
|
staticconstexpr |
Definition at line 54 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw(), yaze::editor::RightPanelManager::DrawNotificationsPanel(), yaze::editor::DungeonObjectSelector::DrawObjectRenderer(), yaze::editor::ActivityBar::DrawSidePanel(), and yaze::editor::DungeonObjectSelector::DrawTileSelector().
|
staticconstexpr |
Definition at line 56 of file ui_config.h.
Referenced by yaze::editor::DungeonWorkbenchPanel::Draw(), yaze::editor::DungeonObjectSelector::DrawObjectRenderer(), and yaze::editor::DungeonWorkbenchPanel::DrawSplitView().
|
staticconstexpr |
Definition at line 58 of file ui_config.h.
Referenced by yaze::editor::DungeonWorkbenchPanel::Draw(), and yaze::editor::DungeonObjectSelector::DrawObjectRenderer().
|
staticconstexpr |
Definition at line 61 of file ui_config.h.
Referenced by yaze::gui::IconSize::Small().
|
staticconstexpr |
Definition at line 62 of file ui_config.h.
Referenced by yaze::gui::IconSize::Medium().
|
staticconstexpr |
Definition at line 63 of file ui_config.h.
Referenced by yaze::gui::IconSize::Large().
|
staticconstexpr |
Definition at line 64 of file ui_config.h.
Referenced by yaze::gui::PanelHeader(), and yaze::gui::IconSize::Toolbar().
|
staticconstexpr |
Definition at line 67 of file ui_config.h.
Referenced by yaze::gui::IconSize::ActivityBar().
|
staticconstexpr |
Definition at line 68 of file ui_config.h.
Referenced by yaze::gui::IconSize::ActivityBar().
|
staticconstexpr |
Definition at line 71 of file ui_config.h.
|
staticconstexpr |
Definition at line 72 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw().
|
staticconstexpr |
Definition at line 73 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw(), and yaze::editor::RightPanelManager::DrawPanelHeader().
|
staticconstexpr |
Definition at line 76 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw().
|
staticconstexpr |
Definition at line 77 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::DrawPanelHeader().
|
staticconstexpr |
Definition at line 78 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::DrawPanelHeader().
|
staticconstexpr |
Definition at line 81 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw().
|
staticconstexpr |
Definition at line 82 of file ui_config.h.
Referenced by yaze::editor::RightPanelManager::Draw().