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

Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declaratively from WidgetDesc. 更多...

#include <UIHost.h>

Public 属性

NodeType type = NodeType::Text
 
std::string id
 
std::string key
 
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
 
StyleClass resolvedStyle
 
bool hasResolvedStyle = false
 
float opacity = 1.f
 
int tabIndex = 0
 
std::string focusNext
 
std::string focusPrevious
 
std::string focusLeft
 
std::string focusRight
 
std::string focusUp
 
std::string focusDown
 
bool focusRequested = false
 
bool focused = false
 
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
 
float measuredW = 0.f
 
float measuredH = 0.f
 
FlexDirection flexDirection = FlexDirection::Row
 
FlexAlign alignItems = FlexAlign::Start
 
FlexJustify justifyContent = FlexJustify::Start
 
float gap = -1.f
 
float columnGap = -1.f
 
float rowGap = -1.f
 
FlexWrap flexWrap = FlexWrap::NoWrap
 
OverflowMode overflow = OverflowMode::Visible
 
int gridColumns = 1
 
float flexGrow = 0.f
 
float flexShrink = 1.f
 
float flexBasis = -1.f
 
int alignSelf = -1
 
int gridColumnSpan = 1
 
float layoutOverflowX = 0.f
 
float layoutOverflowY = 0.f
 
int parent = -1
 
int firstChild = -1
 
int nextSibling = -1
 
uint32_t handlerClick = 0
 
uint32_t handlerToggle = 0
 
uint32_t handlerValue = 0
 
uint32_t handlerText = 0
 

详细描述

Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declaratively from WidgetDesc.

在文件 UIHost.h 第 128 行定义.

类成员变量说明

◆ absolute

bool eve::ui::UINode::absolute = false

在文件 UIHost.h 第 188 行定义.

◆ acceptedDropType

std::string eve::ui::UINode::acceptedDropType

在文件 UIHost.h 第 162 行定义.

◆ accessibilityDescription

std::string eve::ui::UINode::accessibilityDescription

在文件 UIHost.h 第 157 行定义.

◆ accessibilityName

std::string eve::ui::UINode::accessibilityName

在文件 UIHost.h 第 156 行定义.

◆ accessibilityRole

AccessibilityRole eve::ui::UINode::accessibilityRole = AccessibilityRole::Auto

在文件 UIHost.h 第 155 行定义.

◆ alignItems

FlexAlign eve::ui::UINode::alignItems = FlexAlign::Start

在文件 UIHost.h 第 211 行定义.

◆ alignSelf

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

在文件 UIHost.h 第 223 行定义.

◆ anchorX

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

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

◆ anchorY

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

在文件 UIHost.h 第 185 行定义.

◆ aspectRatio

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

在文件 UIHost.h 第 183 行定义.

◆ borderB

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

在文件 UIHost.h 第 202 行定义.

◆ borderL

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

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

◆ borderR

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

在文件 UIHost.h 第 201 行定义.

◆ borderT

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

在文件 UIHost.h 第 200 行定义.

◆ checked

bool eve::ui::UINode::checked = false

在文件 UIHost.h 第 137 行定义.

◆ columnGap

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

在文件 UIHost.h 第 214 行定义.

◆ cornerRadius

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

在文件 UIHost.h 第 203 行定义.

◆ dragPayloadText

std::string eve::ui::UINode::dragPayloadText

在文件 UIHost.h 第 161 行定义.

◆ dragPayloadType

std::string eve::ui::UINode::dragPayloadType

在文件 UIHost.h 第 160 行定义.

◆ dragSource

bool eve::ui::UINode::dragSource = false

在文件 UIHost.h 第 158 行定义.

◆ dropTarget

bool eve::ui::UINode::dropTarget = false

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

◆ enabled

bool eve::ui::UINode::enabled = true

在文件 UIHost.h 第 136 行定义.

◆ firstChild

int eve::ui::UINode::firstChild = -1

在文件 UIHost.h 第 228 行定义.

◆ flexBasis

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

在文件 UIHost.h 第 222 行定义.

◆ flexDirection

FlexDirection eve::ui::UINode::flexDirection = FlexDirection::Row

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

◆ flexGrow

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

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

◆ flexShrink

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

在文件 UIHost.h 第 221 行定义.

◆ flexWrap

FlexWrap eve::ui::UINode::flexWrap = FlexWrap::NoWrap

在文件 UIHost.h 第 216 行定义.

◆ focusDown

std::string eve::ui::UINode::focusDown

在文件 UIHost.h 第 152 行定义.

◆ focused

bool eve::ui::UINode::focused = false

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

◆ focusLeft

std::string eve::ui::UINode::focusLeft

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

◆ focusMode

FocusMode eve::ui::UINode::focusMode = FocusMode::All

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

◆ focusNext

std::string eve::ui::UINode::focusNext

在文件 UIHost.h 第 147 行定义.

◆ focusPrevious

std::string eve::ui::UINode::focusPrevious

在文件 UIHost.h 第 148 行定义.

◆ focusRequested

bool eve::ui::UINode::focusRequested = false

在文件 UIHost.h 第 153 行定义.

◆ focusRight

std::string eve::ui::UINode::focusRight

在文件 UIHost.h 第 150 行定义.

◆ focusUp

std::string eve::ui::UINode::focusUp

在文件 UIHost.h 第 151 行定义.

◆ gap

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

在文件 UIHost.h 第 213 行定义.

◆ gridColumns

int eve::ui::UINode::gridColumns = 1

在文件 UIHost.h 第 218 行定义.

