ImGui.CONST.SliderFlags

From GiderosMobile
Revision as of 19:05, 21 September 2024 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.9
Value:
Defined by: ImGui.Core

Description

Slider Flags

  • ImGui.SliderFlags_None: default = 0
  • ImGui.SliderFlags_AlwaysClamp: clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds
  • ImGui.SliderFlags_Logarithmic: make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits
  • ImGui.SliderFlags_NoRoundToFormat: disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits)
  • ImGui.SliderFlags_NoInput: disable CTRL+Click or Enter key allowing to input text directly into the widget



Dear ImGui