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

#include <Theme.h>

z8::ui::MenuStyle 的协作图:
Collaboration graph
[图例]

Public 属性

StateColorStyle BackgroundColor
 
StateColorStyle ForegroundColor
 
DirectX::XMFLOAT4 PopupColor
 
DirectX::XMFLOAT4 PopupBorderColor
 
float MenuBarHeight = 28.0f
 
float ItemHeight = 24.0f
 
float PopupWidth = 184.0f
 
float HorizontalPadding = SpacingStyle::Medium
 
float PopupPadding = SpacingStyle::ExtraSmall
 
float IconSize = 12.0f
 
float BorderWidth = 1.0f
 
float CornerRadius = 2.0f
 

详细描述

Menu 触发项、弹出表面和级联目录共用的紧凑编辑器样式。

类成员变量说明

◆ BackgroundColor

StateColorStyle z8::ui::MenuStyle::BackgroundColor

◆ BorderWidth

float z8::ui::MenuStyle::BorderWidth = 1.0f

◆ CornerRadius

float z8::ui::MenuStyle::CornerRadius = 2.0f

◆ ForegroundColor

StateColorStyle z8::ui::MenuStyle::ForegroundColor

◆ HorizontalPadding

float z8::ui::MenuStyle::HorizontalPadding = SpacingStyle::Medium

◆ IconSize

float z8::ui::MenuStyle::IconSize = 12.0f

◆ ItemHeight

float z8::ui::MenuStyle::ItemHeight = 24.0f

◆ MenuBarHeight

float z8::ui::MenuStyle::MenuBarHeight = 28.0f

◆ PopupBorderColor

DirectX::XMFLOAT4 z8::ui::MenuStyle::PopupBorderColor

◆ PopupColor

DirectX::XMFLOAT4 z8::ui::MenuStyle::PopupColor

◆ PopupPadding

float z8::ui::MenuStyle::PopupPadding = SpacingStyle::ExtraSmall

◆ PopupWidth

float z8::ui::MenuStyle::PopupWidth = 184.0f

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