hedgewars/SDLh.pas
branchhedgeroid
changeset 5826 2a2cce052b4d
parent 5824 2e5835130d9a
child 6023 a28be05b20bc
--- a/hedgewars/SDLh.pas	Fri Sep 09 05:15:45 2011 +0200
+++ b/hedgewars/SDLh.pas	Wed Sep 14 18:43:16 2011 +0200
@@ -572,18 +572,18 @@
 {$ENDIF}
         end;
 
-    SDL_TouchID = Int32;
-    SDL_FingerID = Int32;
+    SDL_TouchID = LongInt;
+    SDL_FingerID = LongInt;
 
     TSDL_TouchFingerEvent = record
-        type_: UInt32;
-        windowId: UInt32;
+        type_: LongWord;
+        windowId: LongWord;
         touchId: SDL_TouchID;
         fingerId: SDL_FingerID;
-        state, padding1, padding2, padding3: UInt8;
-        x,y: UInt16;
-        dx,dy: Int16;
-        pressure: UInt16;
+        state, padding1, padding2, padding3: Byte;
+        x,y: Word;
+        dx,dy: ShortInt;
+        pressure: Word;
     end;
 //TODO: implement SDL_TouchButtonEvent, SDL_MultiGestureEvent, SDL_DollarGestureEvent