hedgewars/uVariables.pas
changeset 6676 21cf35a570a7
parent 6648 025473a2c420
child 6683 75a1d84ac606
--- a/hedgewars/uVariables.pas	Sun Feb 12 15:35:06 2012 +0100
+++ b/hedgewars/uVariables.pas	Sun Feb 12 15:59:10 2012 +0100
@@ -195,7 +195,7 @@
 
 /////////////////////////////////////
 //Buttons
-{$IFDEF MOBILE}
+{$IFDEF USE_TOUCH_INTERFACE}
     buttonScale: GLFloat;
 
     arrowUpX, arrowUpY, arrowUpW, arrowUpH: LongInt; 
@@ -395,7 +395,7 @@
             Width:  80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindL
             (FileName:      'WindR'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
             Width:  80; Height: 13; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprWindR
-{$IFDEF ANDROID}
+{$IFDEF USE_TOUCH_INTERFACE}
             (FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
             Width: 128; Height: 128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true), // sprFireButton
             (FileName: 'arrowUp'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;