summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_event_pointer.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-02 14:36:55 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-03 15:29:17 +0900
commitb147911bad2b216b23f504ad3470278418ff32d2 (patch)
tree76ded4789f741ae390d266c2ff49d11515a88c6f /src/lib/evas/canvas/efl_event_pointer.eo
parenta4701ea9696d3e6aab9d5b14895cee903ea5f048 (diff)
elm_win: Forward events between window and evas
This does: 1. Forward keyboard events from evas to win 2. Allow feeding external input events Input events can be faked by apps by simply forging eo objects of the proper type (key or pointer evt) and calling eo_event_callback_call(). Such events will be forwarded to the internal Evas, and some bool flags prevent infinite refeeding loops. efl_event_dup() returns fake events for this to work. @feature
Diffstat (limited to 'src/lib/evas/canvas/efl_event_pointer.eo')
-rw-r--r--src/lib/evas/canvas/efl_event_pointer.eo12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/efl_event_pointer.eo b/src/lib/evas/canvas/efl_event_pointer.eo
index b6def27..31d8b09 100644
--- a/src/lib/evas/canvas/efl_event_pointer.eo
+++ b/src/lib/evas/canvas/efl_event_pointer.eo
@@ -125,24 +125,16 @@ class Efl.Event.Pointer (Eo.Base, Efl.Event, Efl.Input.State, Efl.Event.Input)
125 dist: int; 125 dist: int;
126 } 126 }
127 } 127 }
128 instance_get @class {
129 [[Creates an instance of this events or returns a fresh one from
130 a memory pool.
131 ]]
132 params {
133 @in owner: Eo.Base; [[The parent object.]]
134 @out priv: void_ptr; [[Pointer to the internal data of the object.]]
135 }
136 return: own(Efl.Event.Pointer);
137 }
138 } 128 }
139 implements { 129 implements {
140 Eo.Base.constructor; 130 Eo.Base.constructor;
141 class.destructor; 131 class.destructor;
132 Efl.Event.instance_get;
142 Efl.Event.reset; 133 Efl.Event.reset;
143 Efl.Event.dup; 134 Efl.Event.dup;
144 Efl.Event.timestamp.set; 135 Efl.Event.timestamp.set;
145 Efl.Event.timestamp.get; 136 Efl.Event.timestamp.get;
137 Efl.Event.Input.fake.get;
146 Efl.Event.Input.event_flags.set; 138 Efl.Event.Input.event_flags.set;
147 Efl.Event.Input.event_flags.get; 139 Efl.Event.Input.event_flags.get;
148 Efl.Event.Input.on_hold.set; 140 Efl.Event.Input.on_hold.set;