Type ColorPickerOptions
type ColorPickerOptions struct {
IDs ColorPickerIDs
Labels ColorPickerLabels
Value ColorPickerValue
Hex InputSnapshot
Error string
SaturationText, HueText, AlphaText string
Open, Empty, Disabled, ShowAlpha bool
// RoundTrigger renders a circular swatch. TriggerIcon can identify a custom
// color action independently of its selected color.
RoundTrigger bool
TriggerIcon *ui.Icon
Viewport ui.Rect
Layer uint16
Scope ui.ID
}ColorPickerOptions is a snapshot, not a binding or a hidden editor. The application stages Value and Hex while open, commits on Apply, and restores its original value on Cancel/Dismiss. Native text input resolves IDs.Hex to the application's editor just as it does for Input.