UI overlay float slider
This commit is contained in:
parent
15f85d6e10
commit
287a9b5762
2 changed files with 7 additions and 0 deletions
|
|
@ -568,6 +568,12 @@ namespace vks
|
|||
return ImGui::InputFloat(caption, value, step, step * 10.0f, precision);
|
||||
}
|
||||
|
||||
bool UIOverlay::sliderFloat(const char* caption, float* value, float min, float max)
|
||||
{
|
||||
ImGui::SliderFloat(caption, value, min, max);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool UIOverlay::comboBox(const char *caption, int32_t *itemindex, std::vector<std::string> items)
|
||||
{
|
||||
if (items.empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue