3#include <DirectXMath.h>
38 inline static constexpr float Small = 4.0f;
39 inline static constexpr float Medium = 6.0f;
40 inline static constexpr float Large = 8.0f;
资源的强类型引用,同时覆盖持久化 ID 与运行时索引两种边界。
Definition ResourceRef.h:36
Definition Application.h:18
WidgetVisualState
Definition Theme.h:9
float BottomPanelHeight
Definition Theme.h:222
float LeftPanelWidth
Definition Theme.h:220
DirectX::XMFLOAT4 AlternateRowColor
Definition Theme.h:213
DirectX::XMFLOAT4 RowColor
Definition Theme.h:212
float RightPanelWidth
Definition Theme.h:221
float PanelHeight
Definition Theme.h:216
float PanelWidth
Definition Theme.h:215
float ToolbarHeight
Definition Theme.h:219
float RowHeight
Definition Theme.h:217
float RowMargin
Definition Theme.h:218
DirectX::XMFLOAT4 SelectedRowColor
Definition Theme.h:214
float PreviewBorderWidth
Definition Theme.h:168
DirectX::XMFLOAT4 PreviewBorderColor
Definition Theme.h:167
DirectX::XMFLOAT4 PreviewColor
Definition Theme.h:166
float LargeSize
Definition Theme.h:72
float SmallSize
Definition Theme.h:70
StateColorStyle Color
Definition Theme.h:69
float NormalSize
Definition Theme.h:71
DirectX::XMFLOAT4 TitleTextColor
Definition Theme.h:202
float TitleHeight
Definition Theme.h:204
float ContentPadding
Definition Theme.h:205
float ContentSeparatorWidth
Definition Theme.h:206
DirectX::XMFLOAT4 TitleColor
Definition Theme.h:200
float ResizeBorder
Definition Theme.h:207
DirectX::XMFLOAT4 TitleActiveColor
Definition Theme.h:201
DirectX::XMFLOAT4 ContentSeparatorColor
Definition Theme.h:203
float MinHeight
Definition Theme.h:51
DirectX::XMFLOAT4 Color
Definition Theme.h:45
float BorderWidth
Definition Theme.h:47
DirectX::XMFLOAT4 BorderColor
Definition Theme.h:46
float Margin
Definition Theme.h:48
float MinWidth
Definition Theme.h:50
float Padding
Definition Theme.h:49
float CornerRadius
Definition Theme.h:52
DirectX::XMFLOAT4 TrackColor
Definition Theme.h:102
StateColorStyle ThumbColor
Definition Theme.h:104
float CornerRadius
Definition Theme.h:109
float TrackThickness
Definition Theme.h:107
float MinimumWidth
Definition Theme.h:106
float ControlHeight
Definition Theme.h:105
DirectX::XMFLOAT4 FillColor
Definition Theme.h:103
float ThumbSize
Definition Theme.h:108
static constexpr float Small
Definition Theme.h:38
static constexpr float Large
Definition Theme.h:40
static constexpr float ExtraSmall
Definition Theme.h:37
static constexpr float Medium
Definition Theme.h:39
DirectX::XMFLOAT4 Disabled
Definition Theme.h:29
const DirectX::XMFLOAT4 & Resolve(WidgetVisualState state) const
Definition Theme.cpp:8
DirectX::XMFLOAT4 Focused
Definition Theme.h:30
DirectX::XMFLOAT4 Normal
Definition Theme.h:25
DirectX::XMFLOAT4 Hovered
Definition Theme.h:26
DirectX::XMFLOAT4 Pressed
Definition Theme.h:27
DirectX::XMFLOAT4 Selected
Definition Theme.h:28
float Height
Definition Theme.h:178
StateColorStyle BackgroundColor
Definition Theme.h:173
float MinWidth
Definition Theme.h:179
StateColorStyle ForegroundColor
Definition Theme.h:174
DirectX::XMFLOAT4 SeparatorColor
Definition Theme.h:177
float IconMargin
Definition Theme.h:182
float AccentHeight
Definition Theme.h:184
StateColorStyle IconColor
Definition Theme.h:175
float FixedContentWidth
Definition Theme.h:183
float CornerRadius
Definition Theme.h:185
float MaxWidth
Definition Theme.h:180
DirectX::XMFLOAT4 AccentColor
Definition Theme.h:176
float IconSize
Definition Theme.h:181
StateColorStyle ForegroundColor
Definition Theme.h:115
float ControlHeight
Definition Theme.h:120
float CaretWidth
Definition Theme.h:124
float BorderWidth
Definition Theme.h:123
DirectX::XMFLOAT4 FocusedBorderColor
Definition Theme.h:118
float ContentPadding
Definition Theme.h:122
DirectX::XMFLOAT4 BorderColor
Definition Theme.h:117
float MinimumWidth
Definition Theme.h:121
DirectX::XMFLOAT4 PlaceholderColor
Definition Theme.h:116
float CornerRadius
Definition Theme.h:125
StateColorStyle BackgroundColor
Definition Theme.h:114
DirectX::XMFLOAT4 CaretColor
Definition Theme.h:119
std::wstring FontFamily
Definition Theme.h:60
float LineHeight
Definition Theme.h:64
float FontSize
Definition Theme.h:61
float SmallFontSize
Definition Theme.h:62
float HeadingFontSize
Definition Theme.h:63
DirectX::XMFLOAT4 MutedColor
Definition Theme.h:58
DirectX::XMFLOAT4 DisabledColor
Definition Theme.h:59
DirectX::XMFLOAT4 Color
Definition Theme.h:57
TabStyle Tab
Definition Theme.h:243
static const Theme & UnrealEditor()
Definition Theme.cpp:26
ButtonStyle Button
Definition Theme.h:235
DockStyle Dock
Definition Theme.h:242
TextStyle Text
Definition Theme.h:233
ScrollBarStyle ScrollBar
Definition Theme.h:244
static const Theme & Default()
Definition Theme.h:248
TreeViewStyle TreeView
Definition Theme.h:239
SliderStyle Slider
Definition Theme.h:237
ToolBarStyle ToolBar
Definition Theme.h:241
RectStyle Rect
Definition Theme.h:232
DemoStyle Demo
Definition Theme.h:246
TextInputStyle TextInput
Definition Theme.h:238
MenuStyle Menu
Definition Theme.h:240
IconStyle Icon
Definition Theme.h:234
ToggleStyle Toggle
Definition Theme.h:236
PanelStyle Panel
Definition Theme.h:245
StateColorStyle ForegroundColor
Definition Theme.h:90
StateColorStyle IndicatorColor
Definition Theme.h:89
DirectX::XMFLOAT4 BorderColor
Definition Theme.h:91
float BorderWidth
Definition Theme.h:93
float IndicatorSize
Definition Theme.h:95
float ContentGap
Definition Theme.h:97
float CornerRadius
Definition Theme.h:96
float ControlHeight
Definition Theme.h:94
DirectX::XMFLOAT4 FocusedBorderColor
Definition Theme.h:92
float ContentGap
Definition Theme.h:136
float IconSize
Definition Theme.h:135
StateColorStyle ForegroundColor
Definition Theme.h:131
float RowHeight
Definition Theme.h:133
float Indent
Definition Theme.h:134
StateColorStyle RowColor
Definition Theme.h:130
StateColorStyle IconColor
Definition Theme.h:132