public final class ImGuiColorEditFlags
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AlphaBar
ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.
|
static int |
AlphaPreview
ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.
|
static int |
AlphaPreviewHalf
ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque.
|
static int |
DataTypeMask_
[Internal] Masks
|
static int |
DefaultOptions_
Defaults Options.
|
static int |
DisplayHex
[Display] // "
|
static int |
DisplayHSV
[Display] // "
|
static int |
DisplayMask_
[Internal] Masks
|
static int |
DisplayRGB
[Display] // ColorEdit: override _display_ type among RGB/HSV/Hex.
|
static int |
Float
[DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers.
|
static int |
HDR
(WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
|
static int |
InputHSV
[Input] // ColorEdit, ColorPicker: input and output data in HSV format.
|
static int |
InputMask_
[Internal] Masks
|
static int |
InputRGB
[Input] // ColorEdit, ColorPicker: input and output data in RGB format.
|
static int |
NoAlpha
ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
|
static int |
NoBorder
ColorButton: disable border (which is enforced by default)
|
static int |
NoDragDrop
ColorEdit: disable drag and drop target.
|
static int |
NoInputs
ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g.
|
static int |
NoLabel
ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
|
static int |
None
Definition:
0 |
static int |
NoOptions
ColorEdit: disable toggling options menu when right-clicking on inputs/small preview.
|
static int |
NoPicker
ColorEdit: disable picker when clicking on color square.
|
static int |
NoSidePreview
ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.
|
static int |
NoSmallPreview
ColorEdit, ColorPicker: disable color square preview next to the inputs.
|
static int |
NoTooltip
ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
|
static int |
PickerHueBar
[Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value.
|
static int |
PickerHueWheel
[Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value.
|
static int |
PickerMask_
[Internal] Masks
|
static int |
Uint8
[DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.
|
public static final int None
0
public static final int NoAlpha
Definition: 1 << 1
public static final int NoPicker
Definition: 1 << 2
public static final int NoOptions
Definition: 1 << 3
public static final int NoSmallPreview
Definition: 1 << 4
public static final int NoInputs
Definition: 1 << 5
public static final int NoTooltip
Definition: 1 << 6
public static final int NoLabel
Definition: 1 << 7
public static final int NoSidePreview
Definition: 1 << 8
public static final int NoDragDrop
Definition: 1 << 9
public static final int NoBorder
Definition: 1 << 10
public static final int AlphaBar
Definition: 1 << 16
public static final int AlphaPreview
Definition: 1 << 17
public static final int AlphaPreviewHalf
Definition: 1 << 18
public static final int HDR
Definition: 1 << 19
public static final int DisplayRGB
Definition: 1 << 20
public static final int DisplayHSV
Definition: 1 << 21
public static final int DisplayHex
Definition: 1 << 22
public static final int Uint8
Definition: 1 << 23
public static final int Float
Definition: 1 << 24
public static final int PickerHueBar
Definition: 1 << 25
public static final int PickerHueWheel
Definition: 1 << 26
public static final int InputRGB
Definition: 1 << 27
public static final int InputHSV
Definition: 1 << 28
public static final int DefaultOptions_
Definition: ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar
public static final int DisplayMask_
Definition: ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex
public static final int DataTypeMask_
Definition: ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float
public static final int PickerMask_
Definition: ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar
public static final int InputMask_
Definition: ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV