|
ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
|
ObjectivelyMVC base types. More...
#include <SDL3/SDL_assert.h>#include <SDL3/SDL_events.h>#include <SDL3/SDL_pixels.h>#include <Objectively/Types.h>#include <ObjectivelyGPU/Types.h>Go to the source code of this file.
Macros | |
| #define | OBJECTIVELYMVC_EXPORT extern |
Typedefs | |
| typedef void(* | ViewEnumerator) (View *view, ident data) |
| A function type for View enumeration. | |
Enumerations | |
| enum | ViewEvent { ViewEventNone , ViewEventKeyDown , ViewEventKeyUp , ViewEventMouseButtonDown , ViewEventMouseButtonUp , ViewEventMouseEnter , ViewEventMouseLeave , ViewEventMouseMotion , ViewEventBlur , ViewEventChange , ViewEventClick , ViewEventFocus , ViewEventUserDefined } |
| View event relay codes. More... | |
Variables | |
| OBJECTIVELYMVC_EXPORT Uint32 | MVC_NOTIFICATION_EVENT |
The custom SDL_event type for notifications. | |
| OBJECTIVELYMVC_EXPORT Uint32 | MVC_VIEW_EVENT |
The custom SDL_event type for View event relaying. | |
ObjectivelyMVC base types.
Definition in file Types.h.
| typedef void(* ViewEnumerator) (View *view, ident data) |
| enum ViewEvent |
View event relay codes.
| Enumerator | |
|---|---|
| ViewEventNone | No event. |
| ViewEventKeyDown | A View has received a key down event. |
| ViewEventKeyUp | A View has received a key up event. |
| ViewEventMouseButtonDown | A View has received a mouse button down event. |
| ViewEventMouseButtonUp | A View has received a mouse button up event. |
| ViewEventMouseEnter | The mouse has entered a View's frame. |
| ViewEventMouseLeave | The mouse has left a View's frame. |
| ViewEventMouseMotion | The mouse has moved within a View's frame. |
| ViewEventBlur | A Control has lost focus. |
| ViewEventChange | A Control's input value has changed. |
| ViewEventClick | A Control received one or more click events. |
| ViewEventFocus | A Control's state has focus. |
| ViewEventUserDefined | User-defined ViewEvents. |
Definition at line 61 of file Types.h.
| OBJECTIVELYMVC_EXPORT Uint32 MVC_NOTIFICATION_EVENT |
| OBJECTIVELYMVC_EXPORT Uint32 MVC_VIEW_EVENT |