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

A WindowController manages a ViewController and its descendants within an SDL_Window. More...

#include <Objectively/Object.h>
#include <ObjectivelyMVC/DebugViewController.h>
#include <ObjectivelyMVC/SoundStage.h>
#include <ObjectivelyMVC/Renderer.h>
#include <ObjectivelyMVC/ViewController.h>

Go to the source code of this file.

Data Structures

struct  WindowController
 A WindowController manages a ViewController and its descendants within an SDL_Window. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _WindowController (void)
 

Detailed Description

A WindowController manages a ViewController and its descendants within an SDL_Window.

Definition in file WindowController.h.

Function Documentation

◆ _WindowController()

OBJECTIVELYMVC_EXPORT Class * _WindowController ( void  )

Definition at line 380 of file WindowController.c.

380 {
381 static Class *clazz;
382 static Once once;
383
384 do_once(&once, {
385 clazz = _initialize(&(const ClassDef) {
386 .name = "WindowController",
387 .superclass = _Object(),
388 .instanceSize = sizeof(WindowController),
389 .interfaceOffset = offsetof(WindowController, interface),
390 .interfaceSize = sizeof(WindowControllerInterface),
392 });
393 });
394
395 return clazz;
396}
static void initialize(Class *clazz)
A WindowController manages a ViewController and its descendants within an SDL_Window.