载入中...
搜索中...
未找到
eve::ui::WidgetDesc结构体 参考

Declarative widget description (build once / on dirty → flatten into UIHost::Tree). 更多...

#include <Widget.h>

Public 成员函数

WidgetDesc & withId (std::string v)
 With id.
 
WidgetDesc & withKey (std::string v)
 With key.
 
WidgetDesc & withText (std::string v)
 With text.
 
WidgetDesc & withValueText (std::string v)
 With value text.
 
WidgetDesc & withTooltip (std::string v)
 With tooltip.
 
WidgetDesc & withVisible (bool v)
 With visible.
 
WidgetDesc & withEnabled (bool v)
 Sets whether the widget accepts interaction.
 
WidgetDesc & withFocusMode (FocusMode v)
 Selects how the widget participates in keyboard focus navigation.
 
WidgetDesc & withMouseFilter (MouseFilter v)
 Selects whether pointer input stops, passes through, or ignores this widget.
 
WidgetDesc & withTheme (ThemePreset v)
 Overrides the built-in theme for this widget subtree.
 
WidgetDesc & withTabIndex (int v)
 Sets the stable ordering hint used by sequential focus traversal.
 
WidgetDesc & withFocusOrder (std::string previous, std::string next)
 Assigns explicit previous and next focus-neighbor widget identifiers.
 
WidgetDesc & withFocusNeighbors (std::string left, std::string right, std::string up, std::string down)
 Assigns explicit directional focus-neighbor widget identifiers.
 
WidgetDesc & withAccessibility (AccessibilityRole role, std::string name, std::string description={})
 Supplies the semantic role and labels exposed to accessibility clients.
 
WidgetDesc & withDragSource (std::string payloadType, std::string payloadText)
 Marks this widget as a desktop drag source with an owning text payload.
 
WidgetDesc & withDropTarget (std::string acceptedType)
 Marks this widget as a desktop drop target for one type or "*".
 
WidgetDesc & withChecked (bool v)
 With checked.
 
WidgetDesc & withOpen (bool v)
 With open.
 
WidgetDesc & withValue (float v)
 With value.
 
WidgetDesc & withRange (float lo, float hi)
 With range.
 
WidgetDesc & withSize (float w, float h)
 With size.
 
WidgetDesc & withMargin (float l, float t, float r, float b)
 With margin.
 
WidgetDesc & withPadding (float l, float t, float r, float b)
 With padding.
 
WidgetDesc & withMinSize (float w, float h)
 With min size.
 
WidgetDesc & withMaxSize (float w, float h)
 With max size.
 
WidgetDesc & withPercent (float w, float h)
 With percent.
 
WidgetDesc & withStyleClass (std::string v)
 Applies a named sparse style class resolved when the tree is built.
 
WidgetDesc & withAspectRatio (float ratio)
 With aspect ratio.
 
WidgetDesc & withAbsolute (float ax, float ay, float x=0.f, float y=0.f)
 With absolute.
 
WidgetDesc & withTint (float r, float g, float b, float a=1.f)
 With tint.
 
WidgetDesc & withUv (float u0, float v0, float u1, float v1)
 With uv.
 
WidgetDesc & withNinePatch (float l, float t, float r, float b)
 With nine patch.
 
WidgetDesc & withCornerRadius (float radius)
 With corner radius.
 
WidgetDesc & withWrap (float width)
 With wrap.
 
WidgetDesc & withItemHeight (float height)
 With item height.
 
WidgetDesc & withGap (float g)
 With gap.
 
WidgetDesc & withGaps (float columns, float rows)
 With gaps.
 
WidgetDesc & withFlexWrap (FlexWrap wrap)
 With flex wrap.
 
WidgetDesc & withOverflow (OverflowMode mode)
 With overflow.
 
WidgetDesc & withGridColumnSpan (int span)
 With grid column span.
 
WidgetDesc & withFlexDirection (FlexDirection d)
 With flex direction.
 
WidgetDesc & withAlign (FlexAlign a)
 With align.
 
WidgetDesc & withJustify (FlexJustify j)
 With justify.
 
WidgetDesc & withFlexGrow (float g)
 With flex grow.
 
WidgetDesc & withFlexShrink (float shrink)
 With flex shrink.
 
WidgetDesc & withFlexBasis (float basis)
 With flex basis.
 
WidgetDesc & withAlignSelf (FlexAlign align)
 With align self.
 
WidgetDesc & withClick (std::function< void()> fn)
 With click.
 
WidgetDesc & withToggle (std::function< void(bool)> fn)
 With toggle.
 
