equal
deleted
inserted
replaced
216 procedure InitTouchInterface; |
216 procedure InitTouchInterface; |
217 begin |
217 begin |
218 {$IFDEF USE_TOUCH_INTERFACE} |
218 {$IFDEF USE_TOUCH_INTERFACE} |
219 |
219 |
220 //positioning of the buttons |
220 //positioning of the buttons |
221 {$IFDEF ANDROID} |
221 buttonScale:= uMobile.getScreenDPI/cDefaultZoomLevel; |
222 buttonScale:= Android_JNI_getDensity()/cDefaultZoomLevel; |
|
223 {$ELSE} |
|
224 buttonScale:= 1.5/cDefaultZoomLevel; |
|
225 {$ENDIF} |
|
226 |
222 |
227 |
223 |
228 with JumpWidget do |
224 with JumpWidget do |
229 begin |
225 begin |
230 show:= true; |
226 show:= true; |