class UICheckBox
File location: framework/cauldron/framework/inc/core/uimanager.h
Construction
Return type |
Description |
---|---|
UICheckBox ( uint64_t id, const char* text, bool& data, const bool& enable, std::function<void(bool, bool)> callback = nullptr, bool shown = true, bool sameLine = false )
Constructor. Creates the UI checkbox.
|
|
UICheckBox ( uint64_t id, const char* text, bool& data, std::function<void(bool, bool)> callback = nullptr, bool shown = true, bool sameLine = false )
Constructor. Creates the UI text without enabler.
|
Methods
Return type |
Description |
---|---|
bool |
GetData () const
Get the data in check box.
|
void |
SetData (bool data)
Set the data in check box.
|
void |
BuildUI ()
Build the UI in each UI backend.
|
Detailed description
Construction
UICheckBox
Constructor. Creates the UI checkbox.
UICheckBox
Constructor. Creates the UI text without enabler.
Methods
GetData
Get the data in check box.
SetData
Set the data in check box.
BuildUI
Build the UI in each UI backend.