API reference
Preparing search index…

ImGui.ImGuiSliderFlags

Const
ImGuiSliderFlags: Readonly<
    {
        AlwaysClamp: 1536;
        ClampOnInput: 512;
        ClampZeroRange: 1024;
        InvalidMask_: 1879048207;
        Logarithmic: 32;
        NoInput: 128;
        None: 0;
        NoRoundToFormat: 64;
        NoSpeedTweaks: 2048;
        WrapAround: 256;
    },
> = ...

Value scaling, direct entry and bounds for sliders and drag widgets.

Type declaration

  • ReadonlyAlwaysClamp: 1536

    Combine manual-input clamping with zero-range clamping.

  • ReadonlyClampOnInput: 512

    Clamp manually typed values to the minimum and maximum.

  • ReadonlyClampZeroRange: 1024

    Clamp even when both bounds are zero, normally unbounded for drags.

  • ReadonlyInvalidMask_: 1879048207

    Internal invalid-bit mask detecting old float-power API misuse.

  • ReadonlyLogarithmic: 32

    Use a logarithmic rather than linear scale.

  • ReadonlyNoInput: 128

    Disable direct text entry through Ctrl+click or Enter.

  • ReadonlyNone: 0

    Use linear scaling and default input behavior.

  • ReadonlyNoRoundToFormat: 64

    Preserve value precision rather than rounding to the display format.

  • ReadonlyNoSpeedTweaks: 2048

    Do not let modifier keys change the adjustment speed.

  • ReadonlyWrapAround: 256

    Drag widgets only: wrap past either bound to the opposite bound.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0