WidgetDesc & withValueFn (std::function< void(float)> fn)
 With value fn.
 
WidgetDesc & withTextChange (std::function< void(const std::string &)> fn)
 With text change.
 
WidgetDesc & child (WidgetDesc c)
 Child.
 
const std::string & reconcileKey () const
 Reconcile key.
 

Public 属性

NodeType type = NodeType::Text
 
std::string id
 
std::string key
 Reconciliation key; defaults to id when empty.
 
std::string text
 
std::string valueText
 
std::string tooltip
 
bool visible = true
 
bool enabled = true
 
bool checked = false
 
bool open = true
 
FocusMode focusMode = FocusMode::All
 
MouseFilter mouseFilter = MouseFilter::Stop
 
ThemePreset themePreset = ThemePreset::Inherit
 
std::string styleClass
 
int tabIndex = 0
 
std::string focusNext
 
std::string focusPrevious
 
std::string focusLeft
 
std::string focusRight
 
std::string focusUp
 
std::string focusDown
 
AccessibilityRole accessibilityRole = AccessibilityRole::Auto
 
std::string accessibilityName
 
std::string accessibilityDescription
 
bool dragSource = false
 
bool dropTarget = false
 
std::string dragPayloadType
 
std::string dragPayloadText
 
std::string acceptedDropType
 
float value = 0.f
 
float minValue = 0.f
 
float maxValue = 1.f
 
float sizeX = 0.f
 
float sizeY = 0.f
 
float marginL = 0.f
 
float marginT = 0.f
 
float marginR = 0.f
 
float marginB = 0.f
 
float paddingL = 0.f
 
float paddingT = 0.f
 
float paddingR = 0.f
 
float paddingB = 0.f
 
float minSizeX = 0.f
 
float minSizeY = 0.f
 
float maxSizeX = 0.f
 
float maxSizeY = 0.f
 
float percentW = 0.f
 
float percentH = 0.f
 
float aspectRatio = 0.f
 
float anchorX = 0.f
 
float anchorY = 0.f
 
float posX = 0.f
 
float posY = 0.f
 
bool absolute = false
 
uint64_t textureId = 0
 
float tintR = 1.f
 
float tintG = 1.f
 
float tintB = 1.f
 
float tintA = 1.f
 
float uv0x = 0.f
 
float uv0y = 0.f
 
float uv1x = 1.f
 
float uv1y = 1.f
 
float borderL = 0.f
 
float borderT = 0.f
 
float borderR = 0.f
 
float borderB = 0.f
 
float cornerRadius = 0.f
 
float wrapWidth = 0.f
 
float itemHeight = 0.f
 
FlexDirection flexDirection = FlexDirection::Row
 
FlexAlign alignItems = FlexAlign::Start
 
FlexJustify justifyContent = FlexJustify::Start
 
float gap = -1.f
 
float flexGrow = 0.f
 
float flexShrink = 1.f
 
float flexBasis = -1.f
 
int alignSelf = -1
 
float columnGap = -1.f
 
float rowGap = -1.f
 
FlexWrap flexWrap = FlexWrap::NoWrap
 
OverflowMode overflow = OverflowMode::Visible
 
int gridColumns = 1
 
int gridColumnSpan = 1
 
std::function< void()> onClick
 Void.
 
std::function< void(bool)> onToggle
 Void.
 
std::function< void(float)> onValue
 Void.
 
std::function< void(const std::string &)> onTextChange
 Void.
 
std::vector< WidgetDesc > children
 

详细描述

Declarative widget description (build once / on dirty → flatten into UIHost::Tree).

在文件 Widget.h 第 15 行定义.

成员函数说明

◆ child()

WidgetDesc & eve::ui::WidgetDesc::child ( WidgetDesc  c)
inline

Child.

在文件 Widget.h 第 407 行定义.

引用了 c , 以及 children.

◆ reconcileKey()

const std::string & eve::ui::WidgetDesc::reconcileKey ( ) const
inline

Reconcile key.

在文件 Widget.h 第 413 行定义.

引用了 id , 以及 key.

◆ withAbsolute()

WidgetDesc & eve::ui::WidgetDesc::withAbsolute ( float  ax,
float  ay,
float  x = 0.f,
float  y = 0.f 
)
inline

With absolute.

Place absolutely inside a Flex parent: (ax,ay) anchor in parent, (x,y) offset.

在文件 Widget.h 第 277 行定义.

引用了 absolute, anchorX, anchorY, ax, ay, posX, posY, x , 以及 y.

◆ withAccessibility()

WidgetDesc & eve::ui::WidgetDesc::withAccessibility ( AccessibilityRole  role,
std::string  name,
std::string  description = {} 
)
inline