◆ gridColumnSpan

int eve::ui::UINode::gridColumnSpan = 1

在文件 UIHost.h 第 224 行定义.

◆ handlerClick

uint32_t eve::ui::UINode::handlerClick = 0

在文件 UIHost.h 第 230 行定义.

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

◆ handlerText

uint32_t eve::ui::UINode::handlerText = 0

在文件 UIHost.h 第 233 行定义.

◆ handlerToggle

uint32_t eve::ui::UINode::handlerToggle = 0

在文件 UIHost.h 第 231 行定义.

◆ handlerValue

uint32_t eve::ui::UINode::handlerValue = 0

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

◆ hasResolvedStyle

bool eve::ui::UINode::hasResolvedStyle = false

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

◆ id

std::string eve::ui::UINode::id

在文件 UIHost.h 第 130 行定义.

◆ itemHeight

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

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

◆ justifyContent

FlexJustify eve::ui::UINode::justifyContent = FlexJustify::Start

在文件 UIHost.h 第 212 行定义.

◆ key

std::string eve::ui::UINode::key

在文件 UIHost.h 第 131 行定义.

◆ layoutOverflowX

float eve::ui::UINode::layoutOverflowX = 0.f

在文件 UIHost.h 第 225 行定义.

◆ layoutOverflowY

float eve::ui::UINode::layoutOverflowY = 0.f

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

◆ marginB

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

在文件 UIHost.h 第 172 行定义.

◆ marginL

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

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

◆ marginR

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

在文件 UIHost.h 第 171 行定义.

◆ marginT

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

在文件 UIHost.h 第 170 行定义.

◆ maxSizeX

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

在文件 UIHost.h 第 179 行定义.

◆ maxSizeY

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

在文件 UIHost.h 第 180 行定义.

◆ maxValue

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

在文件 UIHost.h 第 165 行定义.

◆ measuredH

float eve::ui::UINode::measuredH = 0.f

在文件 UIHost.h 第 208 行定义.

◆ measuredW

float eve::ui::UINode::measuredW = 0.f

在文件 UIHost.h 第 207 行定义.

◆ minSizeX

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

在文件 UIHost.h 第 177 行定义.

◆ minSizeY

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

在文件 UIHost.h 第 178 行定义.

◆ minValue

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

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

◆ mouseFilter

MouseFilter eve::ui::UINode::mouseFilter = MouseFilter::Stop

在文件 UIHost.h 第 140 行定义.

◆ nextSibling

int eve::ui::UINode::nextSibling = -1

在文件 UIHost.h 第 229 行定义.

◆ opacity

float eve::ui::UINode::opacity = 1.f

在文件 UIHost.h 第 145 行定义.

◆ open

bool eve::ui::UINode::open = true

在文件 UIHost.h 第 138 行定义.

◆ overflow

OverflowMode eve::ui::UINode::overflow = OverflowMode::Visible

在文件 UIHost.h 第 217 行定义.

◆ paddingB

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

在文件 UIHost.h 第 176 行定义.

◆ paddingL

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

在文件 UIHost.h 第 173 行定义.

◆ paddingR

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

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

◆ paddingT

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

在文件 UIHost.h 第 174 行定义.

◆ parent

int eve::ui::UINode::parent = -1

在文件 UIHost.h 第 227 行定义.

◆ percentH

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

在文件 UIHost.h 第 182 行定义.

◆ percentW

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

在文件 UIHost.h 第 181 行定义.

◆ posX

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

在文件 UIHost.h 第 186 行定义.

◆ posY

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

在文件 UIHost.h 第 187 行定义.

◆ resolvedStyle

StyleClass eve::ui::UINode::resolvedStyle

在文件 UIHost.h 第 143 行定义.

◆ rowGap

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

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

◆ sizeX

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

在文件 UIHost.h 第 166 行定义.

◆ sizeY

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

在文件 UIHost.h 第 167 行定义.

◆ styleClass

std::string eve::ui::UINode::styleClass

在文件 UIHost.h 第 142 行定义.

◆ tabIndex

int eve::ui::UINode::tabIndex = 0

在文件 UIHost.h 第 146 行定义.

◆ text

std::string eve::ui::UINode::text

在文件 UIHost.h 第 132 行定义.

◆ textureId

uint64_t eve::ui::UINode::textureId = 0

在文件 UIHost.h 第 190 行定义.

◆ themePreset

ThemePreset eve::ui::UINode::themePreset = ThemePreset::Inherit

在文件 UIHost.h 第 141 行定义.

◆ tintA

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

在文件 UIHost.h 第 194 行定义.

◆ tintB

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

在文件 UIHost.h 第 193 行定义.

◆ tintG

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

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

◆ tintR

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

在文件 UIHost.h 第 191 行定义.

◆ tooltip

std::string eve::ui::UINode::tooltip

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

◆ type

NodeType eve::ui::UINode::type = NodeType::Text

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

◆ uv0x

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

在文件 UIHost.h 第 195 行定义.

◆ uv0y

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

在文件 UIHost.h 第 196 行定义.

◆ uv1x

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

在文件 UIHost.h 第 197 行定义.

◆ uv1y

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

在文件 UIHost.h 第 198 行定义.

◆ value

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

在文件 UIHost.h 第 163 行定义.

◆ valueText

std::string eve::ui::UINode::valueText

在文件 UIHost.h 第 133 行定义.

◆ visible

bool eve::ui::UINode::visible = true

在文件 UIHost.h 第 135 行定义.

◆ wrapWidth

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

在文件 UIHost.h 第 204 行定义.


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