enum ImGui::ImGuiSliderFlags

Overview

enum ImGuiSliderFlags_

Defined in:

types.cr

Enum 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.

Instance Method Summary

Instance Method Detail

def always_clamp? #

[View source]
def invalid_mask_? #

[View source]
def logarithmic? #

[View source]
def no_input? #

[View source]
def no_round_to_format? #

[View source]
def none? #

[View source]