Supplies the semantic role and labels exposed to accessibility clients.

在文件 Widget.h 第 184 行定义.

被这些函数引用 eve::ui::buildPropertyField().

◆ withAlign()

WidgetDesc & eve::ui::WidgetDesc::withAlign ( FlexAlign  a)
inline

With align.

在文件 Widget.h 第 357 行定义.

引用了 a , 以及 alignItems.

◆ withAlignSelf()

WidgetDesc & eve::ui::WidgetDesc::withAlignSelf ( FlexAlign  align)
inline

With align self.

在文件 Widget.h 第 382 行定义.

引用了 alignSelf.

◆ withAspectRatio()

WidgetDesc & eve::ui::WidgetDesc::withAspectRatio ( float  ratio)
inline

With aspect ratio.

在文件 Widget.h 第 271 行定义.

引用了 aspectRatio.

◆ withChecked()

WidgetDesc & eve::ui::WidgetDesc::withChecked ( bool  v)
inline

With checked.

在文件 Widget.h 第 205 行定义.

引用了 checked , 以及 v.

◆ withClick()

WidgetDesc & eve::ui::WidgetDesc::withClick ( std::function< void()>  fn)
inline

With click.

在文件 Widget.h 第 387 行定义.

引用了 fn , 以及 onClick.

◆ withCornerRadius()

WidgetDesc & eve::ui::WidgetDesc::withCornerRadius ( float  radius)
inline

With corner radius.

在文件 Widget.h 第 311 行定义.

引用了 cornerRadius , 以及 radius.

◆ withDragSource()

WidgetDesc & eve::ui::WidgetDesc::withDragSource ( std::string  payloadType,
std::string  payloadText 
)
inline

Marks this widget as a desktop drag source with an owning text payload.

在文件 Widget.h 第 192 行定义.

引用了 dragPayloadText, dragPayloadType, dragSource, payloadText , 以及 payloadType.

◆ withDropTarget()

WidgetDesc & eve::ui::WidgetDesc::withDropTarget ( std::string  acceptedType)
inline

Marks this widget as a desktop drop target for one type or "*".

在文件 Widget.h 第 199 行定义.

引用了 acceptedDropType , 以及 dropTarget.

◆ withEnabled()

WidgetDesc & eve::ui::WidgetDesc::withEnabled ( bool  v)
inline

Sets whether the widget accepts interaction.

在文件 Widget.h 第 144 行定义.

引用了 enabled , 以及 v.

◆ withFlexBasis()

WidgetDesc & eve::ui::WidgetDesc::withFlexBasis ( float  basis)
inline

With flex basis.

在文件 Widget.h 第 377 行定义.

引用了 flexBasis.

◆ withFlexDirection()

WidgetDesc & eve::ui::WidgetDesc::withFlexDirection ( FlexDirection  d)
inline

With flex direction.

在文件 Widget.h 第 352 行定义.

引用了 d , 以及 flexDirection.

◆ withFlexGrow()

WidgetDesc & eve::ui::WidgetDesc::withFlexGrow ( float  g)
inline

With flex grow.

在文件 Widget.h 第 367 行定义.

引用了 flexGrow , 以及 g.

◆ withFlexShrink()

WidgetDesc & eve::ui::WidgetDesc::withFlexShrink ( float  shrink)
inline

With flex shrink.

在文件 Widget.h 第 372 行定义.

引用了 flexShrink.

◆ withFlexWrap()

WidgetDesc & eve::ui::WidgetDesc::withFlexWrap ( FlexWrap  wrap)
inline

With flex wrap.

在文件 Widget.h 第 337 行定义.

引用了 flexWrap.

◆ withFocusMode()

WidgetDesc & eve::ui::WidgetDesc::withFocusMode ( FocusMode  v)
inline

Selects how the widget participates in keyboard focus navigation.

在文件 Widget.h 第 149 行定义.

引用了 focusMode , 以及 v.

被这些函数引用 eve::ui::buildPropertyField().

◆ withFocusNeighbors()

WidgetDesc & eve::ui::WidgetDesc::withFocusNeighbors ( std::string  left,
std::string  right,
std::string  up,
std::string  down 
)
inline

Assigns explicit directional focus-neighbor widget identifiers.

在文件 Widget.h 第 175 行定义.

引用了 focusDown, focusLeft, focusRight, focusUp, left, right , 以及 up.

◆ withFocusOrder()

WidgetDesc & eve::ui::WidgetDesc::withFocusOrder ( std::string  previous,
std::string  next 
)
inline

Assigns explicit previous and next focus-neighbor widget identifiers.

