ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
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/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 536 of file WindowController.c.

536 {
537 static Class *clazz;
538 static Once once;
539
540 do_once(&once, {
541 clazz = _initialize(&(const ClassDef) {
542 .name = "WindowController",
543 .superclass = _Object(),
544 .instanceSize = sizeof(WindowController),
545 .interfaceOffset = offsetof(WindowController, interface),
546 .interfaceSize = sizeof(WindowControllerInterface),
548 });
549 });
550
551 return clazz;
552}
static void initialize(Class *clazz)
A WindowController manages a ViewController and its descendants within an SDL_Window.