ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
The DebugViewController type. More...
#include <DebugViewController.h>
Public Member Functions | |
Class * | _DebugViewController (void) |
The DebugViewController archetype. More... | |
void | debug (DebugViewController *self, const View *view, Renderer *renderer) |
Debugs the given View. More... | |
DebugViewController * | init (DebugViewController *self) |
Initializes this DebugViewController. More... | |
![]() | |
Class * | _ViewController (void) |
The ViewController archetype. More... | |
void | addChildViewController (ViewController *self, ViewController *childViewController) |
Adds the specified child ViewController to this ViewController. More... | |
void | handleNotification (ViewController *self, const Notification *notification) |
Handles a broadcast notification. More... | |
ViewController * | init (ViewController *self) |
Initializes this ViewController. More... | |
void | loadView (ViewController *self) |
Loads this ViewController's View. More... | |
void | loadViewIfNeeded (ViewController *self) |
Loads this ViewController's View if it is not already loaded. More... | |
void | moveToParentViewController (ViewController *self, ViewController *parentViewController) |
Moves this ViewController to the specified parent. More... | |
void | removeChildViewController (ViewController *self, ViewController *childViewController) |
Removes the specified child ViewController from this ViewController. More... | |
void | removeFromParentViewController (ViewController *self) |
Removes this ViewController from its parent. More... | |
void | respondToEvent (ViewController *self, const SDL_Event *event) |
Responds to the given event. More... | |
void | setView (ViewController *self, View *view) |
Sets this ViewController's View. More... | |
void | viewDidAppear (ViewController *self) |
This method is invoked after this ViewController's View is added to the View hierarchy. More... | |
void | viewDidDisappear (ViewController *self) |
This method is invoked after this ViewController's View is removed to the View hierarchy. More... | |
void | viewWillAppear (ViewController *self) |
This method is invoked before this ViewController's View is added to the View hierarchy. More... | |
void | viewWillDisappear (ViewController *self) |
This method is invoked before this ViewController's View is removed from the View hierarchy. More... | |
Data Fields | |
TableView * | computedStyle |
The computed style of the View. More... | |
const View * | debug |
The View to debug. More... | |
Text * | description |
The View description. More... | |
int | frames |
Text * | path |
The path to the debug View. More... | |
Renderer * | renderer |
A weak referece to the current WindowController's renderer. More... | |
const View * | root |
The root ancestor of the debug View. More... | |
TableView * | selectors |
The CSS selectors matching the View. More... | |
Text * | statistics |
int | timestamp |
ViewController | viewController |
The superclass. More... | |
int | visibleViews |
The count of visibile Views. More... | |
TableView * | warnings |
The warnings generated by the View. More... | |
![]() | |
MutableArray * | childViewControllers |
The child view controllers. More... | |
ViewControllerInterface * | interface |
The interface. More... | |
Object | object |
The superclass. More... | |
ViewController * | parentViewController |
The parent view controller. More... | |
View * | view |
The main view. More... | |
Protected Attributes | |
DebugViewControllerInterface * | interface |
The interface. More... | |
The DebugViewController type.
Definition at line 41 of file DebugViewController.h.
Class * _DebugViewController | ( | void | ) |
The DebugViewController archetype.
Definition at line 336 of file DebugViewController.c.
void debug | ( | DebugViewController * | self, |
const View * | view, | ||
Renderer * | renderer | ||
) |
Debugs the given View.
self | The DebugViewController. |
view | The View to debug. |
renderer | The Renderer to draw debugging information with. |
Definition at line 259 of file DebugViewController.c.
DebugViewController * init | ( | DebugViewController * | self | ) |
Initializes this DebugViewController.
self | The DebugViewController. |
NULL
on error. Definition at line 315 of file DebugViewController.c.
TableView* DebugViewController::computedStyle |
The computed style of the View.
Definition at line 102 of file DebugViewController.h.
const View* DebugViewController::debug |
The View to debug.
Definition at line 57 of file DebugViewController.h.
Text* DebugViewController::description |
The View description.
Definition at line 92 of file DebugViewController.h.
int DebugViewController::frames |
Framerate counters.
Definition at line 82 of file DebugViewController.h.
|
protected |
The interface.
Definition at line 52 of file DebugViewController.h.
Text* DebugViewController::path |
The path to the debug View.
Definition at line 77 of file DebugViewController.h.
Renderer* DebugViewController::renderer |
A weak referece to the current WindowController's renderer.
Definition at line 67 of file DebugViewController.h.
const View* DebugViewController::root |
The root ancestor of the debug View.
Definition at line 62 of file DebugViewController.h.
TableView* DebugViewController::selectors |
The CSS selectors matching the View.
Definition at line 97 of file DebugViewController.h.
Text* DebugViewController::statistics |
The debug statistics.
Definition at line 72 of file DebugViewController.h.
int DebugViewController::timestamp |
Definition at line 82 of file DebugViewController.h.
ViewController DebugViewController::viewController |
The superclass.
Definition at line 46 of file DebugViewController.h.
int DebugViewController::visibleViews |
The count of visibile Views.
Definition at line 87 of file DebugViewController.h.
TableView* DebugViewController::warnings |
The warnings generated by the View.
Definition at line 107 of file DebugViewController.h.