在文件 Widget.h 第 169 行定义.

引用了 focusNext, focusPrevious , 以及 previous.

◆ withGap()

WidgetDesc & eve::ui::WidgetDesc::withGap ( float  g)
inline

With gap.

在文件 Widget.h 第 326 行定义.

引用了 g , 以及 gap.

◆ withGaps()

WidgetDesc & eve::ui::WidgetDesc::withGaps ( float  columns,
float  rows 
)
inline

With gaps.

在文件 Widget.h 第 331 行定义.

引用了 columnGap, columns, rowGap , 以及 rows.

◆ withGridColumnSpan()

WidgetDesc & eve::ui::WidgetDesc::withGridColumnSpan ( int  span)
inline

With grid column span.

在文件 Widget.h 第 347 行定义.

引用了 gridColumnSpan.

◆ withId()

WidgetDesc & eve::ui::WidgetDesc::withId ( std::string  v)
inline

With id.

在文件 Widget.h 第 114 行定义.

引用了 v.

◆ withItemHeight()

WidgetDesc & eve::ui::WidgetDesc::withItemHeight ( float  height)
inline

With item height.

在文件 Widget.h 第 321 行定义.

引用了 height , 以及 itemHeight.

◆ withJustify()

WidgetDesc & eve::ui::WidgetDesc::withJustify ( FlexJustify  j)
inline

With justify.

在文件 Widget.h 第 362 行定义.

引用了 justifyContent.

◆ withKey()

WidgetDesc & eve::ui::WidgetDesc::withKey ( std::string  v)
inline

With key.

在文件 Widget.h 第 119 行定义.

引用了 key , 以及 v.

被这些函数引用 eve::ui::listButtons() , 以及 eve::ui::virtualList().

◆ withMargin()

WidgetDesc & eve::ui::WidgetDesc::withMargin ( float  l,
float  t,
float  r,
float  b 
)
inline

With margin.

在文件 Widget.h 第 232 行定义.

引用了 b, marginB, marginL, marginR, marginT, r , 以及 t.

◆ withMaxSize()

WidgetDesc & eve::ui::WidgetDesc::withMaxSize ( float  w,
float  h 
)
inline

With max size.

在文件 Widget.h 第 254 行定义.

引用了 h, maxSizeX, maxSizeY , 以及 w.

◆ withMinSize()

WidgetDesc & eve::ui::WidgetDesc::withMinSize ( float  w,
float  h 
)
inline

With min size.

在文件 Widget.h 第 248 行定义.

引用了 h, minSizeX, minSizeY , 以及 w.

◆ withMouseFilter()

WidgetDesc & eve::ui::WidgetDesc::withMouseFilter ( MouseFilter  v)
inline

Selects whether pointer input stops, passes through, or ignores this widget.

在文件 Widget.h 第 154 行定义.

引用了 mouseFilter , 以及 v.

被这些函数引用 eve::ui::buildPropertyField().

◆ withNinePatch()

WidgetDesc & eve::ui::WidgetDesc::withNinePatch ( float  l,
float  t,
float  r,
float  b 
)
inline

With nine patch.

Nine-patch borders in px; keeps the middle stretchable.

在文件 Widget.h 第 303 行定义.

引用了 b, borderB, borderL, borderR, borderT, r , 以及 t.

◆ withOpen()

WidgetDesc & eve::ui::WidgetDesc::withOpen ( bool  v)
inline

With open.

在文件 Widget.h 第 210 行定义.

引用了 open , 以及 v.

◆ withOverflow()

WidgetDesc & eve::ui::WidgetDesc::withOverflow ( OverflowMode  mode)
inline

With overflow.

在文件 Widget.h 第 342 行定义.

引用了 overflow.

◆ withPadding()

WidgetDesc & eve::ui::WidgetDesc::withPadding ( float  l,
float  t,
float  r,
float  b 
)
inline

With padding.

在文件 Widget.h 第 240 行定义.

引用了 b, paddingB, paddingL, paddingR, paddingT, r , 以及 t.

◆ withPercent()

WidgetDesc & eve::ui::WidgetDesc::withPercent ( float  w,
float  h 
)
inline

With percent.

在文件 Widget.h 第 260 行定义.

引用了 h, percentH, percentW , 以及 w.

◆ withRange()

WidgetDesc & eve::ui::WidgetDesc::withRange ( float  lo,
float  hi 
)
inline

With range.

在文件 Widget.h 第 220 行定义.

引用了 maxValue , 以及 minValue.

◆ withSize()

WidgetDesc & eve::ui::WidgetDesc::withSize ( float  w,
float  h 
)
inline

