slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
z8::ui::DemoStyle结构体 参考

#include <Theme.h>

Public 属性

DirectX::XMFLOAT4 RowColor
 
DirectX::XMFLOAT4 AlternateRowColor
 
DirectX::XMFLOAT4 SelectedRowColor
 
float PanelWidth = 360.0f
 
float PanelHeight = 320.0f
 
float RowHeight = 28.0f
 
float RowMargin = SpacingStyle::ExtraSmall
 
float ToolbarHeight = 36.0f
 
float LeftPanelWidth = 260.0f
 
float RightPanelWidth = 300.0f
 
float BottomPanelHeight = 180.0f
 

详细描述

Demo 使用主题语义展示控件,避免示例代码重新发明尺寸和颜色。

类成员变量说明

◆ AlternateRowColor

DirectX::XMFLOAT4 z8::ui::DemoStyle::AlternateRowColor

◆ BottomPanelHeight

float z8::ui::DemoStyle::BottomPanelHeight = 180.0f

◆ LeftPanelWidth

float z8::ui::DemoStyle::LeftPanelWidth = 260.0f

◆ PanelHeight

float z8::ui::DemoStyle::PanelHeight = 320.0f

◆ PanelWidth

float z8::ui::DemoStyle::PanelWidth = 360.0f

◆ RightPanelWidth

float z8::ui::DemoStyle::RightPanelWidth = 300.0f

◆ RowColor

DirectX::XMFLOAT4 z8::ui::DemoStyle::RowColor

◆ RowHeight

float z8::ui::DemoStyle::RowHeight = 28.0f

◆ RowMargin

float z8::ui::DemoStyle::RowMargin = SpacingStyle::ExtraSmall

◆ SelectedRowColor

DirectX::XMFLOAT4 z8::ui::DemoStyle::SelectedRowColor

◆ ToolbarHeight

float z8::ui::DemoStyle::ToolbarHeight = 36.0f

该结构体的文档由以下文件生成: