Falcon
|
#include <Panel.h>
Public Member Functions | |
Panel () | |
virtual | ~Panel () |
void | Commands (nk_context *ctx) override |
Public Member Functions inherited from UI::CanvasItem | |
CanvasItem () | |
virtual | ~CanvasItem () |
void | AddChild (CanvasItem *child) |
void | SetBounds (glm::vec4 bounds) |
void | UpdateBounds () |
virtual void | Draw (nk_context *ctx) |
void | SetColor (glm::vec4 color) |
void | SetFlags (int32_t flags) |
void | SetActive (bool active) |
void | SetStatus (ItemStatus status) |
Additional Inherited Members | |
Protected Attributes inherited from UI::CanvasItem | |
struct nk_rect | m_bounds |
nk_color | m_color |
i32 | m_flags |
boost::container::vector< CanvasItem * > | m_children |
CanvasItem * | parent = nullptr |
bool | m_active = true |
ItemStatus | m_status |
std::string | m_title |
A basic Panel
UI::Panel::Panel | ( | ) |
Constructor for a panel
|
virtual |
Panel destructor
|
overridevirtual |
The draw commands for the panel
ctx | - The nuklear context to draw to |
Implements UI::CanvasItem.