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

The Label type. More...

Go to the source code of this file.

Data Structures

struct  Label
 Labels provide a configurable container for Text. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Label (void)
 

Detailed Description

The Label type.

Definition in file Label.h.

Function Documentation

◆ _Label()

OBJECTIVELYMVC_EXPORT Class * _Label ( void  )

Definition at line 131 of file Label.c.

131 {
132 static Class *clazz;
133 static Once once;
134
135 do_once(&once, {
136 clazz = _initialize(&(const ClassDef) {
137 .name = "Label",
138 .superclass = _View(),
139 .instanceSize = sizeof(Label),
140 .interfaceOffset = offsetof(Label, interface),
141 .interfaceSize = sizeof(LabelInterface),
143 });
144 });
145
146 return clazz;
147}
static void initialize(Class *clazz)
Definition Label.c:116
Class * _View(void)
Definition View.c:2067
Labels provide a configurable container for Text.
Definition Label.h:40