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

Sparse reusable widget style resolved once while a retained tree is built. 更多...

#include <Theme.h>

Public 属性

std::string name
 
std::string parent
 
bool hasTextColor = false
 
bool hasBackgroundColor = false
 
bool hasBorderColor = false
 
bool hasAccentColor = false
 
float textColor [4] = {0.f, 0.f, 0.f, 0.f}
 
float backgroundColor [4] = {0.f, 0.f, 0.f, 0.f}
 
float borderColor [4] = {0.f, 0.f, 0.f, 0.f}
 
float accentColor [4] = {0.f, 0.f, 0.f, 0.f}
 
bool hasPadding = false
 
float paddingX = 0.f
 
float paddingY = 0.f
 
bool hasRounding = false
 
float rounding = 0.f
 
bool hasAlpha = false
 
float alpha = 1.f
 

详细描述

Sparse reusable widget style resolved once while a retained tree is built.

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

类成员变量说明

◆ accentColor

float eve::ui::StyleClass::accentColor[4] = {0.f, 0.f, 0.f, 0.f}

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

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

◆ alpha

float eve::ui::StyleClass::alpha = 1.f

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

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

◆ backgroundColor

float eve::ui::StyleClass::backgroundColor[4] = {0.f, 0.f, 0.f, 0.f}

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

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

◆ borderColor

float eve::ui::StyleClass::borderColor[4] = {0.f, 0.f, 0.f, 0.f}

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

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

◆ hasAccentColor

bool eve::ui::StyleClass::hasAccentColor = false

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

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

◆ hasAlpha

bool eve::ui::StyleClass::hasAlpha = false

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

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

◆ hasBackgroundColor

bool eve::ui::StyleClass::hasBackgroundColor = false

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

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

◆ hasBorderColor

bool eve::ui::StyleClass::hasBorderColor = false

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

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

◆ hasPadding

bool eve::ui::StyleClass::hasPadding = false

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

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

◆ hasRounding

bool eve::ui::StyleClass::hasRounding = false

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

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

◆ hasTextColor

bool eve::ui::StyleClass::hasTextColor = false

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

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

◆ name

std::string eve::ui::StyleClass::name

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

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

◆ paddingX

float eve::ui::StyleClass::paddingX = 0.f

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

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

◆ paddingY

float eve::ui::StyleClass::paddingY = 0.f

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

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

◆ parent

std::string eve::ui::StyleClass::parent

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

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

◆ rounding

float eve::ui::StyleClass::rounding = 0.f

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

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

◆ textColor

float eve::ui::StyleClass::textColor[4] = {0.f, 0.f, 0.f, 0.f}

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

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


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