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

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

Go to the source code of this file.

Data Structures

struct  Checkbox
 Checkboxes are toggle Controls that respond to click events. More...
 
struct  CheckboxDelegate
 The Checkbox delegate protocol. 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 180 of file Checkbox.c.

180 {
181 static Class *clazz;
182 static Once once;
183
184 do_once(&once, {
185 clazz = _initialize(&(const ClassDef) {
186 .name = "Checkbox",
187 .superclass = _Control(),
188 .instanceSize = sizeof(Checkbox),
189 .interfaceSize = sizeof(CheckboxInterface),
190 .initialize = initialize,
191 .destroy = destroy,
192 });
193 });
194
195 return clazz;
196}
static void destroy(Class *clazz)
Definition Checkbox.c:172
static void initialize(Class *clazz)
Definition Checkbox.c:155
Class * _Control(void)
Definition Control.c:414
Checkboxes are toggle Controls that respond to click events.
Definition Checkbox.h:67