enum ImGui::ImGuiColorEditFlags
Overview
Defined in:
types.crEnum 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
- #alpha_bar?
- #alpha_preview?
- #alpha_preview_half?
- #data_type_mask_?
- #default_options_?
- #display_hex?
- #display_hsv?
- #display_mask_?
- #display_rgb?
- #float?
- #hdr?
- #input_hsv?
- #input_mask_?
- #input_rgb?
- #no_alpha?
- #no_border?
- #no_drag_drop?
- #no_inputs?
- #no_label?
- #no_options?
- #no_picker?
- #no_side_preview?
- #no_small_preview?
- #no_tooltip?
- #none?
- #picker_hue_bar?
- #picker_hue_wheel?
- #picker_mask_?
- #uint8?