|
| Label (const std::string &caption="", const int &align=17) |
|
void | generate () |
|
| Component (Manager *manager=nullptr) |
|
template<typename T > |
Component * | addChild (T *child) |
|
template<typename T > |
Component * | addSibling (T *component) |
|
template<typename T , typename... Args> |
T * | createChild (Args &&... args) |
|
template<typename T , typename... Args> |
T & | createSibling (Args &&... args) |
|
template<typename T > |
T * | getParent () |
|
template<typename... Args> |
component::Row * | createRow (const float &height, const int &cols=0) |
|
Component * | setFont (const std::string &font_name) |
|
Component * | setManager (Manager *manager) |
|
void | generateChildren () |
|
void | setText (const std::string &text) |
|
std::string | getText () |
|
void | setAlign (const int &align) |
|
int | getAlign () |
|
void | setColor255 (const uint8_t &r, const uint8_t &g, const uint8_t &b, const uint8_t &a=255) |
|
void | setColor (const glm::vec4 &color) |
|
void | resetColor () |
|
|
gui_id_t | _id = 0 |
|
Manager * | _manager |
|
nk_context * | _context |
|
nk_font * | _font = nullptr |
|
Component * | _parent |
|
std::vector< Component * > | _children |
|
int | _align |
|
std::string | _text |
|
std::vector< std::string > | _text_lines |
|
bool | _is_colored = false |
|
uint8_t | _color [4] |
|
◆ generate()
void oe::gui::component::Label::generate |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file:
- OxygenEngine/gui/component/label.h