Simulant  21.12-1292
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::EventListener Class Reference
Inheritance diagram for smlt::EventListener:
smlt::Panel smlt::ui::KeyboardListener smlt::ui::UIManager smlt::StatsPanel

Public Member Functions

void handle_touch_begin (Window *window, TouchPointID touch_id, float normalized_x, float normalized_y, float pressure)
 
void handle_touch_end (Window *window, TouchPointID touch_id, float normalized_x, float normalized_y)
 
void handle_touch_move (Window *window, TouchPointID touch_id, float normalized_x, float normalized_y, float dx, float dy)
 
void handle_key_down (Window *window, KeyboardCode code, ModifierKeyState modifiers)
 
void handle_key_up (Window *window, KeyboardCode code, ModifierKeyState modifiers)
 
void handle_mouse_down (Window *window, MouseID id, uint8_t mouse_button, int32_t x, int32_t y, bool touch_device)
 
void handle_mouse_up (Window *window, MouseID id, uint8_t mouse_button, int32_t x, int32_t y, bool touch_device)
 
void handle_mouse_move (Window *window, MouseID id, int32_t x, int32_t y, bool touch_device)
 
void handle_controller_button_down (GameControllerIndex controller, JoystickButton button)
 
void handle_controller_button_up (GameControllerIndex controller, JoystickButton button)
 

The documentation for this class was generated from the following files: