Struct imgui::ColorPicker[][src]

#[must_use]
pub struct ColorPicker<'ui, 'p> { /* fields omitted */ }

Builder for a color picker widget.

Methods

impl<'ui, 'p> ColorPicker<'ui, 'p>
[src]

Constructs a new color picker builder.

Replaces all current settings with the given flags.

Enables/disables the use of the alpha component.

Enables/disables the colored square preview next to the inputs.

Enables/disables the input sliders/text widgets.

Enables/disables the tooltip that appears when hovering the preview.

Enables/disables display of the inline text label (the label is in any case forwarded to the tooltip and picker).

Enables/disables the bigger color preview on the right side of the picker.

Enables/disables the vertical alpha bar/gradient in the color picker.

Sets the preview style.

Enables/disables the RGB inputs.

Enables/disables the HSV inputs.

Enables/disables the HEX input.

Sets the hue/saturation/value editor mode.

Sets the formatting style of color components.

Sets the shown reference color.

Builds the color picker.

Auto Trait Implementations

impl<'ui, 'p> Send for ColorPicker<'ui, 'p>

impl<'ui, 'p> Sync for ColorPicker<'ui, 'p>