5 #include <SDL_events.h>
31 virtual void mousePressed(
const SDL_MouseButtonEvent &arg, Uint8
id ) = 0;
32 virtual void mouseReleased(
const SDL_MouseButtonEvent &arg, Uint8
id ) = 0;
39 virtual void textInput (
const SDL_TextInputEvent& arg) {}
40 virtual void keyPressed(
const SDL_KeyboardEvent &arg) = 0;
41 virtual void keyReleased(
const SDL_KeyboardEvent &arg) = 0;
49 virtual void buttonPressed(
int deviceID,
const SDL_ControllerButtonEvent &evt) = 0;
52 virtual void buttonReleased(
int deviceID,
const SDL_ControllerButtonEvent &evt) = 0;
55 virtual void axisMoved(
int deviceID,
const SDL_ControllerAxisEvent &arg) = 0;
58 virtual void controllerAdded(
int deviceID,
const SDL_ControllerDeviceEvent &arg) = 0;
Sint32 z
Definition: events.hpp:18
virtual void keyReleased(const SDL_KeyboardEvent &arg)=0
virtual void buttonPressed(int deviceID, const SDL_ControllerButtonEvent &evt)=0
Definition: events.hpp:65
Definition: events.hpp:15
virtual void windowClosed()
Definition: events.hpp:76
virtual void mousePressed(const SDL_MouseButtonEvent &arg, Uint8 id)=0
virtual void controllerAdded(int deviceID, const SDL_ControllerDeviceEvent &arg)=0
Definition: events.hpp:26
virtual void axisMoved(int deviceID, const SDL_ControllerAxisEvent &arg)=0
virtual void controllerRemoved(const SDL_ControllerDeviceEvent &arg)=0
Definition: events.hpp:44
virtual void mouseReleased(const SDL_MouseButtonEvent &arg, Uint8 id)=0
virtual void textInput(const SDL_TextInputEvent &arg)
Definition: events.hpp:39
virtual void windowResized(int x, int y)
Definition: events.hpp:78
virtual void windowFocusChange(bool have_focus)
Definition: events.hpp:74
virtual void buttonReleased(int deviceID, const SDL_ControllerButtonEvent &evt)=0
Definition: events.hpp:35
virtual ~WindowListener()
Definition: events.hpp:68
virtual ~ControllerListener()
Definition: events.hpp:47
virtual void mouseMoved(const MouseMotionEvent &arg)=0
virtual ~KeyListener()
Definition: events.hpp:38
virtual void windowVisibilityChange(bool visible)
Definition: events.hpp:71
virtual void keyPressed(const SDL_KeyboardEvent &arg)=0
virtual ~MouseListener()
Definition: events.hpp:29
Sint32 zrel
Definition: events.hpp:17