Merge lp:~dandrader/geis/doc_touch_defines into lp:geis

Proposed by Daniel d'Andrada
Status: Merged
Merged at revision: 250
Proposed branch: lp:~dandrader/geis/doc_touch_defines
Merge into: lp:geis
Diff against target: 70 lines (+60/-0)
1 file modified
include/geis/geis.h (+60/-0)
To merge this branch: bzr merge lp:~dandrader/geis/doc_touch_defines
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Review via email: mp+101765@code.launchpad.net

Description of the change

Document GEIS_GESTURE_ATTRIBUTE_TOUCH_N_[ID|X|Y] definitions

Mostly to make clear they are used only by GEIS v1 API

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) wrote :

The preposition used with the noun 'index' is usually 'at', as in 'at index 0'. If you could change that, I approve of this (but get it in quicky, I want to do a final release into 12.04).

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/geis/geis.h'
2--- include/geis/geis.h 2012-03-27 21:39:04 +0000
3+++ include/geis/geis.h 2012-04-12 16:07:19 +0000
4@@ -271,6 +271,66 @@
5 * This attribute provides the Y coordinate of the position of a gesture, in
6 * device coordinates. It's the same as the centroid of a gesture. See
7 * GEIS_GESTURE_ATTRIBUTE_CENTROID_Y.
8+ *
9+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_0_ID
10+ * This attribute provides the ID of the touch of index 0.
11+ * Only used by GEIS v1 API.
12+ *
13+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_0_X
14+ * This attribute provides the X coordinate of the touch of index 0.
15+ * Only used by GEIS v1 API.
16+ *
17+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_0_Y
18+ * This attribute provides the Y coordinate of the touch of index 0.
19+ * Only used by GEIS v1 API.
20+ *
21+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_1_ID
22+ * This attribute provides the ID of the touch of index 1.
23+ * Only used by GEIS v1 API.
24+ *
25+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_1_X
26+ * This attribute provides the X coordinate of the touch of index 1.
27+ * Only used by GEIS v1 API.
28+ *
29+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_1_Y
30+ * This attribute provides the Y coordinate of the touch of index 1.
31+ * Only used by GEIS v1 API.
32+ *
33+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_2_ID
34+ * This attribute provides the ID of the touch of index 2.
35+ * Only used by GEIS v1 API.
36+ *
37+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_2_X
38+ * This attribute provides the X coordinate of the touch of index 2.
39+ * Only used by GEIS v1 API.
40+ *
41+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_2_Y
42+ * This attribute provides the Y coordinate of the touch of index 2.
43+ * Only used by GEIS v1 API.
44+ *
45+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_3_ID
46+ * This attribute provides the ID of the touch of index 3.
47+ * Only used by GEIS v1 API.
48+ *
49+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_3_X
50+ * This attribute provides the X coordinate of the touch of index 3.
51+ * Only used by GEIS v1 API.
52+ *
53+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_3_Y
54+ * This attribute provides the Y coordinate of the touch of index 3.
55+ * Only used by GEIS v1 API.
56+ *
57+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_4_ID
58+ * This attribute provides the ID of the touch of index 4.
59+ * Only used by GEIS v1 API.
60+ *
61+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_4_X
62+ * This attribute provides the X coordinate of the touch of index 4.
63+ * Only used by GEIS v1 API.
64+ *
65+ * @def GEIS_GESTURE_ATTRIBUTE_TOUCH_4_Y
66+ * This attribute provides the Y coordinate of the touch of index 4.
67+ * Only used by GEIS v1 API.
68 */
69 #define GEIS_GESTURE_ATTRIBUTE_ANGLE "angle"
70 #define GEIS_GESTURE_ATTRIBUTE_ANGLE_DELTA "angle delta"

Subscribers

People subscribed via source and target branches