API reference
Preparing search index…

ImGui.ImGuiColorEditFlags

Const
ImGuiColorEditFlags: Readonly<
    {
        AlphaBar: 65536;
        AlphaMask_: 14338;
        AlphaNoBg: 4096;
        AlphaOpaque: 2048;
        AlphaPreview: 0;
        AlphaPreviewHalf: 8192;
        DataTypeMask_: 25165824;
        DefaultOptions_: 177209344;
        DisplayHex: 4194304;
        DisplayHSV: 2097152;
        DisplayMask_: 7340032;
        DisplayRGB: 1048576;
        Float: 16777216;
        HDR: 524288;
        InputHSV: 268435456;
        InputMask_: 402653184;
        InputRGB: 134217728;
        NoAlpha: 2;
        NoBorder: 1024;
        NoDragDrop: 512;
        NoInputs: 32;
        NoLabel: 128;
        None: 0;
        NoOptions: 8;
        NoPicker: 4;
        NoSidePreview: 256;
        NoSmallPreview: 16;
        NoTooltip: 64;
        PickerHueBar: 33554432;
        PickerHueWheel: 67108864;
        PickerMask_: 100663296;
        Uint8: 8388608;
    },
> = ...

Color editor, picker and preview options. Display format is independent of the RGB/HSV format stored in the supplied color data.

Type declaration

  • ReadonlyAlphaBar: 65536

    Show a vertical alpha gradient bar in the picker.

  • ReadonlyAlphaMask_: 14338

    Internal mask of alpha editing and preview options.

  • ReadonlyAlphaNoBg: 4096

    Do not draw the checkerboard behind transparent previews.

  • ReadonlyAlphaOpaque: 2048

    Make the preview opaque without disabling alpha editing.

  • ReadonlyAlphaPreview: 0

    Obsolete zero-valued option: transparent preview is now the default.

  • ReadonlyAlphaPreviewHalf: 8192

    Split the preview into opaque and transparent halves.

  • ReadonlyDataTypeMask_: 25165824

    Internal mask of integer versus float display formatting.

  • ReadonlyDefaultOptions_: 177209344

    Default combination: Uint8 display, RGB display/data and hue-bar picker.

  • ReadonlyDisplayHex: 4194304

    Show hexadecimal color input.

  • ReadonlyDisplayHSV: 2097152

    Show HSV inputs; does not change the stored color format.

  • ReadonlyDisplayMask_: 7340032

    Internal mask of RGB/HSV/hex display choices.

  • ReadonlyDisplayRGB: 1048576

    Show RGB inputs; ColorPicker may combine multiple display modes.

  • ReadonlyFloat: 16777216

    Display floating-point components without integer round-tripping.

  • ReadonlyHDR: 524288

    Remove 0..1 limits in RGBA editing; usually pair with Float.

  • ReadonlyInputHSV: 268435456

    Read and write color data as HSV, independently of display format.

  • ReadonlyInputMask_: 402653184

    Internal mask of RGB versus HSV storage formats.

  • ReadonlyInputRGB: 134217728

    Read and write color data as RGB, independently of display format.

  • ReadonlyNoAlpha: 2

    Ignore alpha entirely; read only three color components.

  • ReadonlyNoBorder: 1024

    ColorButton: do not draw the normally enforced border.

  • ReadonlyNoDragDrop: 512

    Disable ColorEdit drop targets and ColorButton drag sources.

  • ReadonlyNoInputs: 32

    Hide numeric sliders and text inputs in color editors/pickers.

  • ReadonlyNoLabel: 128

    Hide the inline label, retaining it in tooltips and the picker.

  • ReadonlyNone: 0

    Use application defaults and the user's selected color-edit options.

  • ReadonlyNoOptions: 8

    ColorEdit: disable the right-click options menu.

  • ReadonlyNoPicker: 4

    ColorEdit: do not open a picker when the color square is clicked.

  • ReadonlyNoSidePreview: 256

    ColorPicker: replace the large side preview with a small preview.

  • ReadonlyNoSmallPreview: 16

    Hide the small preview square beside color inputs.

  • ReadonlyNoTooltip: 64

    Suppress tooltips when hovering a color preview.

  • ReadonlyPickerHueBar: 33554432

    Picker with a hue bar and saturation/value rectangle.

  • ReadonlyPickerHueWheel: 67108864

    Picker with a hue wheel and saturation/value triangle.

  • ReadonlyPickerMask_: 100663296

    Internal mask of hue-bar versus hue-wheel picker choices.

  • ReadonlyUint8: 8388608

    Display components as integers from 0 to 255; storage stays unchanged.

Source & inheritance

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