DreamGUI
类参考

FDreamButtonStyle

A button: one face, three pointer states, a label.

本页由 DreamGUIReferenceDocs commandlet 从反射生成,正文是头文件注释的原文(英文),所以不翻译——这样它永远和代码一致。概念讲解见核心概念。

Declared in Public/Controls/DreamControlStyles.h.

A button: one face, three pointer states, a label.

The face colours are absolute -- the brush stays white and the selectable writes these onto it -- rather than the gallery's habit of a coloured brush multiplied by near-white transition tints. Absolute colours are the ones a style sheet can actually reason about; a product of two sources is a look nobody can name.

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
HeightfloatButton Styleyesread / write
NormalFColorButton Styleyesread / write
HoveredFColorButton Styleyesread / write
PressedFColorButton Styleyesread / write
DisabledFColorButton Styleyesread / write
FocusedFColorButton Styleyesread / write
TransitionDurationfloatButton Styleyesread / write
ContentPaddingFMarginButton Styleyesread / write
CornerRadiusfloatButton Styleyesread / write
FaceBrushFDreamUIFaceBrushButton Styleyesread / write
StateFacesFDreamUIStateFacesButton Styleyesread / write

本页目录