DreamGUI
类参考

FDreamRingMenuStyle

A ring menu: wedges around a hub, and the geometry that decides where they sit.

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

Declared in Public/Controls/DreamControlStyles.h.

A ring menu: wedges around a hub, and the geometry that decides where they sit.

Bigger than the other style structs in this file, and it has to be: a ring menu has no natural size the way a button has a height. Where the ring begins and ends, how far round it runs, how wide the gaps are and where the labels ride are all APPEARANCE -- a project themes its wheels once, and a designer who wants a half-ring on the left edge of the screen gets there without a subclass. What the menu CONTAINS, and how it answers a pointer, stays on the control.

Every radius is in local units, measured from the ring's centre.

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
OuterRadiusfloatRing Menu StyleGeometryyesread / write
InnerRadiusfloatRing Menu StyleGeometryyesread / write
StartAnglefloatRing Menu StyleGeometryyesread / write
SweepAnglefloatRing Menu StyleGeometryyesread / write
ItemGapAnglefloatRing Menu StyleGeometryyesread / write
HighlightGrowthfloatRing Menu StyleGeometryyesread / write
ContentRadiusfloatRing Menu StyleGeometryyesread / write
ContentWidthfloatRing Menu StyleGeometryyesread / write
WedgeNormalFColorRing Menu StyleColorsyesread / write
WedgeHoveredFColorRing Menu StyleColorsyesread / write
WedgePressedFColorRing Menu StyleColorsyesread / write
WedgeSelectedFColorRing Menu StyleColorsyesread / write
WedgeDisabledFColorRing Menu StyleColorsyesread / write
WedgeFocusedFColorRing Menu StyleColorsyesread / write
TransitionDurationfloatRing Menu StyleColorsyesread / write
BackdropColorFColorRing Menu StyleColorsyesread / write
HubColorFColorRing Menu StyleColorsyesread / write
LabelColorFColorRing Menu StyleTextyesread / write
LabelSelectedColorFColorRing Menu StyleTextyesread / write
LabelDisabledColorFColorRing Menu StyleTextyesread / write
FontSizefloatRing Menu StyleTextyesread / write
HubTextColorFColorRing Menu StyleTextyesread / write
HubFontSizefloatRing Menu StyleTextyesread / write
IconSizeFVector2DRing Menu StyleTextyesread / write
IconSpacingfloatRing Menu StyleTextyesread / write
LabelHeightfloatRing Menu StyleTextyesread / write
OpenDurationfloatRing Menu StyleOpenyesread / write
OpenScaleFromfloatRing Menu StyleOpenyesread / write

本页目录