summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-18 17:55:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-19 10:51:48 +0900
commit686366a03b2352f81d6ea4a79c6608d1bd5e1590 (patch)
tree9eaa2abad9b78658b2313ea26009e6f17f36477a /src/lib/efl
parentbfd9487b94a39421639a0c65fa2b43067cb090b6 (diff)
evas: Use Eina.Rect for object list functions
- objects_at_xy_get - object_top_at_xy_get - objects_in_rectangle_get - object_top_in_rectangle_get
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_canvas.eo28
1 files changed, 4 insertions, 24 deletions
diff --git a/src/lib/efl/interfaces/efl_canvas.eo b/src/lib/efl/interfaces/efl_canvas.eo
index 15cb2ef45f..10776b7bd6 100644
--- a/src/lib/efl/interfaces/efl_canvas.eo
+++ b/src/lib/efl/interfaces/efl_canvas.eo
@@ -45,8 +45,7 @@ interface Efl.Canvas ()
45 The list of objects that are over the given position in $e. 45 The list of objects that are over the given position in $e.
46 ]] 46 ]]
47 params { 47 params {
48 @in x: int; [[The horizontal coordinate of the position.]] 48 @in pos: Eina.Position2D; [[The pixel position.]]
49 @in y: int; [[The vertical coordinate of the position.]]
50 @in include_pass_events_objects: bool; [[ 49 @in include_pass_events_objects: bool; [[
51 Boolean flag to include or not objects which pass events 50 Boolean flag to include or not objects which pass events
52 in this calculation. 51 in this calculation.
@@ -72,8 +71,7 @@ interface Efl.Canvas ()
72 ]] 71 ]]
73 return: Efl.Gfx @warn_unused; [[The Evas object that is over all other objects at the given position.]] 72 return: Efl.Gfx @warn_unused; [[The Evas object that is over all other objects at the given position.]]
74 params { 73 params {
75 @in x: int; [[The horizontal coordinate of the position.]] 74 @in pos: Eina.Position2D; [[The pixel position.]]
76 @in y: int; [[The vertical coordinate of the position.]]
77 @in include_pass_events_objects: bool; [[ 75 @in include_pass_events_objects: bool; [[
78 Boolean flag to include or not objects which pass events 76 Boolean flag to include or not objects which pass events
79 in this calculation. 77 in this calculation.
@@ -100,16 +98,7 @@ interface Efl.Canvas ()
100 ]] 98 ]]
101 return: iterator<Efl.Gfx> @owned @warn_unused; [[Iterator to objects]] 99 return: iterator<Efl.Gfx> @owned @warn_unused; [[Iterator to objects]]
102 params { 100 params {
103 @in x: int; [[ 101 @in rect: Eina.Rect; [[The rectangular region.]]
104 The top left corner's horizontal coordinate for the
105 rectangular region.
106 ]]
107 @in y: int; [[
108 The top left corner's vertical coordinate for the
109 rectangular region.
110 ]]
111 @in w: int; [[The width of the rectangular region.]]
112 @in h: int; [[The height of the rectangular region.]]
113 @in include_pass_events_objects: bool; [[ 102 @in include_pass_events_objects: bool; [[
114 Boolean flag to include or not objects which pass events 103 Boolean flag to include or not objects which pass events
115 in this calculation. 104 in this calculation.
@@ -139,16 +128,7 @@ interface Efl.Canvas ()
139 rectangular region. 128 rectangular region.
140 ]] 129 ]]
141 params { 130 params {
142 @in x: int; [[ 131 @in rect: Eina.Rect; [[The rectangular region.]]
143 The top left corner's horizontal coordinate for the
144 rectangular region.
145 ]]
146 @in y: int; [[
147 The top left corner's vertical coordinate for the
148 rectangular region.
149 ]]
150 @in w: int; [[The width of the rectangular region.]]
151 @in h: int; [[The height of the rectangular region.]]
152 @in include_pass_events_objects: bool; [[ 132 @in include_pass_events_objects: bool; [[
153 Boolean flag to include or not objects which pass events 133 Boolean flag to include or not objects which pass events
154 in this calculation. 134 in this calculation.