|
SANDAL2
A SDL2 Wrapper in C
|
Behaviors of a window to events. More...
#include <Window.h>
Public Attributes | |
| void(* | action )(void) |
| void(* | onClick )(int) |
| void(* | unClick )(int) |
| void(* | keyPress )(SDL_Keycode c) |
| void(* | keyReleased )(SDL_Keycode c) |
| void(* | onWheel )(int) |
| void(* | onFocus )(void) |
| void(* | unFocus )(void) |
| void(* | onMouseMotion )(int, int) |
Behaviors of a window to events.
| void(* EventWindow::action) (void) |
function called when update
| void(* EventWindow::keyPress) (SDL_Keycode c) |
function called when a key is pressed
| void(* EventWindow::keyReleased) (SDL_Keycode c) |
function called when a key is released
| void(* EventWindow::onClick) (int) |
function called when the element is clicked
| void(* EventWindow::onFocus) (void) |
function called when window gain focus
| void(* EventWindow::onMouseMotion) (int, int) |
function called when the mouse move on the window
| void(* EventWindow::onWheel) (int) |
function called when a wheel motion occures
| void(* EventWindow::unClick) (int) |
function called when the element is unclicked
| void(* EventWindow::unFocus) (void) |
function called when window lose focus
1.8.13