enum ImGui::ImGuiColorEditFlags

Overview

enum ImGuiColorEditFlags_

Defined in:

types.cr

Enum Members

None = 0
NoAlpha = 2

ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).

NoPicker = 4

ColorEdit: disable picker when clicking on color square.

NoOptions = 8

ColorEdit: disable toggling options menu when right-clicking on inputs/small preview.

NoSmallPreview = 16

ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)

NoInputs = 32

ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square).

NoTooltip = 64

ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.

NoLabel = 128

ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).

NoSidePreview = 256

ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.

NoDragDrop = 512

ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.

NoBorder = 1024

ColorButton: disable border (which is enforced by default)

AlphaBar = 65536

ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.

AlphaPreview = 131072

ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.

AlphaPreviewHalf = 262144

ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque.

HDR = 524288

(WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).

DisplayRGB = 1048576

[Display] ColorEdit: override display type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex.

DisplayHSV = 2097152

[Display] "

DisplayHex = 4194304

[Display] "

Uint8 = 8388608

[DataType] ColorEdit, ColorPicker, ColorButton: display values formatted as 0..255.

Float = 16777216

[DataType] ColorEdit, ColorPicker, ColorButton: display values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.

PickerHueBar = 33554432

[Picker] ColorPicker: bar for Hue, rectangle for Sat/Value.

PickerHueWheel = 67108864

[Picker] ColorPicker: wheel for Hue, triangle for Sat/Value.

InputRGB = 134217728

[Input] ColorEdit, ColorPicker: input and output data in RGB format.

InputHSV = 268435456

[Input] ColorEdit, ColorPicker: input and output data in HSV format.

DefaultOptions_ = 177209344
DisplayMask_ = 7340032
DataTypeMask_ = 25165824
PickerMask_ = 100663296
InputMask_ = 402653184
All = 536807422

Instance Method Summary

Instance Method Detail

def alpha_bar? #

[View source]
def alpha_preview? #

[View source]
def alpha_preview_half? #

[View source]
def data_type_mask_? #

[View source]
def default_options_? #

[View source]
def display_hex? #

[View source]
def display_hsv? #

[View source]
def display_mask_? #

[View source]
def display_rgb? #

[View source]
def float? #

[View source]
def hdr? #

[View source]
def input_hsv? #

[View source]
def input_mask_? #

[View source]
def input_rgb? #

[View source]
def no_alpha? #

[View source]
def no_border? #

[View source]
def no_drag_drop? #

[View source]
def no_inputs? #

[View source]
def no_label? #

[View source]
def no_options? #

[View source]
def no_picker? #

[View source]
def no_side_preview? #

[View source]
def no_small_preview? #

[View source]
def no_tooltip? #

[View source]
def none? #

[View source]
def picker_hue_bar? #

[View source]
def picker_hue_wheel? #

[View source]
def picker_mask_? #

[View source]
def uint8? #

[View source]