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

PageViews manage their subviews as pages in a book. More...

#include <ObjectivelyMVC/View.h>

Go to the source code of this file.

Data Structures

struct  PageView
 PageViews manage their subviews as pages in a book. More...
 
struct  PageViewDelegate
 The PageView delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _PageView (void)
 

Detailed Description

PageViews manage their subviews as pages in a book.

Definition in file PageView.h.

Function Documentation

◆ _PageView()

OBJECTIVELYMVC_EXPORT Class * _PageView ( void  )

Definition at line 161 of file PageView.c.

161 {
162 static Class *clazz;
163 static Once once;
164
165 do_once(&once, {
166 clazz = _initialize(&(const ClassDef) {
167 .name = "PageView",
168 .superclass = _View(),
169 .instanceSize = sizeof(PageView),
170 .interfaceOffset = offsetof(PageView, interface),
171 .interfaceSize = sizeof(PageViewInterface),
173 });
174 });
175
176 return clazz;
177}
static void initialize(Class *clazz)
Definition: PageView.c:146
PageViews manage their subviews as pages in a book.
Definition: PageView.h:60
Class * _View(void)
The View archetype.
Definition: View.c:1769