载入中...
搜索中...
未找到
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
 
bool visible = true
 
bool checked = false
 
bool open = true
 
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 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 flexGrow = 0.f
 
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.h54 行定义.

类成员变量说明

◆ absolute

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

在文件 UIHost.h87 行定义.

◆ alignItems

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

在文件 UIHost.h110 行定义.

◆ anchorX

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

在文件 UIHost.h83 行定义.

◆ anchorY

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

在文件 UIHost.h84 行定义.

◆ borderB

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

在文件 UIHost.h101 行定义.

◆ borderL

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

在文件 UIHost.h98 行定义.

◆ borderR

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

在文件 UIHost.h100 行定义.

◆ borderT

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

在文件 UIHost.h99 行定义.

◆ checked

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

在文件 UIHost.h61 行定义.

◆ cornerRadius

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

在文件 UIHost.h102 行定义.

◆ firstChild

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

在文件 UIHost.h115 行定义.

◆ flexDirection

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

在文件 UIHost.h109 行定义.

◆ flexGrow

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

在文件 UIHost.h114 行定义.

◆ gap

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

在文件 UIHost.h112 行定义.

◆ handlerClick

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

在文件 UIHost.h117 行定义.

◆ handlerText

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

在文件 UIHost.h120 行定义.

◆ handlerToggle

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

在文件 UIHost.h118 行定义.

◆ handlerValue

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

在文件 UIHost.h119 行定义.

◆ id

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

在文件 UIHost.h56 行定义.

◆ itemHeight

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

在文件 UIHost.h104 行定义.

◆ justifyContent

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

在文件 UIHost.h111 行定义.

◆ key

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

在文件 UIHost.h57 行定义.

◆ marginB

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

在文件 UIHost.h72 行定义.

◆ marginL

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

在文件 UIHost.h69 行定义.

◆ marginR

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

在文件 UIHost.h71 行定义.

◆ marginT

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

在文件 UIHost.h70 行定义.

◆ maxSizeX

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

在文件 UIHost.h79 行定义.

◆ maxSizeY

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

在文件 UIHost.h80 行定义.

◆ maxValue

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

在文件 UIHost.h65 行定义.

◆ measuredH

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

在文件 UIHost.h107 行定义.

◆ measuredW

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

在文件 UIHost.h106 行定义.

◆ minSizeX

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

在文件 UIHost.h77 行定义.

◆ minSizeY

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

在文件 UIHost.h78 行定义.

◆ minValue

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

在文件 UIHost.h64 行定义.

◆ nextSibling

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

在文件 UIHost.h116 行定义.

◆ open

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

在文件 UIHost.h62 行定义.

◆ paddingB

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

在文件 UIHost.h76 行定义.

◆ paddingL

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

在文件 UIHost.h73 行定义.

◆ paddingR

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

在文件 UIHost.h75 行定义.

◆ paddingT

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

在文件 UIHost.h74 行定义.

◆ percentH

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

在文件 UIHost.h82 行定义.

◆ percentW

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

在文件 UIHost.h81 行定义.

◆ posX

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

在文件 UIHost.h85 行定义.

◆ posY

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

在文件 UIHost.h86 行定义.

◆ sizeX

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

在文件 UIHost.h66 行定义.

◆ sizeY

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

在文件 UIHost.h67 行定义.

◆ text

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

在文件 UIHost.h58 行定义.

◆ textureId

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

在文件 UIHost.h89 行定义.

◆ tintA

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

在文件 UIHost.h93 行定义.

◆ tintB

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

在文件 UIHost.h92 行定义.

◆ tintG

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

在文件 UIHost.h91 行定义.

◆ tintR

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

在文件 UIHost.h90 行定义.

◆ type

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

在文件 UIHost.h55 行定义.

◆ uv0x

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

在文件 UIHost.h94 行定义.

◆ uv0y

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

在文件 UIHost.h95 行定义.

◆ uv1x

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

在文件 UIHost.h96 行定义.

◆ uv1y

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

在文件 UIHost.h97 行定义.

◆ value

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

在文件 UIHost.h63 行定义.

◆ valueText

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

在文件 UIHost.h59 行定义.

◆ visible

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

在文件 UIHost.h60 行定义.

◆ wrapWidth

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

在文件 UIHost.h103 行定义.


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