Custom Component.
More...
#include <OxygenEngine/gui/component/custom.h>
|
gui_id_t | _id = 0 |
|
Manager * | _manager |
|
nk_context * | _context |
|
nk_font * | _font = nullptr |
|
Component * | _parent |
|
std::vector< Component * > | _children |
|
Custom Component.
Let you call raw Nuklear code
◆ Custom()
oe::gui::component::Custom::Custom |
( |
std::function< void(nk_context *, Component &)> |
generator | ) |
|
Constructor.
- Parameters
-
generator | Function to generate the component |
- Note
- the component parameter refers to this component, letting you access its public methods (for example to call the children generation)
◆ generate()
void oe::gui::component::Custom::generate |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file:
- OxygenEngine/gui/component/custom.h