hedgewars/SDLh.pas
changeset 6280 3725cfec4542
parent 6072 e3dc802965d6
child 6281 dc9c44f47e75
equal deleted inserted replaced
6279:7f724835ea57 6280:3725cfec4542
   594             SDL_JOYHATMOTION: (jhat: TSDL_JoyHatEvent);
   594             SDL_JOYHATMOTION: (jhat: TSDL_JoyHatEvent);
   595             SDL_JOYBUTTONDOWN,
   595             SDL_JOYBUTTONDOWN,
   596             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   596             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   597             SDL_QUITEV: (quit: TSDL_QuitEvent);
   597             SDL_QUITEV: (quit: TSDL_QuitEvent);
   598             SDL_USEREVENT: (user: TSDL_UserEvent);
   598             SDL_USEREVENT: (user: TSDL_UserEvent);
       
   599             SDL_ALLEVENTS: (foo: shortstring);
   599             //TODO: implement other events
   600             //TODO: implement other events
   600 {$ELSE}
   601 {$ELSE}
   601         case Byte of
   602         case Byte of
   602             SDL_NOEVENT: (type_: byte);
   603             SDL_NOEVENT: (type_: byte);
   603             SDL_ACTIVEEVENT: (active: TSDL_ActiveEvent);
   604             SDL_ACTIVEEVENT: (active: TSDL_ActiveEvent);
   612             SDL_JOYBUTTONDOWN,
   613             SDL_JOYBUTTONDOWN,
   613             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   614             SDL_JOYBUTTONUP: (jbutton: TSDL_JoyButtonEvent);
   614             SDL_QUITEV: (quit: TSDL_QuitEvent);
   615             SDL_QUITEV: (quit: TSDL_QuitEvent);
   615             //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB
   616             //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB
   616             SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
   617             SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent);
       
   618             SDL_ALLEVENTS: (foo: shortstring);
   617 {$ENDIF}
   619 {$ENDIF}
   618         end;
   620         end;
   619 
   621 
   620     TSDL_EventFilter = function( event : PSDL_Event ): Integer; cdecl;
   622     TSDL_EventFilter = function( event : PSDL_Event ): Integer; cdecl;
   621 
   623