enum
ImGui::ImGuiSliderFlags
Overview
Defined in:
types.crEnum Members
-
None =
0 -
AlwaysClamp =
16 -
Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds.
-
Logarithmic =
32 -
Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.
-
NoRoundToFormat =
64 -
Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits)
-
NoInput =
128 -
Disable CTRL+Click or Enter key allowing to input text directly into the widget
-
InvalidMask_ =
1879048207 -
[Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.
-
All =
1879048447
Instance Method Summary
-
#always_clamp?
Returns
trueif this enum value containsAlwaysClamp -
#invalid_mask_?
Returns
trueif this enum value containsInvalidMask_ -
#logarithmic?
Returns
trueif this enum value containsLogarithmic -
#no_input?
Returns
trueif this enum value containsNoInput -
#no_round_to_format?
Returns
trueif this enum value containsNoRoundToFormat -
#none?
Returns
trueif this enum value containsNone