Skip to contents

Color Picker control, using Hue-Saturation-Value color data, includes Color bar controls.

Usage

gui_color_picker_hsv(bounds, text, color_hsv)

Arguments

bounds

A rectangle.

text

A string.

color_hsv

A numeric vector of length 3 (current value).

Value

A list with result (integer), color_hsv (numeric vector of length 3).

Examples

if (FALSE) {
gui_color_picker_hsv(rectangle(10, 10, 200, 100), "Hello", c(0, 0, 0))
}