hedgewars/uVariables.pas
changeset 6683 75a1d84ac606
parent 6676 21cf35a570a7
child 6685 ef706fccfb0a
--- a/hedgewars/uVariables.pas	Mon Feb 13 08:18:59 2012 +0100
+++ b/hedgewars/uVariables.pas	Wed Feb 15 16:23:59 2012 +0100
@@ -155,7 +155,7 @@
     WeaponTooltipTex: PTexture;
     AmmoMenuTex     : PTexture;
     AmmoMenuInvalidated: boolean;
-    AmmoRect: TSDL_Rect;
+    AmmoRect		: TSDL_Rect;
     HHTexture       : PTexture;
 
 
@@ -198,14 +198,8 @@
 {$IFDEF USE_TOUCH_INTERFACE}
     buttonScale: GLFloat;
 
-    arrowUpX, arrowUpY, arrowUpW, arrowUpH: LongInt; 
-    arrowDownX, arrowDownY, arrowDownW, arrowDownH: LongInt; 
-    arrowLeftX, arrowLeftY, arrowLeftW, arrowLeftH: LongInt; 
-    arrowRightX, arrowRightY, arrowRightW, arrowRightH: LongInt; 
-
-    firebuttonX, fireButtonY, fireButtonW, fireButtonH: LongInt; 
-    backjumpX, backjumpY, backjumpW, backjumpH: LongInt; 
-    forwardjumpX, forwardjumpY, forwardjumpW, forwardjumpH: LongInt; 
+    arrowUp, arrowDown, arrowLeft, arrowRight: TOnScreenWidget; 
+    firebutton, backjump, forwardjump: TOnScreenWidget; 
 {$ENDIF}
 const
     cHHFileName = 'Hedgehog';