[clutter] docs: Fixes for the API reference
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] docs: Fixes for the API reference
- Date: Mon, 19 Mar 2012 15:23:20 +0000 (UTC)
commit 28266a59ed9082fbf5ce453a498b61e833644786
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Mar 19 14:57:46 2012 +0000
docs: Fixes for the API reference
clutter/clutter-event.h | 9 ++++-----
doc/reference/clutter/clutter-sections.txt | 5 +++++
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/clutter/clutter-event.h b/clutter/clutter-event.h
index cf8d1a2..cb96257 100644
--- a/clutter/clutter-event.h
+++ b/clutter/clutter-event.h
@@ -341,11 +341,11 @@ struct _ClutterStageStateEvent
* @source: event source actor (unused)
* @x: the X coordinate of the pointer, relative to the stage
* @y: the Y coordinate of the pointer, relative to the stage
- * @axes: @x and @y, translated to the axes of @device, or %NULL
- * @state: (type ClutterModifierType): a bit-mask representing the state
+ * @sequence: the event sequence that this event belongs to
+ * @modifier_state: (type ClutterModifierType): a bit-mask representing the state
* of modifier keys (e.g. Control, Shift, and Alt) and the pointer
* buttons. See #ClutterModifierType
- * @sequence: the event sequence that this event belongs to
+ * @axes: reserved
* @device: the device that originated the event
*
* Used for touch events.
@@ -373,10 +373,9 @@ struct _ClutterTouchEvent
gfloat x;
gfloat y;
- guint state;
ClutterEventSequence *sequence;
ClutterModifierType modifier_state;
- gdouble *axes;
+ gdouble *axes; /* reserved */
ClutterInputDevice *device;
};
diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt
index 87f166e..f362b5b 100644
--- a/doc/reference/clutter/clutter-sections.txt
+++ b/doc/reference/clutter/clutter-sections.txt
@@ -1123,6 +1123,8 @@ ClutterMotionEvent
ClutterScrollEvent
ClutterStageStateEvent
ClutterCrossingEvent
+ClutterTouchEvent
+ClutterEventSequence
clutter_event_new
clutter_event_copy
clutter_event_free
@@ -1142,6 +1144,7 @@ clutter_event_get_stage
clutter_event_set_flags
clutter_event_get_flags
clutter_event_get_axes
+clutter_event_get_event_sequence
<SUBSECTION>
clutter_event_get
@@ -1174,6 +1177,8 @@ clutter_event_get_related
<SUBSECTION>
clutter_event_set_scroll_direction
clutter_event_get_scroll_direction
+clutter_event_get_scroll_delta
+clutter_event_set_scroll_delta
<SUBSECTION>
clutter_event_set_device
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]