VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::UIStyle Struct Reference

Basic UI styling component. More...

#include <VexUI.hpp>

Public Attributes

glm::vec4 color {1,1,1,1}
glm::vec4 bgColor {-1,-1,-1,-1}
glm::vec4 borderColor = {0,0,0,0}
std::string font
UIUnitValue fontSize {16.f, UIUnitType::Psp}
UIUnitValue borderWidth {0.f, UIUnitType::Psp}

Detailed Description

Basic UI styling component.

Definition at line 91 of file VexUI.hpp.

Member Data Documentation

◆ bgColor

glm::vec4 vex::UIStyle::bgColor {-1,-1,-1,-1}

Definition at line 93 of file VexUI.hpp.

◆ borderColor

glm::vec4 vex::UIStyle::borderColor = {0,0,0,0}

Definition at line 94 of file VexUI.hpp.

◆ borderWidth

UIUnitValue vex::UIStyle::borderWidth {0.f, UIUnitType::Psp}

Definition at line 97 of file VexUI.hpp.

◆ color

glm::vec4 vex::UIStyle::color {1,1,1,1}

Definition at line 92 of file VexUI.hpp.

◆ font

std::string vex::UIStyle::font

Definition at line 95 of file VexUI.hpp.

◆ fontSize

UIUnitValue vex::UIStyle::fontSize {16.f, UIUnitType::Psp}

Definition at line 96 of file VexUI.hpp.


The documentation for this struct was generated from the following file: