src/events/SDL_events_c.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1612 97d0966f4bf7
child 1668 4da1ee79c9af
     1.1 --- a/src/events/SDL_events_c.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/events/SDL_events_c.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -25,25 +25,23 @@
     1.4  #include "SDL_events.h"
     1.5  
     1.6  /* Start and stop the event processing loop */
     1.7 -extern int SDL_StartEventLoop(Uint32 flags);
     1.8 -extern void SDL_StopEventLoop(void);
     1.9 -extern void SDL_QuitInterrupt(void);
    1.10 +extern int SDL_StartEventLoop (Uint32 flags);
    1.11 +extern void SDL_StopEventLoop (void);
    1.12 +extern void SDL_QuitInterrupt (void);
    1.13  
    1.14 -extern void SDL_Lock_EventThread(void);
    1.15 -extern void SDL_Unlock_EventThread(void);
    1.16 -extern Uint32 SDL_EventThreadID(void);
    1.17 +extern void SDL_Lock_EventThread (void);
    1.18 +extern void SDL_Unlock_EventThread (void);
    1.19 +extern Uint32 SDL_EventThreadID (void);
    1.20  
    1.21  /* Event handler init routines */
    1.22 -extern int  SDL_AppActiveInit(void);
    1.23 -extern int  SDL_KeyboardInit(void);
    1.24 -extern int  SDL_MouseInit(void);
    1.25 -extern int  SDL_QuitInit(void);
    1.26 +extern int SDL_KeyboardInit (void);
    1.27 +extern int SDL_MouseInit (void);
    1.28 +extern int SDL_QuitInit (void);
    1.29  
    1.30  /* Event handler quit routines */
    1.31 -extern void SDL_AppActiveQuit(void);
    1.32 -extern void SDL_KeyboardQuit(void);
    1.33 -extern void SDL_MouseQuit(void);
    1.34 -extern void SDL_QuitQuit(void);
    1.35 +extern void SDL_KeyboardQuit (void);
    1.36 +extern void SDL_MouseQuit (void);
    1.37 +extern void SDL_QuitQuit (void);
    1.38  
    1.39  /* The event filter function */
    1.40  extern SDL_EventFilter SDL_EventOK;
    1.41 @@ -52,29 +50,31 @@
    1.42  extern Uint8 SDL_ProcessEvents[SDL_NUMEVENTS];
    1.43  
    1.44  /* Internal event queueing functions
    1.45 -   (from SDL_active.c, SDL_mouse.c, SDL_keyboard.c, SDL_quit.c, SDL_events.c)
    1.46 +   (from SDL_mouse.c, SDL_keyboard.c, SDL_quit.c, SDL_events.c, SDL_windowevents.c)
    1.47   */
    1.48 -extern int SDL_PrivateAppActive(Uint8 gain, Uint8 state);
    1.49 -extern int SDL_PrivateMouseMotion(Uint8 buttonstate, int relative,
    1.50 -						Sint16 x, Sint16 y);
    1.51 -extern int SDL_PrivateMouseButton(Uint8 state, Uint8 button,Sint16 x,Sint16 y);
    1.52 -extern int SDL_PrivateKeyboard(Uint8 state, SDL_keysym *key);
    1.53 -extern int SDL_PrivateResize(int w, int h);
    1.54 -extern int SDL_PrivateExpose(void);
    1.55 -extern int SDL_PrivateQuit(void);
    1.56 -extern int SDL_PrivateSysWMEvent(SDL_SysWMmsg *message);
    1.57 +extern int SDL_PrivateWindowEvent (SDL_WindowID windowID, Uint8 windowevent,
    1.58 +                                   int data1, int data2);
    1.59 +extern int SDL_PrivateMouseMotion (Uint8 buttonstate, int relative, Sint16 x,
    1.60 +                                   Sint16 y);
    1.61 +extern int SDL_PrivateMouseButton (Uint8 state, Uint8 button, Sint16 x,
    1.62 +                                   Sint16 y);
    1.63 +extern int SDL_PrivateKeyboard (Uint8 state, SDL_keysym * key);
    1.64 +extern int SDL_PrivateQuit (void);
    1.65 +extern int SDL_PrivateSysWMEvent (SDL_SysWMmsg * message);
    1.66  
    1.67  /* Used by the activity event handler to remove mouse focus */
    1.68 -extern void SDL_ResetMouse(void);
    1.69 +extern void SDL_ResetMouse (void);
    1.70  
    1.71  /* Used by the activity event handler to remove keyboard focus */
    1.72 -extern void SDL_ResetKeyboard(void);
    1.73 +extern void SDL_ResetKeyboard (void);
    1.74  
    1.75  /* Used by the event loop to queue pending keyboard repeat events */
    1.76 -extern void SDL_CheckKeyRepeat(void);
    1.77 +extern void SDL_CheckKeyRepeat (void);
    1.78  
    1.79  /* Used by the OS keyboard code to detect whether or not to do UNICODE */
    1.80  #ifndef DEFAULT_UNICODE_TRANSLATION
    1.81 -#define DEFAULT_UNICODE_TRANSLATION 0	/* Default off because of overhead */
    1.82 +#define DEFAULT_UNICODE_TRANSLATION 0   /* Default off because of overhead */
    1.83  #endif
    1.84  extern int SDL_TranslateUNICODE;
    1.85 +
    1.86 +/* vi: set ts=4 sw=4 expandtab: */