[gtk+/smooth-scrolling-for-3.4: 5/20] gdk: Add GDK_SMOOTH_SCROLL_MASK
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/smooth-scrolling-for-3.4: 5/20] gdk: Add GDK_SMOOTH_SCROLL_MASK
- Date: Thu, 23 Feb 2012 13:49:37 +0000 (UTC)
commit 9a3981f2bc4654a5507502d375e46e13433fc554
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 24 00:05:39 2012 +0100
gdk: Add GDK_SMOOTH_SCROLL_MASK
By setting this event, a GdkWindow will receive scroll events
that provide delta values.
gdk/gdktypes.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index bab9978..bec14e9 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -351,6 +351,7 @@ typedef enum
* child windows
* @GDK_SCROLL_MASK: receive scroll events
* @GDK_TOUCH_MASK: receive (multi)touch events
+ * @GDK_SMOOTH_SCROLL_MASK: receive smooth scrolling events
* @GDK_ALL_EVENTS_MASK: the combination of all the above event masks.
*
* A set of bit-flags to indicate which events a window is to receive.
@@ -398,7 +399,8 @@ typedef enum
GDK_SUBSTRUCTURE_MASK = 1 << 20,
GDK_SCROLL_MASK = 1 << 21,
GDK_TOUCH_MASK = 1 << 22,
- GDK_ALL_EVENTS_MASK = 0x3FFFFF
+ GDK_SMOOTH_SCROLL_MASK = 1 << 23,
+ GDK_ALL_EVENTS_MASK = 0x7FFFFF
} GdkEventMask;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]