With size.

在文件 Widget.h 第 226 行定义.

引用了 h, sizeX, sizeY , 以及 w.

◆ withStyleClass()

WidgetDesc & eve::ui::WidgetDesc::withStyleClass ( std::string  v)
inline

Applies a named sparse style class resolved when the tree is built.

在文件 Widget.h 第 266 行定义.

引用了 styleClass , 以及 v.

◆ withTabIndex()

WidgetDesc & eve::ui::WidgetDesc::withTabIndex ( int  v)
inline

Sets the stable ordering hint used by sequential focus traversal.

在文件 Widget.h 第 164 行定义.

引用了 tabIndex , 以及 v.

◆ withText()

WidgetDesc & eve::ui::WidgetDesc::withText ( std::string  v)
inline

With text.

在文件 Widget.h 第 124 行定义.

引用了 text , 以及 v.

◆ withTextChange()

WidgetDesc & eve::ui::WidgetDesc::withTextChange ( std::function< void(const std::string &)>  fn)
inline

With text change.

在文件 Widget.h 第 402 行定义.

引用了 fn , 以及 onTextChange.

◆ withTheme()

WidgetDesc & eve::ui::WidgetDesc::withTheme ( ThemePreset  v)
inline

Overrides the built-in theme for this widget subtree.

在文件 Widget.h 第 159 行定义.

引用了 themePreset , 以及 v.

◆ withTint()

WidgetDesc & eve::ui::WidgetDesc::withTint ( float  r,
float  g,
float  b,
float  a = 1.f 
)
inline

With tint.

在文件 Widget.h 第 286 行定义.

引用了 a, b, g, r, tintA, tintB, tintG , 以及 tintR.

◆ withToggle()

WidgetDesc & eve::ui::WidgetDesc::withToggle ( std::function< void(bool)>  fn)
inline

With toggle.

在文件 Widget.h 第 392 行定义.

引用了 fn , 以及 onToggle.

◆ withTooltip()

WidgetDesc & eve::ui::WidgetDesc::withTooltip ( std::string  v)
inline

With tooltip.

在文件 Widget.h 第 134 行定义.

引用了 tooltip , 以及 v.

◆ withUv()

WidgetDesc & eve::ui::WidgetDesc::withUv ( float  u0,
float  v0,
float  u1,
float  v1 
)
inline

With uv.

在文件 Widget.h 第 294 行定义.

引用了 uv0x, uv0y, uv1x , 以及 uv1y.

◆ withValue()

WidgetDesc & eve::ui::WidgetDesc::withValue ( float  v)
inline

With value.

在文件 Widget.h 第 215 行定义.

引用了 v , 以及 value.

◆ withValueFn()

WidgetDesc & eve::ui::WidgetDesc::withValueFn ( std::function< void(float)>  fn)
inline

With value fn.

在文件 Widget.h 第 397 行定义.

引用了 fn , 以及 onValue.

◆ withValueText()

WidgetDesc & eve::ui::WidgetDesc::withValueText ( std::string  v)
inline

With value text.

在文件 Widget.h 第 129 行定义.

引用了 v , 以及 valueText.

◆ withVisible()

WidgetDesc & eve::ui::WidgetDesc::withVisible ( bool  v)
inline

With visible.

在文件 Widget.h 第 139 行定义.

引用了 v , 以及 visible.

◆ withWrap()

WidgetDesc & eve::ui::WidgetDesc::withWrap ( float  width)
inline

With wrap.

在文件 Widget.h 第 316 行定义.

引用了 width , 以及 wrapWidth.

类成员变量说明

◆ absolute

bool eve::ui::WidgetDesc::absolute = false

在文件 Widget.h 第 71 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withAbsolute().

◆ acceptedDropType

std::string eve::ui::WidgetDesc::acceptedDropType

在文件 Widget.h 第 45 行定义.

被这些函数引用 withDropTarget().

◆ accessibilityDescription

std::string eve::ui::WidgetDesc::accessibilityDescription

在文件 Widget.h 第 40 行定义.

◆ accessibilityName

std::string eve::ui::WidgetDesc::accessibilityName

在文件 Widget.h 第 39 行定义.

◆ accessibilityRole

AccessibilityRole eve::ui::WidgetDesc::accessibilityRole = AccessibilityRole::Auto

在文件 Widget.h 第 38 行定义.

◆ alignItems

FlexAlign eve::ui::WidgetDesc::alignItems = FlexAlign::Start

在文件 Widget.h 第 90 行定义.

被这些函数引用 withAlign().

◆ alignSelf

int eve::ui::WidgetDesc::alignSelf = -1

