You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Widgets: Drags (tip: ctrl+click on a drag box to input text)
304
-
IMGUI_API boolDragFloat(constchar* label, float* v, float v_step = 1.0f, float v_min = 0.0f, float v_max = 0.0f, constchar* display_format = "%.3f"); // If v_max >= v_max we have no bound
305
-
IMGUI_API boolDragInt(constchar* label, int* v, int v_step = 1, int v_min = 0.0f, int v_max = 0.0f, constchar* display_format = "%.0f"); // If v_max >= v_max we have no bound
306
-
307
303
// Widgets: Sliders (tip: ctrl+click on a slider to input text)
308
304
IMGUI_API boolSliderFloat(constchar* label, float* v, float v_min, float v_max, constchar* display_format = "%.3f", float power = 1.0f); // adjust display_format to decorate the value with a prefix or a suffix. Use power!=1.0 for logarithmic sliders
IMGUI_API boolVSliderInt(constchar* label, const ImVec2& size, int* v, int v_min, int v_max, constchar* display_format = "%.0f");
319
315
316
+
// Widgets: Drags (tip: ctrl+click on a drag box to input text)
317
+
// ImGui 1.38+ work-in-progress, may change name or API.
318
+
IMGUI_API boolDragFloat(constchar* label, float* v, float v_step = 1.0f, float v_min = 0.0f, float v_max = 0.0f, constchar* display_format = "%.3f"); // If v_max >= v_max we have no bound
319
+
IMGUI_API boolDragInt(constchar* label, int* v, int v_step = 1, int v_min = 0.0f, int v_max = 0.0f, constchar* display_format = "%.0f"); // If v_max >= v_max we have no bound
0 commit comments