diff options
author | Scott Kovatch <skovatch> | 2011-01-17 22:46:48 +0000 |
---|---|---|
committer | Scott Kovatch <skovatch> | 2011-01-17 22:46:48 +0000 |
commit | 92ca57cf28cccc9ff516d24846fb2cf295e0276b (patch) | |
tree | 1bec47a08bccedba135ebeae2b85ab0c243de5a9 /bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java | |
parent | f2baed61eb63d2f361e0bcedf8f5898e1419dca7 (diff) | |
download | eclipse.platform.swt-92ca57cf28cccc9ff516d24846fb2cf295e0276b.tar.gz eclipse.platform.swt-92ca57cf28cccc9ff516d24846fb2cf295e0276b.tar.xz eclipse.platform.swt-92ca57cf28cccc9ff516d24846fb2cf295e0276b.zip |
279884 - Add support for touch events. Also some gesture code cleanup.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java index 5f583dd9bb..5e92411a18 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java @@ -981,6 +981,30 @@ public class SWT { public static final int GESTURE_PAN = 1 << 6; /** + * A constant indicating that a finger touched the device. + * + * @see org.eclipse.swt.widgets.Touch.state + * @since 3.7 + */ + public static final int TOUCHSTATE_DOWN = 1 << 0; + + /** + * A constant indicating that a finger moved on the device. + * + * @see org.eclipse.swt.widgets.Touch.state + * @since 3.7 + */ + public static final int TOUCHSTATE_MOVE = 1 << 1; + + /** + * A constant indicating that a finger was lifted from the device. + * + * @see org.eclipse.swt.widgets.Touch.state + * @since 3.7 + */ + public static final int TOUCHSTATE_UP = 1 << 2; + + /** * A constant indicating that widgets have changed. * (value is 1<<1). * |