在文件 Widget.h 第 96 行定义.

被这些函数引用 withAlignSelf().

◆ anchorX

float eve::ui::WidgetDesc::anchorX = 0.f

在文件 Widget.h 第 67 行定义.

被这些函数引用 withAbsolute().

◆ anchorY

float eve::ui::WidgetDesc::anchorY = 0.f

在文件 Widget.h 第 68 行定义.

被这些函数引用 withAbsolute().

◆ aspectRatio

float eve::ui::WidgetDesc::aspectRatio = 0.f

◆ borderB

float eve::ui::WidgetDesc::borderB = 0.f

在文件 Widget.h 第 85 行定义.

被这些函数引用 withNinePatch().

◆ borderL

float eve::ui::WidgetDesc::borderL = 0.f

在文件 Widget.h 第 82 行定义.

被这些函数引用 withNinePatch().

◆ borderR

float eve::ui::WidgetDesc::borderR = 0.f

在文件 Widget.h 第 84 行定义.

被这些函数引用 withNinePatch().

◆ borderT

float eve::ui::WidgetDesc::borderT = 0.f

在文件 Widget.h 第 83 行定义.

被这些函数引用 withNinePatch().

◆ checked

bool eve::ui::WidgetDesc::checked = false

在文件 Widget.h 第 25 行定义.

被这些函数引用 eve::pixelworld_editor::PixelWorldCatalogPanel::buildWidgetTree() , 以及 withChecked().

◆ children

◆ columnGap

float eve::ui::WidgetDesc::columnGap = -1.f

在文件 Widget.h 第 97 行定义.

被这些函数引用 eve::ui::UI::beginGrid() , 以及 withGaps().

◆ cornerRadius

float eve::ui::WidgetDesc::cornerRadius = 0.f

在文件 Widget.h 第 86 行定义.

被这些函数引用 withCornerRadius().

◆ dragPayloadText

std::string eve::ui::WidgetDesc::dragPayloadText

在文件 Widget.h 第 44 行定义.

被这些函数引用 withDragSource().

◆ dragPayloadType

std::string eve::ui::WidgetDesc::dragPayloadType

在文件 Widget.h 第 43 行定义.

被这些函数引用 withDragSource().

◆ dragSource

bool eve::ui::WidgetDesc::dragSource = false

在文件 Widget.h 第 41 行定义.

被这些函数引用 withDragSource().

◆ dropTarget

bool eve::ui::WidgetDesc::dropTarget = false

在文件 Widget.h 第 42 行定义.

被这些函数引用 withDropTarget().

◆ enabled

bool eve::ui::WidgetDesc::enabled = true

在文件 Widget.h 第 24 行定义.

被这些函数引用 withEnabled().

◆ flexBasis

float eve::ui::WidgetDesc::flexBasis = -1.f

在文件 Widget.h 第 95 行定义.

被这些函数引用 withFlexBasis().

◆ flexDirection

FlexDirection eve::ui::WidgetDesc::flexDirection = FlexDirection::Row

在文件 Widget.h 第 89 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withFlexDirection().

◆ flexGrow

float eve::ui::WidgetDesc::flexGrow = 0.f

在文件 Widget.h 第 93 行定义.

被这些函数引用 withFlexGrow().

◆ flexShrink

float eve::ui::WidgetDesc::flexShrink = 1.f

在文件 Widget.h 第 94 行定义.

被这些函数引用 withFlexShrink().

◆ flexWrap

FlexWrap eve::ui::WidgetDesc::flexWrap = FlexWrap::NoWrap

在文件 Widget.h 第 99 行定义.

被这些函数引用 withFlexWrap().

◆ focusDown

std::string eve::ui::WidgetDesc::focusDown

在文件 Widget.h 第 37 行定义.

被这些函数引用 withFocusNeighbors().

◆ focusLeft

std::string eve::ui::WidgetDesc::focusLeft

在文件 Widget.h 第 34 行定义.

被这些函数引用 withFocusNeighbors().

◆ focusMode

FocusMode eve::ui::WidgetDesc::focusMode = FocusMode::All

在文件 Widget.h 第 27 行定义.

被这些函数引用 withFocusMode().

◆ focusNext

std::string eve::ui::WidgetDesc::focusNext

在文件 Widget.h 第 32 行定义.

被这些函数引用 withFocusOrder().

◆ focusPrevious

std::string eve::ui::WidgetDesc::focusPrevious

在文件 Widget.h 第 33 行定义.

被这些函数引用 withFocusOrder().

◆ focusRight

std::string eve::ui::WidgetDesc::focusRight

