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

Checkboxes are toggle Controls that respond to click events. More...

#include <ObjectivelyMVC/Control.h>
#include <ObjectivelyMVC/ImageView.h>
#include <ObjectivelyMVC/Text.h>

Go to the source code of this file.

Data Structures

struct  Checkbox
 Checkboxes are toggle Controls that respond to click events. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Checkbox (void)
 

Detailed Description

Checkboxes are toggle Controls that respond to click events.

Definition in file Checkbox.h.

Function Documentation

◆ _Checkbox()

OBJECTIVELYMVC_EXPORT Class * _Checkbox ( void  )

Definition at line 178 of file Checkbox.c.

178 {
179 static Class *clazz;
180 static Once once;
181
182 do_once(&once, {
183 clazz = _initialize(&(const ClassDef) {
184 .name = "Checkbox",
185 .superclass = _Control(),
186 .instanceSize = sizeof(Checkbox),
187 .interfaceOffset = offsetof(Checkbox, interface),
188 .interfaceSize = sizeof(CheckboxInterface),
190 .destroy = destroy,
191 });
192 });
193
194 return clazz;
195}
static void destroy(Class *clazz)
Definition: Checkbox.c:170
static void initialize(Class *clazz)
Definition: Checkbox.c:152
Checkboxes are toggle Controls that respond to click events.
Definition: Checkbox.h:43
Class * _Control(void)
The Control archetype.
Definition: Control.c:379