552 TSDL_TouchId = Int64; |
556 TSDL_TouchId = Int64; |
553 TSDL_FingerId = Int64; |
557 TSDL_FingerId = Int64; |
554 TSDL_Keycode = LongInt; |
558 TSDL_Keycode = LongInt; |
555 TSDL_Scancode = LongInt; |
559 TSDL_Scancode = LongInt; |
556 TSDL_JoystickID = LongInt; |
560 TSDL_JoystickID = LongInt; |
|
561 TSDL_bool = LongInt; |
557 |
562 |
558 TSDL_eventaction = (SDL_ADDEVENT, SDL_PEEPEVENT, SDL_GETEVENT); |
563 TSDL_eventaction = (SDL_ADDEVENT, SDL_PEEPEVENT, SDL_GETEVENT); |
559 |
564 |
560 PSDL_Rect = ^TSDL_Rect; |
565 PSDL_Rect = ^TSDL_Rect; |
561 TSDL_Rect = record |
566 TSDL_Rect = record |
1105 function SDL_RenderClear(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |
1110 function SDL_RenderClear(renderer: PSDL_Renderer): LongInt; cdecl; external SDLLibName; |
1106 procedure SDL_RenderPresent(renderer: PSDL_Renderer); cdecl; external SDLLibName; |
1111 procedure SDL_RenderPresent(renderer: PSDL_Renderer); cdecl; external SDLLibName; |
1107 function SDL_RenderReadPixels(renderer: PSDL_Renderer; rect: PSDL_Rect; format: LongInt; pixels: Pointer; pitch: LongInt): LongInt; cdecl; external SDLLibName; |
1112 function SDL_RenderReadPixels(renderer: PSDL_Renderer; rect: PSDL_Rect; format: LongInt; pixels: Pointer; pitch: LongInt): LongInt; cdecl; external SDLLibName; |
1108 function SDL_RenderSetViewport(window: PSDL_Window; rect: PSDL_Rect): LongInt; cdecl; external SDLLibName; |
1113 function SDL_RenderSetViewport(window: PSDL_Window; rect: PSDL_Rect): LongInt; cdecl; external SDLLibName; |
1109 |
1114 |
|
1115 function SDL_SetRelativeMouseMode(enabled: TSDL_bool): LongInt; cdecl; external SDLLibName; |
1110 function SDL_GetRelativeMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName; |
1116 function SDL_GetRelativeMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName; |
1111 function SDL_PixelFormatEnumToMasks(format: TSDL_ArrayByteOrder; bpp: PLongInt; Rmask, Gmask, Bmask, Amask: PLongInt): Boolean; cdecl; external SDLLibName; |
1117 function SDL_PixelFormatEnumToMasks(format: TSDL_ArrayByteOrder; bpp: PLongInt; Rmask, Gmask, Bmask, Amask: PLongInt): Boolean; cdecl; external SDLLibName; |
1112 |
1118 |
1113 procedure SDL_WarpMouseInWindow(window: PSDL_Window; x, y: LongInt); cdecl; external SDLLibName; |
1119 procedure SDL_WarpMouseInWindow(window: PSDL_Window; x, y: LongInt); cdecl; external SDLLibName; |
1114 function SDL_SetHint(name, value: PChar): Boolean; cdecl; external SDLLibName; |
1120 function SDL_SetHint(name, value: PChar): Boolean; cdecl; external SDLLibName; |