ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Data Structures | Functions
Label.h File Reference

The Label type. More...

#include <ObjectivelyMVC/Text.h>

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 130 of file Label.c.

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