|
ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
Actions bind event-driven behavior to Controls. More...
#include <Action.h>
Public Member Functions | |
| Class * | _Action (void) |
| The Action archetype. More... | |
| Action * | initWithEventType (Action *self, SDL_EventType eventType, ActionFunction function, ident sender, ident data) |
| Initializes this Action with the given function and data. More... | |
Data Fields | |
| ident | data |
| The user data. More... | |
| SDL_EventType | eventType |
| The event type. More... | |
| ActionFunction | function |
| The function. More... | |
| Object | object |
| The superclass. More... | |
| ident | sender |
| The sender. More... | |
Protected Attributes | |
| ActionInterface * | interface |
| The interface. More... | |
| Class * _Action | ( | void | ) |
The Action archetype.
Definition at line 67 of file Action.c.
| Action * initWithEventType | ( | Action * | self, |
| SDL_EventType | eventType, | ||
| ActionFunction | function, | ||
| ident | sender, | ||
| ident | data | ||
| ) |
Initializes this Action with the given function and data.
| self | The Action. |
| eventType | The event type. |
| function | The ActionFunction. |
| sender | The sender. |
| data | User data. |
NULL on error. | ActionFunction Action::function |