diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-25 18:47:49 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-26 17:58:07 +0900 |
commit | 8557fe818f6ac033f582dc4865235aa3176d7447 (patch) | |
tree | 03dd802b65648a98c2bc2d9a9ff79e5ec2cf4455 /src/lib/evas/canvas/efl_input_interface.eo | |
parent | b3ffd78237282883c327082c841205f2f0643642 (diff) |
input: Move pointer props to Canvas
efl_input_pointer_position is defined by two classes... bad!
Fixes T6066
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/canvas/efl_input_interface.eo | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/lib/evas/canvas/efl_input_interface.eo b/src/lib/evas/canvas/efl_input_interface.eo index 2db729c84b..68408a3281 100644 --- a/src/lib/evas/canvas/efl_input_interface.eo +++ b/src/lib/evas/canvas/efl_input_interface.eo | |||
@@ -26,58 +26,6 @@ interface Efl.Input.Interface () | |||
26 | eo_prefix: efl_input; | 26 | eo_prefix: efl_input; |
27 | event_prefix: efl; | 27 | event_prefix: efl; |
28 | methods { | 28 | methods { |
29 | @property pointer_position { | ||
30 | get { | ||
31 | [[This function returns the current known pointer coordinates | ||
32 | |||
33 | This function returns the current position of the main input | ||
34 | pointer (mouse, pen, etc...). | ||
35 | ]] | ||
36 | } | ||
37 | values { | ||
38 | pos: Eina.Position2D; [[The pointer position in pixels.]] | ||
39 | } | ||
40 | } | ||
41 | @property pointer_inside { | ||
42 | get { | ||
43 | [[Returns whether the mouse pointer is logically inside the | ||
44 | canvas. | ||
45 | |||
46 | When this function is called it will return a value of either | ||
47 | $false or $true, depending on whether a pointer,in or pointer,out | ||
48 | event has been called previously. | ||
49 | |||
50 | A return value of $true indicates the mouse is logically | ||
51 | inside the canvas, and $false implies it is logically | ||
52 | outside the canvas. | ||
53 | |||
54 | A canvas begins with the mouse being assumed outside ($false). | ||
55 | ]] | ||
56 | return: bool; [[$true if the mouse pointer is inside the canvas, $false otherwise]] | ||
57 | } | ||
58 | } | ||
59 | pointer_iterate @const { | ||
60 | [[Returns an iterator over the current known pointer positions. | ||
61 | |||
62 | This is used to iterate over the current known multi-touch positions, | ||
63 | including the first finger. Each pointer position is represented by | ||
64 | an object of type @Efl.Input.Pointer. | ||
65 | |||
66 | Each finger in a multi touch environment can then be identified | ||
67 | by the @Efl.Input.Pointer.tool property. The order of the pointers | ||
68 | in this iterator is not defined. | ||
69 | |||
70 | Note: If the input surface supports hovering input, some pointers | ||
71 | may not be in a "down" state. To retrieve the list of such pointers, | ||
72 | set the $hover value to $true. Remember though that most devices | ||
73 | currently don't support this. | ||
74 | ]] | ||
75 | params { | ||
76 | hover: bool @optional; [[$false by default, $true means to include | ||
77 | fingers that are currently hovering.]] | ||
78 | } | ||
79 | return: iterator<const(Efl.Input.Pointer)>; [[Iterator to pointer positions]] | ||
80 | } | ||
81 | @property seat_event_filter { | 29 | @property seat_event_filter { |
82 | set { | 30 | set { |
83 | [[Add or remove a given seat to the filter list. If the filter list is empty this object | 31 | [[Add or remove a given seat to the filter list. If the filter list is empty this object |