API reference
Preparing search index…

ImGui.ColorButton

  • Display a clickable color swatch with color details available on hover.

    Parameters

    desc_id
    string | Uint8Array

    String identifier hashed with the current ID stack to distinguish this item or scope.

    col

    Floating-point RGBA color; alpha controls opacity.

    flags
    number = 0

    ImGuiColorEditFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

    True when the item is activated this frame; this is an activation event, not a persistent selected state.

    Implied size = { x: 0, y: 0 }

    Source & inheritance

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