38typedef struct HSVColorPickerInterface HSVColorPickerInterface;
112struct HSVColorPickerInterface {
117 ControlInterface controlInterface;
146 void (*setColor)(
HSVColorPicker *self,
double hue,
double saturation,
double value);
155 void (*setRGBColor)(
HSVColorPicker *self,
const SDL_Color *color);
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.
HSVColorPickerDelegate delegate
The delegate.
Slider * hueSlider
The Sliders.
View * colorView
The color preview.
Slider * saturationSlider
HSVColorPickerInterface * interface
The interface.
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.