mirror of
https://github.com/dgis/emu48android
synced 2024-12-26 09:58:49 +01:00
Fix the KML button Type 3 with a Background offset which was not display at the right location (Fix #15).
This commit is contained in:
parent
378a3cf67d
commit
72ccc7a98b
10 changed files with 21 additions and 25 deletions
|
@ -70,6 +70,7 @@ Version 2.0 (2020-11-XX)
|
|||
- Replaces the haptic feedback switch with a slider to adjust the vibration duration.
|
||||
- Fix transparency issue (RGB -> BGR).
|
||||
- Fix a printer issue from Christoph Gießelink's HP82240B Printer Simulator version 1.12.
|
||||
- Fix the KML button Type 3 with a Background offset which was not display at the right location (Fix #15).
|
||||
|
||||
|
||||
Version 1.9 (2020-09-07)
|
||||
|
|
|
@ -81,11 +81,11 @@ android {
|
|||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
|
||||
implementation 'androidx.preference:preference:1.1.1'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||
testImplementation 'junit:junit:4.13'
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
androidTestImplementation 'androidx.test:runner:1.3.0'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ Version 2.0 (2020-11-XX)
|
|||
- Replaces the haptic feedback switch with a slider to adjust the vibration duration.
|
||||
- Fix transparency issue (RGB -> BGR).
|
||||
- Fix a printer issue from Christoph Gießelink's HP82240B Printer Simulator version 1.12.
|
||||
- Fix the KML button Type 3 with a Background offset which was not display at the right location (Fix #15).
|
||||
|
||||
|
||||
Version 1.9 (2020-09-07)
|
||||
|
|
|
@ -29,7 +29,7 @@ static jobject mainActivity = NULL;
|
|||
jobject bitmapMainScreen = NULL;
|
||||
AndroidBitmapInfo androidBitmapInfo;
|
||||
enum DialogBoxMode currentDialogBoxMode;
|
||||
LPBYTE pbyRomBackup;
|
||||
LPBYTE pbyRomBackup = NULL;
|
||||
enum ChooseKmlMode chooseCurrentKmlMode;
|
||||
TCHAR szChosenCurrentKml[MAX_PATH];
|
||||
TCHAR szKmlLog[10240];
|
||||
|
|
|
@ -1859,7 +1859,7 @@ BOOL PatBlt(HDC hdcDest, int x, int y, int w, int h, DWORD rop) {
|
|||
}
|
||||
|
||||
x -= hdcDest->windowOriginX;
|
||||
y -= hdcDest->windowOriginY; // TODO DSTINVERT in screen does not work!!!
|
||||
y -= hdcDest->windowOriginY;
|
||||
|
||||
HPALETTE palette = hdcDest->realizedPalette;
|
||||
if(!palette)
|
||||
|
|
|
@ -53,6 +53,7 @@ import androidx.core.content.FileProvider;
|
|||
import androidx.core.view.GravityCompat;
|
||||
import androidx.documentfile.provider.DocumentFile;
|
||||
import androidx.drawerlayout.widget.DrawerLayout;
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import com.google.android.material.navigation.NavigationView;
|
||||
|
||||
|
@ -105,7 +106,6 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
|||
private ImageButton imageButtonMenu;
|
||||
private Vibrator vibrator;
|
||||
|
||||
|
||||
public static final int INTENT_GETOPENFILENAME = 1;
|
||||
public static final int INTENT_GETSAVEFILENAME = 2;
|
||||
public static final int INTENT_OBJECT_LOAD = 3;
|
||||
|
@ -125,7 +125,6 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
|||
public String urlToOpenInIntentPort2Load;
|
||||
public String kmlScriptFolderInIntentPort2Load;
|
||||
|
||||
|
||||
private final String kmlMimeType = "application/vnd.google-earth.kml+xml";
|
||||
private boolean kmlFolderUseDefault = true;
|
||||
private String kmlFolderURL = "";
|
||||
|
@ -1997,11 +1996,6 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
|||
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public void performHapticFeedback() {
|
||||
// if(settings.getBoolean("settings_haptic_feedback", true))
|
||||
// //mainScreenView.performHapticFeedback(HapticFeedbackConstants.CONTEXT_CLICK, HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING);
|
||||
// mainScreenView.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY, HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING);
|
||||
// //mainScreenView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS, HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING);
|
||||
|
||||
Utils.vibrate(vibrator, settings.getInt("settings_haptic_feedback_duration", 25));
|
||||
}
|
||||
|
||||
|
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
|||
#Tue Oct 13 08:57:24 CEST 2020
|
||||
#Fri Oct 30 22:52:03 CET 2020
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
|
||||
|
|
Loading…
Reference in a new issue