summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_event_pointer.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-05-31 20:08:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-02 13:31:40 +0900
commit95628c1efaa1476e2a5f05ed09e216603ac78a1f (patch)
treebaa2136d036b725dff813840db20384f7bfdf82f /src/lib/evas/canvas/efl_event_pointer.eo
parent45b12224ec1bf0c73bce6b936950c49140bc9c3a (diff)
Evas: Add storage class for Key events
This is for key up/down events' info.
Diffstat (limited to 'src/lib/evas/canvas/efl_event_pointer.eo')
-rw-r--r--src/lib/evas/canvas/efl_event_pointer.eo34
1 files changed, 9 insertions, 25 deletions
diff --git a/src/lib/evas/canvas/efl_event_pointer.eo b/src/lib/evas/canvas/efl_event_pointer.eo
index b7675ee..811afe9 100644
--- a/src/lib/evas/canvas/efl_event_pointer.eo
+++ b/src/lib/evas/canvas/efl_event_pointer.eo
@@ -1,7 +1,7 @@
1import efl_orientation; 1import efl_orientation;
2import efl_event_types; 2import efl_event_types;
3 3
4class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State) 4class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State, Efl.Event.Input)
5{ 5{
6 [[Event data carried over with any pointer event (mouse, touch, ...) 6 [[Event data carried over with any pointer event (mouse, touch, ...)
7 7
@@ -67,12 +67,6 @@ class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State)
67 y: double; 67 y: double;
68 } 68 }
69 } 69 }
70 @property device {
71 [[Pointing device that originated this event.]]
72 values {
73 dev: Efl.Input.Device;
74 }
75 }
76 @property finger { 70 @property finger {
77 [[Finger ID in case of a multi touch event.]] 71 [[Finger ID in case of a multi touch event.]]
78 values { 72 values {
@@ -121,24 +115,6 @@ class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State)
121 val: bool; 115 val: bool;
122 } 116 }
123 } 117 }
124 @property event_flags {
125 [[Extra flags for this event, may be changed by the user.]]
126 values {
127 flags: Efl.Event.Flags;
128 }
129 }
130 @property on_hold {
131 [[$true if @.event_flags indicates the event is on hold.]]
132 values {
133 val: bool;
134 }
135 }
136 @property on_scroll {
137 [[$true if @.event_flags indicates the event happened while scrolling.]]
138 values {
139 val: bool;
140 }
141 }
142 @property wheel_direction { 118 @property wheel_direction {
143 values { 119 values {
144 dir: Efl.Orient; [[Horizontal or Vertical only.]] 120 dir: Efl.Orient; [[Horizontal or Vertical only.]]
@@ -167,6 +143,14 @@ class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State)
167 Efl.Event.dup; 143 Efl.Event.dup;
168 Efl.Event.timestamp.set; 144 Efl.Event.timestamp.set;
169 Efl.Event.timestamp.get; 145 Efl.Event.timestamp.get;
146 Efl.Event.Input.event_flags.set;
147 Efl.Event.Input.event_flags.get;
148 Efl.Event.Input.on_hold.set;
149 Efl.Event.Input.on_hold.get;
150 Efl.Event.Input.on_scroll.set;
151 Efl.Event.Input.on_scroll.get;
152 Efl.Event.Input.device.set;
153 Efl.Event.Input.device.get;
170 Efl.Input.State.modifier_enabled.get; 154 Efl.Input.State.modifier_enabled.get;
171 Efl.Input.State.lock_enabled.get; 155 Efl.Input.State.lock_enabled.get;
172 } 156 }