mitiru::ui::LayoutPresets

Namespace catalog extracted from docs/API_CATALOG.md (6 types, 43 items).

Namespace catalog extracted from docs/API_CATALOG.md (6 types, 43 items).

NameKindItems
MenuLayoutstruct12
VNLayoutstruct12
TwoColumnLayoutstruct5
HUDLayoutstruct6
SplitLayoutstruct6
DashboardLayoutstruct2
struct MenuLayout 12
sgc::Rectf title
sgc::Rectf hint
sgc::Rectf listArea
sgc::Rectf pageInfo
sgc::Rectf footer
sgc::Rectf scrollTrack
float marginX = 0.0f
float headerH = 0.0f
float footerH = 0.0f
float listWidth = 0.0f
float listHeight = 0.0f
[[nodiscard]] static MenuLayout compute( float screenW, float screenH, float margin = 60.0f) noexcept
struct VNLayout 12
sgc::Rectf messageWindow
sgc::Rectf textArea
sgc::Rectf namePlate
sgc::Rectf autoIndicator
sgc::Rectf waitIndicator
sgc::Rectf choiceArea
sgc::Rectf backlogPanel
float characterLeft = 0.0f
float characterCenter = 0.0f
float characterRight = 0.0f
float characterBottomY = 0.0f
[[nodiscard]] static VNLayout compute(float screenW, float screenH) noexcept
struct TwoColumnLayout 5
sgc::Rectf header
sgc::Rectf left
sgc::Rectf right
float contentY = 0.0f
[[nodiscard]] static TwoColumnLayout compute( float screenW, float screenH, float headerH = 36.0f, float padding = 30.0f, float gap = 20.0f) noexcept
struct HUDLayout 6
sgc::Rectf topBar
sgc::Rectf bottomBar
sgc::Rectf minimap
sgc::Rectf dialogue
sgc::Rectf center
[[nodiscard]] static HUDLayout compute( float screenW, float screenH, float topH = 40.0f, float bottomH = 120.0f, float minimapSize = 150.0f) noexcept
struct SplitLayout 6
sgc::Rectf left
sgc::Rectf right
sgc::Rectf top
sgc::Rectf bottom
sgc::Rectf center
[[nodiscard]] static SplitLayout compute( float screenW, float screenH, float leftW = 250.0f, float rightW = 300.0f, float topH = 40.0f, float bottomH = 30.0f) noexcept
struct DashboardLayout 2
std::vector<sgc::Rectf> cards
[[nodiscard]] static DashboardLayout compute( float screenW, float screenH, int cols, float cardHeight, float gap = 16.0f) noexcept

Sourced from docs/API_CATALOG.md, auto-generated by tools/generate_api_catalog.py.