equal
deleted
inserted
replaced
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 |