在文件 Widget.h 第 35 行定义.

被这些函数引用 withFocusNeighbors().

◆ focusUp

std::string eve::ui::WidgetDesc::focusUp

在文件 Widget.h 第 36 行定义.

被这些函数引用 withFocusNeighbors().

◆ gap

float eve::ui::WidgetDesc::gap = -1.f

在文件 Widget.h 第 92 行定义.

被这些函数引用 eve::ui::UI::beginFlex() , 以及 withGap().

◆ gridColumns

int eve::ui::WidgetDesc::gridColumns = 1

在文件 Widget.h 第 101 行定义.

◆ gridColumnSpan

int eve::ui::WidgetDesc::gridColumnSpan = 1

在文件 Widget.h 第 102 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withGridColumnSpan().

◆ id

◆ itemHeight

float eve::ui::WidgetDesc::itemHeight = 0.f

在文件 Widget.h 第 88 行定义.

被这些函数引用 withItemHeight().

◆ justifyContent

FlexJustify eve::ui::WidgetDesc::justifyContent = FlexJustify::Start

在文件 Widget.h 第 91 行定义.

被这些函数引用 withJustify().

◆ key

std::string eve::ui::WidgetDesc::key

Reconciliation key; defaults to id when empty.

在文件 Widget.h 第 19 行定义.

被这些函数引用 eve::localization_editing::LocalizationDocument::addRow(), eve::ui::list(), reconcileKey() , 以及 withKey().

◆ marginB

float eve::ui::WidgetDesc::marginB = 0.f

在文件 Widget.h 第 55 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withMargin().

◆ marginL

float eve::ui::WidgetDesc::marginL = 0.f

在文件 Widget.h 第 52 行定义.

被这些函数引用 eve::ui::gridArrange(), eve::ui::measureNode() , 以及 withMargin().

◆ marginR

float eve::ui::WidgetDesc::marginR = 0.f

在文件 Widget.h 第 54 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withMargin().

◆ marginT

float eve::ui::WidgetDesc::marginT = 0.f

在文件 Widget.h 第 53 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withMargin().

◆ maxSizeX

float eve::ui::WidgetDesc::maxSizeX = 0.f

在文件 Widget.h 第 62 行定义.

被这些函数引用 withMaxSize().

◆ maxSizeY

float eve::ui::WidgetDesc::maxSizeY = 0.f

在文件 Widget.h 第 63 行定义.

被这些函数引用 withMaxSize().

◆ maxValue

float eve::ui::WidgetDesc::maxValue = 1.f

在文件 Widget.h 第 48 行定义.

被这些函数引用 withRange().

◆ minSizeX

float eve::ui::WidgetDesc::minSizeX = 0.f

在文件 Widget.h 第 60 行定义.

被这些函数引用 withMinSize().

◆ minSizeY

float eve::ui::WidgetDesc::minSizeY = 0.f

在文件 Widget.h 第 61 行定义.

被这些函数引用 withMinSize().

◆ minValue

float eve::ui::WidgetDesc::minValue = 0.f

在文件 Widget.h 第 47 行定义.

被这些函数引用 withRange().

◆ mouseFilter

MouseFilter eve::ui::WidgetDesc::mouseFilter = MouseFilter::Stop

在文件 Widget.h 第 28 行定义.

被这些函数引用 withMouseFilter().

◆ onClick

std::function<void()> eve::ui::WidgetDesc::onClick

Void.

在文件 Widget.h 第 104 行定义.

被这些函数引用 withClick().

◆ onTextChange

std::function<void(const std::string &)> eve::ui::WidgetDesc::onTextChange

Void.

在文件 Widget.h 第 110 行定义.

被这些函数引用 withTextChange().

◆ onToggle

std::function<void(bool)> eve::ui::WidgetDesc::onToggle

Void.

在文件 Widget.h 第 106 行定义.

被这些函数引用 withToggle().

◆ onValue

std::function<void(float)> eve::ui::WidgetDesc::onValue

Void.

在文件 Widget.h 第 108 行定义.

被这些函数引用 withValueFn().

◆ open

bool eve::ui::WidgetDesc::open = true

在文件 Widget.h 第 26 行定义.

被这些函数引用 withOpen().

◆ overflow

OverflowMode eve::ui::WidgetDesc::overflow = OverflowMode::Visible

在文件 Widget.h 第 100 行定义.

被这些函数引用 withOverflow().

◆ paddingB

float eve::ui::WidgetDesc::paddingB = 0.f

在文件 Widget.h 第 59 行定义.

被这些函数引用 withPadding().

◆ paddingL

float eve::ui::WidgetDesc::paddingL = 0.f

