[gtk+/xi2-playground: 1/12] Add GDK_SOURCE_TOUCH.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/xi2-playground: 1/12] Add GDK_SOURCE_TOUCH.
- Date: Tue, 15 Jun 2010 19:09:15 +0000 (UTC)
commit 18154ffbd179c631f08e323742a0366329443209
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 4 14:11:25 2010 +0200
Add GDK_SOURCE_TOUCH.
This kind of device would represent either a single-touch touchscreen, or
individual touchpoints in a multitouch touchscreen.
gdk/gdkdevice.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index b2a5db8..b780052 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -66,6 +66,7 @@ typedef enum
* of a stylus on a graphics tablet.
* @GDK_SOURCE_CURSOR: the device is a graphics tablet "puck" or similar device.
* @GDK_SOURCE_KEYBOARD: the device is a keyboard.
+ * @GDK_SOURCE_TOUCH: the device is a (multi)touch capable device.
*
* An enumeration describing the type of an input device in general terms.
*/
@@ -75,7 +76,8 @@ typedef enum
GDK_SOURCE_PEN,
GDK_SOURCE_ERASER,
GDK_SOURCE_CURSOR,
- GDK_SOURCE_KEYBOARD
+ GDK_SOURCE_KEYBOARD,
+ GDK_SOURCE_TOUCH
} GdkInputSource;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]