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: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ See `example/main.cpp` for a demo.
44
44
- `ImGuiKnobFlags_ValueTooltip`: Show a tooltip with the current value on hover.
45
45
- `ImGuiKnobFlags_DragHorizontal`: Use horizontal dragging only (default is bi-directional).
46
46
- `ImGuiKnobFlags_DragVertical`: Use vertical dragging only (default is bi-directional).
47
+
- `ImGuiKnobFlags_AlwaysClamp`: Clamp input values that the user types into the input field. If not set, it's possible to override the min/max range via the input field.
48
+
- `ImGuiKnobFlags_Logarithmic`: Use logarithmic scale for the knob (otherwise linear).
47
49
48
50
### Size
49
51
You can specify a size given as the width of the knob (will be scaled according to ImGui's `FontGlobalScale`). Default (0) will use 4x line height.
0 commit comments