ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
RGBColorPicker.h File Reference

RGB(A) color picker. More...

Go to the source code of this file.

Data Structures

struct  RGBColorPicker
 RGB(A) color picker. More...
 
struct  RGBColorPickerDelegate
 The RGBColorPicker delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _RGBColorPicker (void)
 

Detailed Description

RGB(A) color picker.

Definition in file RGBColorPicker.h.

Function Documentation

◆ _RGBColorPicker()

OBJECTIVELYMVC_EXPORT Class * _RGBColorPicker ( void  )

Definition at line 266 of file RGBColorPicker.c.

266 {
267 static Class *clazz;
268 static Once once;
269
270 do_once(&once, {
271 clazz = _initialize(&(const ClassDef) {
272 .name = "RGBColorPicker",
273 .superclass = _Control(),
274 .instanceSize = sizeof(RGBColorPicker),
275 .interfaceSize = sizeof(RGBColorPickerInterface),
276 .initialize = initialize,
277 });
278 });
279
280 return clazz;
281}
Class * _Control(void)
Definition Control.c:414
static void initialize(Class *clazz)
RGB(A) color picker.