_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <video.h>
Public Attributes | |
void(* | ButtonPressed )(unsigned buttons) |
Callback for mouse button press. More... | |
void(* | ButtonReleased )(unsigned buttons) |
Callback for mouse button release. More... | |
void(* | MouseMoved )(const PixelPos &screenPos) |
Callback for mouse move. More... | |
void(* | MouseExit )() |
Callback for mouse exit of game window. More... | |
void(* | KeyPressed )(unsigned keycode, unsigned keychar) |
Callback for key press. More... | |
void(* | KeyReleased )(unsigned keycode, unsigned keychar) |
Callback for key release. More... | |
void(* | KeyRepeated )(unsigned keycode, unsigned keychar) |
Callback for key repeated. More... | |
void(* | NetworkEvent )() |
Callback for network event. More... | |
Event call back.
This is placed in the video part, because it depends on the video hardware driver.
void(* EventCallback::ButtonPressed) (unsigned buttons) |
Callback for mouse button press.
void(* EventCallback::ButtonReleased) (unsigned buttons) |
Callback for mouse button release.
void(* EventCallback::KeyPressed) (unsigned keycode, unsigned keychar) |
Callback for key press.
void(* EventCallback::KeyReleased) (unsigned keycode, unsigned keychar) |
Callback for key release.
void(* EventCallback::KeyRepeated) (unsigned keycode, unsigned keychar) |
Callback for key repeated.
void(* EventCallback::MouseExit) () |
Callback for mouse exit of game window.
void(* EventCallback::NetworkEvent) () |
Callback for network event.