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 184 of file Checkbox.c.

184 {
185 static Class *clazz;
186 static Once once;
187
188 do_once(&once, {
189 clazz = _initialize(&(const ClassDef) {
190 .name = "Checkbox",
191 .superclass = _Control(),
192 .instanceSize = sizeof(Checkbox),
193 .interfaceOffset = offsetof(Checkbox, interface),
194 .interfaceSize = sizeof(CheckboxInterface),
196 .destroy = destroy,
197 });
198 });
199
200 return clazz;
201}
static void destroy(Class *clazz)
Definition Checkbox.c:176
static void initialize(Class *clazz)
Definition Checkbox.c:159
Class * _Control(void)
Definition Control.c:391
Checkboxes are toggle Controls that respond to click events.
Definition Checkbox.h:67