1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
7 // http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
17 #if defined(TARGET_SDL2)
18 int FilterEvents(void *, Event *);
20 int FilterEvents(const Event *);
24 void HandleOtherEvents(Event *);
25 void ClearEventQueue(void);
26 void ClearPlayerAction(void);
27 void SleepWhileUnmapped(void);
29 void HandleExposeEvent(ExposeEvent *);
30 void HandleButtonEvent(ButtonEvent *);
31 void HandleMotionEvent(MotionEvent *);
32 #if defined(TARGET_SDL2)
33 void HandleWindowEvent(WindowEvent *);
34 void HandleFingerEvent(FingerEvent *);
35 void HandleTextEvent(TextEvent *);
36 void HandlePauseResumeEvent(PauseResumeEvent *);
38 void HandleKeyEvent(KeyEvent *);
39 void HandleFocusEvent(FocusChangeEvent *);
40 void HandleClientMessageEvent(ClientMessageEvent *);
41 void HandleWindowManagerEvent(Event *);
43 void HandleNoEvent(void);
44 void HandleToonAnimations(void);
46 void HandleButton(int, int, int, int);
47 void HandleKey(Key, int);
48 void HandleJoystick();