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
CollectionItemView.h File Reference

The CollectionItemView type. More...

#include <ObjectivelyMVC/ImageView.h>
#include <ObjectivelyMVC/Text.h>
#include <ObjectivelyMVC/View.h>

Go to the source code of this file.

Data Structures

struct  CollectionItemView
 CollectionViewItems are a visual representation of an item within a CollectionView. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _CollectionItemView (void)
 

Detailed Description

The CollectionItemView type.

Definition in file CollectionItemView.h.

Function Documentation

◆ _CollectionItemView()

OBJECTIVELYMVC_EXPORT Class * _CollectionItemView ( void  )

Definition at line 137 of file CollectionItemView.c.

137 {
138 static Class *clazz;
139 static Once once;
140
141 do_once(&once, {
142 clazz = _initialize(&(const ClassDef) {
143 .name = "CollectionItemView",
144 .superclass = _View(),
145 .instanceSize = sizeof(CollectionItemView),
146 .interfaceOffset = offsetof(CollectionItemView, interface),
147 .interfaceSize = sizeof(CollectionItemViewInterface),
149 });
150 });
151
152 return clazz;
153}
static void initialize(Class *clazz)
CollectionViewItems are a visual representation of an item within a CollectionView.
Class * _View(void)
The View archetype.
Definition: View.c:1769