Additional UI overlay widget creation functions
This commit is contained in:
parent
0907e3c680
commit
3b11701eb2
2 changed files with 23 additions and 1 deletions
|
|
@ -89,9 +89,12 @@ namespace vks
|
|||
|
||||
bool header(const char* caption);
|
||||
bool checkBox(const char* caption, bool* value);
|
||||
bool checkBox(const char* caption, int32_t* value);
|
||||
bool inputFloat(const char* caption, float* value, float step, uint32_t precision);
|
||||
bool sliderFloat(const char* caption, float* value, float min, float max);
|
||||
bool sliderInt(const char* caption, int32_t* value, int32_t min, int32_t max);
|
||||
bool comboBox(const char* caption, int32_t* itemindex, std::vector<std::string> items);
|
||||
void text(const char* formatstr, ...);
|
||||
bool button(const char* caption);
|
||||
void text(const char* formatstr, ...);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue