changeset 3691:4974dfa78b67

iOS: Configuring iOS device as touch / multitouch by default.
author Oldrich Maticka <oldrich.maticka@oracle.com>
date Mon, 27 May 2013 16:06:11 +0200
parents cb31383a05ed
children e470e4efc8dc
files glass/glass/src/com/sun/glass/ui/ios/IosApplication.java
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/glass/glass/src/com/sun/glass/ui/ios/IosApplication.java	Mon May 27 13:06:46 2013 +0400
+++ b/glass/glass/src/com/sun/glass/ui/ios/IosApplication.java	Mon May 27 16:06:11 2013 +0200
@@ -280,4 +280,14 @@
      * See iOS developers documentation.
      */
     public native static int _getStatusBarOrientation();
+
+    @Override
+    public boolean hasTouch() {
+        return true;
+    }
+
+    @Override
+    public boolean hasMultiTouch() {
+        return true;
+    }   
 }