hedgewars/uWorld.pas
changeset 8204 9a6030d96273
parent 8145 6408c0ba4ba1
child 8330 aaefa587e277
child 8359 9a7024b2a4d3
equal deleted inserted replaced
8203:2c98ec41697a 8204:9a6030d96273
    58     , uTextures
    58     , uTextures
    59     , uRender
    59     , uRender
    60     , uCaptions
    60     , uCaptions
    61     , uCursor
    61     , uCursor
    62     , uCommands
    62     , uCommands
    63     , uMobile
       
    64 {$IFDEF USE_VIDEO_RECORDING}    
    63 {$IFDEF USE_VIDEO_RECORDING}    
    65     , uVideoRec
    64     , uVideoRec
    66 {$ENDIF}    
    65 {$ENDIF}    
    67     ;
    66     ;
    68 
    67 
   244 procedure InitTouchInterface;
   243 procedure InitTouchInterface;
   245 begin
   244 begin
   246 {$IFDEF USE_TOUCH_INTERFACE}
   245 {$IFDEF USE_TOUCH_INTERFACE}
   247 
   246 
   248 //positioning of the buttons
   247 //positioning of the buttons
   249 buttonScale:= uMobile.getScreenDPI/cDefaultZoomLevel;
   248 buttonScale:= mobileRecord.getScreenDPI()/cDefaultZoomLevel;
   250 
   249 
   251 
   250 
   252 with JumpWidget do
   251 with JumpWidget do
   253     begin
   252     begin
   254     show:= true;
   253     show:= true;