|
Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
Inheritance diagram for oe::gui::component::Image:
Collaboration diagram for oe::gui::component::Image:Public Member Functions | |
| Image (oe::render::Texture *texture) | |
| void | generate () |
Public Member Functions inherited from oe::gui::Component | |
| 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 () |
Public Member Functions inherited from oe::gui::component::HasImage | |
| void | setTexture (oe::render::Texture *texture) |
| oe::render::Texture * | getTexture () |
Public Member Functions inherited from oe::gui::component::HasColor | |
| 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 () |
Additional Inherited Members | |
Protected Attributes inherited from oe::gui::Component | |
| gui_id_t | _id = 0 |
| Manager * | _manager |
| nk_context * | _context |
| nk_font * | _font = nullptr |
| Component * | _parent |
| std::vector< Component * > | _children |
Protected Attributes inherited from oe::gui::component::HasImage | |
| oe::render::Texture * | _texture |
Protected Attributes inherited from oe::gui::component::HasColor | |
| bool | _is_colored = false |
| uint8_t | _color [4] |
|
virtual |
Implements oe::gui::Component.