Additional UI overlay widget creation functions

This commit is contained in:
saschawillems 2017-10-31 11:52:48 +01:00
parent 0907e3c680
commit 3b11701eb2
2 changed files with 23 additions and 1 deletions

View file

@ -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, ...);
};
}