#include <quickactions.hpp>
|
void | AddButton (std::string label, std::function< void()> callback) |
|
void | AddCheckbox (std::string label, bool *value, ImColor bg=ImColor(0, 0, 0, 0), ImColor on=ImColor(0, 255, 0, 255), ImColor off=ImColor(255, 0, 0, 255)) |
|
void | AddSlider (std::string label, float *value, float min, float max) |
|
void | AddSlider (std::string label, int *value, int min, int max) |
|
const std::vector< std::unique_ptr< QuickAction > > & | GetComponents () const |
|
size_t | GetSize () |
|
◆ AddButton()
void QuickActions::AddButton |
( |
std::string |
label, |
|
|
std::function< void()> |
callback |
|
) |
| |
|
inline |
◆ AddCheckbox()
void QuickActions::AddCheckbox |
( |
std::string |
label, |
|
|
bool * |
value, |
|
|
ImColor |
bg = ImColor(0, 0, 0, 0) , |
|
|
ImColor |
on = ImColor(0, 255, 0, 255) , |
|
|
ImColor |
off = ImColor(255, 0, 0, 255) |
|
) |
| |
|
inline |
◆ AddSlider() [1/2]
void QuickActions::AddSlider |
( |
std::string |
label, |
|
|
float * |
value, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
◆ AddSlider() [2/2]
void QuickActions::AddSlider |
( |
std::string |
label, |
|
|
int * |
value, |
|
|
int |
min, |
|
|
int |
max |
|
) |
| |
|
inline |
◆ GetComponents()
const std::vector< std::unique_ptr< QuickAction > > & QuickActions::GetComponents |
( |
| ) |
const |
|
inline |
◆ GetSize()
size_t QuickActions::GetSize |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- xenon/includes/xenon/models/quickactions/quickactions.hpp