one more USE_TOUCH_INTERFACE
authorkoda
Sat, 18 Feb 2012 11:18:10 +0100
changeset 6707 07c8704b6b08
parent 6706 c4272519b128
child 6708 314929f0a3e1
one more USE_TOUCH_INTERFACE
hedgewars/uTouch.pas
--- a/hedgewars/uTouch.pas	Fri Feb 17 20:42:22 2012 -0500
+++ b/hedgewars/uTouch.pas	Sat Feb 18 11:18:10 2012 +0100
@@ -215,6 +215,7 @@
     finger: PTouch_Data;
     widget: POnScreenWidget;
 begin
+{$IFDEF USE_TOUCH_INTERFACE}
 x := x;
 y := y;
 finger:= updateFinger(x,y,0,0,pointerId);
@@ -259,6 +260,7 @@
     end;
  
 deleteFinger(pointerId);
+{$ENDIF}
 end;
 
 procedure onTouchDoubleClick(finger: TTouch_Data);