在文件 Widget.h 第 56 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withPadding().

◆ paddingR

float eve::ui::WidgetDesc::paddingR = 0.f

在文件 Widget.h 第 58 行定义.

被这些函数引用 withPadding().

◆ paddingT

float eve::ui::WidgetDesc::paddingT = 0.f

在文件 Widget.h 第 57 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withPadding().

◆ percentH

float eve::ui::WidgetDesc::percentH = 0.f

在文件 Widget.h 第 65 行定义.

被这些函数引用 withPercent().

◆ percentW

float eve::ui::WidgetDesc::percentW = 0.f

在文件 Widget.h 第 64 行定义.

被这些函数引用 withPercent().

◆ posX

float eve::ui::WidgetDesc::posX = 0.f

在文件 Widget.h 第 69 行定义.

被这些函数引用 withAbsolute().

◆ posY

float eve::ui::WidgetDesc::posY = 0.f

在文件 Widget.h 第 70 行定义.

被这些函数引用 withAbsolute().

◆ rowGap

float eve::ui::WidgetDesc::rowGap = -1.f

在文件 Widget.h 第 98 行定义.

被这些函数引用 withGaps().

◆ sizeX

float eve::ui::WidgetDesc::sizeX = 0.f

在文件 Widget.h 第 49 行定义.

被这些函数引用 eve::ui::UI::beginNinePatch() , 以及 withSize().

◆ sizeY

float eve::ui::WidgetDesc::sizeY = 0.f

在文件 Widget.h 第 50 行定义.

被这些函数引用 withSize().

◆ styleClass

std::string eve::ui::WidgetDesc::styleClass

在文件 Widget.h 第 30 行定义.

被这些函数引用 eve::ui::UI::setStyleScope() , 以及 withStyleClass().

◆ tabIndex

int eve::ui::WidgetDesc::tabIndex = 0

在文件 Widget.h 第 31 行定义.

被这些函数引用 withTabIndex().

◆ text

std::string eve::ui::WidgetDesc::text

在文件 Widget.h 第 20 行定义.

被这些函数引用 eve::localization_editing::LocalizationDocument::analyze() , 以及 withText().

◆ textureId

uint64_t eve::ui::WidgetDesc::textureId = 0

在文件 Widget.h 第 73 行定义.

◆ themePreset

ThemePreset eve::ui::WidgetDesc::themePreset = ThemePreset::Inherit

在文件 Widget.h 第 29 行定义.

被这些函数引用 eve::ui::UI::setThemeScope() , 以及 withTheme().

◆ tintA

float eve::ui::WidgetDesc::tintA = 1.f

在文件 Widget.h 第 77 行定义.

被这些函数引用 withTint().

◆ tintB

float eve::ui::WidgetDesc::tintB = 1.f

在文件 Widget.h 第 76 行定义.

被这些函数引用 withTint().

◆ tintG

float eve::ui::WidgetDesc::tintG = 1.f

在文件 Widget.h 第 75 行定义.

被这些函数引用 withTint().

◆ tintR

float eve::ui::WidgetDesc::tintR = 1.f

在文件 Widget.h 第 74 行定义.

被这些函数引用 withTint().

◆ tooltip

std::string eve::ui::WidgetDesc::tooltip

在文件 Widget.h 第 22 行定义.

被这些函数引用 withTooltip().

◆ type

◆ uv0x

float eve::ui::WidgetDesc::uv0x = 0.f

在文件 Widget.h 第 78 行定义.

被这些函数引用 withUv().

◆ uv0y

float eve::ui::WidgetDesc::uv0y = 0.f

在文件 Widget.h 第 79 行定义.

被这些函数引用 withUv().

◆ uv1x

float eve::ui::WidgetDesc::uv1x = 1.f

在文件 Widget.h 第 80 行定义.

被这些函数引用 withUv().

◆ uv1y

float eve::ui::WidgetDesc::uv1y = 1.f

在文件 Widget.h 第 81 行定义.

被这些函数引用 withUv().

◆ value

float eve::ui::WidgetDesc::value = 0.f

◆ valueText

std::string eve::ui::WidgetDesc::valueText

在文件 Widget.h 第 21 行定义.

被这些函数引用 withValueText().

◆ visible

bool eve::ui::WidgetDesc::visible = true

在文件 Widget.h 第 23 行定义.

被这些函数引用 eve::ui::measureNode() , 以及 withVisible().

◆ wrapWidth

float eve::ui::WidgetDesc::wrapWidth = 0.f

在文件 Widget.h 第 87 行定义.

被这些函数引用 withWrap().


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