equal
deleted
inserted
replaced
616 //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB |
616 //SDL_SYSWMEVENT,SDL_EVENT_RESERVEDA,SDL_EVENT_RESERVEDB |
617 SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent); |
617 SDL_VIDEORESIZE: (resize: TSDL_ResizeEvent); |
618 {$ENDIF} |
618 {$ENDIF} |
619 end; |
619 end; |
620 |
620 |
|
621 TSDL_EventFilter = function( event : PSDL_Event ): Integer; cdecl; |
|
622 |
621 PByteArray = ^TByteArray; |
623 PByteArray = ^TByteArray; |
622 TByteArray = array[0..65535] of Byte; |
624 TByteArray = array[0..65535] of Byte; |
623 PLongWordArray = ^TLongWordArray; |
625 PLongWordArray = ^TLongWordArray; |
624 TLongWordArray = array[0..16383] of LongWord; |
626 TLongWordArray = array[0..16383] of LongWord; |
625 |
627 |
809 function SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName; |
811 function SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName; |
810 |
812 |
811 procedure SDL_PumpEvents; cdecl; external SDLLibName; |
813 procedure SDL_PumpEvents; cdecl; external SDLLibName; |
812 function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
814 function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
813 function SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
815 function SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
|
816 procedure SDL_SetEventFilter( filter : TSDL_EventFilter ); cdecl; external SDLLibName; |
814 |
817 |
815 function SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName; |
818 function SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName; |
816 |
819 |
817 procedure SDL_WM_SetIcon(icon: PSDL_Surface; mask : byte); cdecl; external SDLLibName; |
820 procedure SDL_WM_SetIcon(icon: PSDL_Surface; mask : byte); cdecl; external SDLLibName; |
818 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |
821 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |