ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Fields
HSVColorPickerDelegate Struct Reference

The HSVColorPicker delegate protocol. More...

#include <HSVColorPicker.h>

Data Fields

void(* didPickColor )(HSVColorPicker *hsvColorPicker, double hue, double saturation, double value)
 Called by the HSVColorPicker when color selection changes. More...
 
ident self
 The delegate self-reference. More...
 

Detailed Description

The HSVColorPicker delegate protocol.

Definition at line 43 of file HSVColorPicker.h.

Field Documentation

◆ didPickColor

void(* HSVColorPickerDelegate::didPickColor) (HSVColorPicker *hsvColorPicker, double hue, double saturation, double value)

Called by the HSVColorPicker when color selection changes.

Parameters
hsvColorPickerThe HSVColorPicker.
hueThe hue (0.0 - 360.0).
saturationThe saturation (0.0 - 1.0).
valueThe brightness value (0.0 - 1.0).

Definition at line 57 of file HSVColorPicker.h.

◆ self

ident HSVColorPickerDelegate::self

The delegate self-reference.

Definition at line 48 of file HSVColorPicker.h.


The documentation for this struct was generated from the following file: