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

A container View with a positioned Label. More...

#include <ObjectivelyMVC/Label.h>
#include <ObjectivelyMVC/StackView.h>

Go to the source code of this file.

Data Structures

struct  Box
 A container View with a positioned Label. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _Box (void)
 

Detailed Description

A container View with a positioned Label.

Definition in file Box.h.

Function Documentation

◆ _Box()

OBJECTIVELYMVC_EXPORT Class * _Box ( void  )

Definition at line 138 of file Box.c.

138 {
139 static Class *clazz;
140 static Once once;
141
142 do_once(&once, {
143 clazz = _initialize(&(const ClassDef) {
144 .name = "Box",
145 .superclass = _View(),
146 .instanceSize = sizeof(Box),
147 .interfaceOffset = offsetof(Box, interface),
148 .interfaceSize = sizeof(BoxInterface),
150 });
151 });
152
153 return clazz;
154}
static void initialize(Class *clazz)
Definition: Box.c:123
A container View with a positioned Label.
Definition: Box.h:44
Class * _View(void)
The View archetype.
Definition: View.c:1769