aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/jni.h
diff options
context:
space:
mode:
authordhewg2011-03-13 22:31:28 +0100
committerdhewg2011-03-13 23:30:16 +0100
commit79d991081dbeaddd0294c6bbf01675d1ec1fbb72 (patch)
treee7c712df278ba9b984f460842fb0f9d0234e83ba /backends/platform/android/jni.h
parent4267011e3a42b3f633f86e3df6af12c456aa0f60 (diff)
downloadscummvm-rg350-79d991081dbeaddd0294c6bbf01675d1ec1fbb72.tar.gz
scummvm-rg350-79d991081dbeaddd0294c6bbf01675d1ec1fbb72.tar.bz2
scummvm-rg350-79d991081dbeaddd0294c6bbf01675d1ec1fbb72.zip
ANDROID: Add support for video feature flags
kFeatureFullscreenMode and kFeatureAspectRatioCorrection are supported now. The former prevents scaling to the full display - it scales one axis and keeps the game AR.
Diffstat (limited to 'backends/platform/android/jni.h')
-rw-r--r--backends/platform/android/jni.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/jni.h b/backends/platform/android/jni.h
index 146938636d..5746c01afd 100644
--- a/backends/platform/android/jni.h
+++ b/backends/platform/android/jni.h
@@ -60,6 +60,7 @@ public:
static void getPluginDirectories(Common::FSList &dirs);
static void setWindowCaption(const char *caption);
+ static void getDPI(float *values);
static void displayMessageOnOSD(const char *msg);
static void showVirtualKeyboard(bool enable);
static void addSysArchivesToSearchSet(Common::SearchSet &s, int priority);
@@ -100,6 +101,7 @@ private:
static jfieldID _FID_Event_mouse_relative;
static jfieldID _FID_ScummVM_nativeScummVM;
+ static jmethodID _MID_getDPI;
static jmethodID _MID_displayMessageOnOSD;
static jmethodID _MID_setWindowCaption;
static jmethodID _MID_showVirtualKeyboard;