diff options
author | Daniel Zaoui <daniel.zaoui@samsung.com> | 2013-10-13 06:55:28 +0300 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@samsung.com> | 2013-10-21 19:03:24 +0300 |
commit | 208c4242388b23c35ec9e0d4e37520cf89135f46 (patch) | |
tree | afe034c83a1cb00c70947f603e759b6f2cf17353 /src/lib/evas/Evas_Legacy.h | |
parent | 203c3e7c157196aa4442b0a238dc93e30e0acaba (diff) |
Evas: Add API to access private function
We need a function in DnD for the overlapping feature to retrieve all
the objects at a specific position.
A private function exists in Evas (evas_event_objects_event_list) for
that purpose.
We need an access to this function for Elementary but we don't
want the is_frozen flag to be checked.
Diffstat (limited to 'src/lib/evas/Evas_Legacy.h')
-rw-r--r-- | src/lib/evas/Evas_Legacy.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_Legacy.h b/src/lib/evas/Evas_Legacy.h index ffb3bb821e..8b362bec44 100644 --- a/src/lib/evas/Evas_Legacy.h +++ b/src/lib/evas/Evas_Legacy.h | |||
@@ -1272,6 +1272,24 @@ EAPI void evas_event_feed_hold(Evas *e, int hold, unsigned int timestamp, const | |||
1272 | EAPI void evas_event_refeed_event(Evas *e, void *event_copy, Evas_Callback_Type event_type) EINA_ARG_NONNULL(1); | 1272 | EAPI void evas_event_refeed_event(Evas *e, void *event_copy, Evas_Callback_Type event_type) EINA_ARG_NONNULL(1); |
1273 | 1273 | ||
1274 | /** | 1274 | /** |
1275 | * Retrieve a list of Evas objects lying over a given position in | ||
1276 | * a canvas. | ||
1277 | * | ||
1278 | * @param e A handle to the canvas. | ||
1279 | * @param stop An Evas Object where to stop searching. | ||
1280 | * @param x The horizontal coordinate of the position. | ||
1281 | * @param y The vertical coordinate of the position. | ||
1282 | * | ||
1283 | * This function will traverse all the layers of the given canvas, | ||
1284 | * from top to bottom, querying for objects with areas covering the | ||
1285 | * given position. It will enter the smart objects. | ||
1286 | * It will not append to the list pass events as hidden objects. | ||
1287 | * Call eina_list_free on the returned list after usage. | ||
1288 | * | ||
1289 | */ | ||
1290 | EAPI Eina_List *evas_tree_objects_at_xy_get(Evas *eo_e, Evas_Object *stop, int x, int y) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); | ||
1291 | |||
1292 | /** | ||
1275 | * @} | 1293 | * @} |
1276 | */ | 1294 | */ |
1277 | 1295 | ||