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
Copy file name to clipboardExpand all lines: imgui.h
+2-2
Original file line number
Diff line number
Diff line change
@@ -316,8 +316,8 @@ namespace ImGui
316
316
317
317
// Widgets: Drags (tip: ctrl+click on a drag box to input text)
318
318
// ImGui 1.38+ work-in-progress, may change name or API.
319
-
IMGUI_API boolDragFloat(constchar* label, float* v, float v_speed = 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
320
-
IMGUI_API boolDragInt(constchar* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, constchar* display_format = "%.0f"); // If v_max >= v_max we have no bound
319
+
IMGUI_API boolDragFloat(constchar* label, float* v, float v_speed = 1.0f, float v_min = 0.0f, float v_max = 0.0f, constchar* display_format = "%.3f", float power = 1.0f);// If v_max >= v_max we have no bound
320
+
IMGUI_API boolDragInt(constchar* label, int* v, float v_speed = 1.0f, int v_min = 0, int v_max = 0, constchar* display_format = "%.0f"); // If v_max >= v_max we have no bound
0 commit comments