38typedef struct HSVColorPickerInterface HSVColorPickerInterface;
112struct HSVColorPickerInterface {
117 ControlInterface controlInterface;
static void setRGBColor(HSVColorPicker *self, const SDL_Color *color)
static void setColor(HSVColorPicker *self, double hue, double saturation, double value)
static SDL_Color rgbColor(const HSVColorPicker *self)
OBJECTIVELYMVC_EXPORT Class * _HSVColorPicker(void)
A Control allowing users to drag a handle to select a numeric value.
StackViews are containers that manage the arrangement of their subviews.
#define OBJECTIVELYMVC_EXPORT
Controls are Views which capture and respond to events.
The HSVColorPicker delegate protocol.
void(* didPickColor)(HSVColorPicker *hsvColorPicker, double hue, double saturation, double value)
Called by the HSVColorPicker when color selection changes.
ident self
The delegate self-reference.
HSVColorPickerInterface * interface[0]
The interface type.
HSVColorPickerDelegate delegate
The delegate.
Slider * hueSlider
The Sliders.
View * colorView
The color preview.
Slider * saturationSlider
Input * hueInput
The Inputs containing the Sliders.
double hue
The color components.
Control control
The superclass.
StackView * stackView
The StackView.
A Control allowing users to drag a handle to select a numeric value.
StackViews are containers that manage the arrangement of their subviews.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.