class UIElement
File location: framework/cauldron/framework/inc/core/uimanager.h
Construction
Return type |
Description |
---|---|
UIElement ( uint64_t id, UIElementType type, const char* description, const bool& enableControl, bool shown, bool sameLineAsPreviousElement )
Constructor. Creates the UI element.
|
Methods
Return type |
Description |
---|---|
UIElementType |
GetType () const
Get the element type.
|
const char* |
GetDesc () const
Get the element description.
|
void |
SetDesc (const char* description)
Set the element type.
|
bool |
Enabled () const
Check if the element is enabled.
|
bool |
SameLine () const
Check if the element is same line.
|
uint64_t |
ID () const
Get the element ID.
|
bool |
IsShown () const
Check the element is shown.
|
void |
Show (bool show)
Show or hide the element.
|
void |
Release ()
Release UIElement.
|
void |
BuildUI () = 0
Build the UI in each UI backend.
|
Detailed description
Construction
UIElement
Constructor. Creates the UI element.
Methods
GetType
Get the element type.
GetDesc
Get the element description.
SetDesc
Set the element type.
Enabled
Check if the element is enabled.
SameLine
Check if the element is same line.
ID
Get the element ID.
IsShown
Check the element is shown.
Show
Show or hide the element.
Release
Release UIElement.
BuildUI
Build the UI in each UI backend.