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 264 of file RGBColorPicker.c.

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