26#include <Objectively/Object.h>
39typedef struct WindowControllerInterface WindowControllerInterface;
93struct WindowControllerInterface {
98 ObjectInterface objectInterface;
static void respondToEvent(View *self, const SDL_Event *event)
static void render(View *self, Renderer *renderer)
static void debug(DebugViewController *self, const View *view, Renderer *renderer)
The DebugViewController type.
The Renderer is responsible for rasterizing the View hierarchy of a WindowController.
static Theme * theme(SDL_Window *window)
#define OBJECTIVELYMVC_EXPORT
A ViewController manages a View and its descendants.
static void setSoundStage(WindowController *self, SoundStage *soundStage)
static void toggleDebugger(WindowController *self)
static void setViewController(WindowController *self, ViewController *viewController)
static void setWindow(WindowController *self, SDL_Window *window)
static void setTheme(WindowController *self, Theme *theme)
static void setRenderer(WindowController *self, Renderer *renderer)
The DebugViewController type.
The Renderer is responsible for rasterizing the View hierarchy of a WindowController.
A ViewController manages a View and its descendants.
Views are the fundamental building blocks of ObjectivelyMVC user interfaces.
A WindowController manages a ViewController and its descendants within an SDL_Window.
ViewController * viewController
The ViewController.
Object object
The superclass.
Class * _WindowController(void)
The WindowController archetype.
SDL_Window * window
The window.
Renderer * renderer
The Renderer.
DebugViewController * debugViewController
The DebugViewController.
WindowControllerInterface * interface
The interface.
SoundStage * soundStage
The SoundStage.