ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
RGBColorPicker.h File Reference

RGB(A) color picker. More...

#include <ObjectivelyMVC/Input.h>
#include <ObjectivelyMVC/Slider.h>
#include <ObjectivelyMVC/StackView.h>

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

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