ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
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.
 
ident self
 The delegate self-reference.
 

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: