summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas.h
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-04-11 13:21:54 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-04-11 18:07:09 +0900
commite0f2ddaddec17c86a795312226641a591b193247 (patch)
treeb40658bb37cd35054349aae50c22c6f78dfcf55e /src/lib/evas/Evas.h
parentbf07af3e7b8f29ea2781a35b9bf10aae0f30ee7f (diff)
evas: use eo_data_get less. Use clipees_has if you want to know the number of child now.
Diffstat (limited to 'src/lib/evas/Evas.h')
-rw-r--r--src/lib/evas/Evas.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index 86d0beb..33bcfcc 100644
--- a/src/lib/evas/Evas.h
+++ b/src/lib/evas/Evas.h
@@ -4765,6 +4765,15 @@ EAPI void evas_object_clip_unset(Evas_Object *obj);
4765EAPI const Eina_List *evas_object_clipees_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 4765EAPI const Eina_List *evas_object_clipees_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
4766 4766
4767/** 4767/**
4768 * Test if any object is clipped by @p obj.
4769 *
4770 * @param obj The object to get a list of clippees from
4771 * @return EINA_TRUE if @p obj clip any object.
4772 * @since 1.8
4773 */
4774EAPI Eina_Bool evas_object_clipees_has(const Evas_Object *eo_obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
4775
4776/**
4768 * Sets or unsets a given object as the currently focused one on its 4777 * Sets or unsets a given object as the currently focused one on its
4769 * canvas. 4778 * canvas.
4770 * 4779 *
@@ -17483,6 +17492,7 @@ enum
17483 EVAS_OBJ_SUB_ID_CLIP_GET, 17492 EVAS_OBJ_SUB_ID_CLIP_GET,
17484 EVAS_OBJ_SUB_ID_CLIP_UNSET, 17493 EVAS_OBJ_SUB_ID_CLIP_UNSET,
17485 EVAS_OBJ_SUB_ID_CLIPEES_GET, 17494 EVAS_OBJ_SUB_ID_CLIPEES_GET,
17495 EVAS_OBJ_SUB_ID_CLIPEES_HAS,
17486 EVAS_OBJ_SUB_ID_MAP_ENABLE_SET, 17496 EVAS_OBJ_SUB_ID_MAP_ENABLE_SET,
17487 EVAS_OBJ_SUB_ID_MAP_ENABLE_GET, 17497 EVAS_OBJ_SUB_ID_MAP_ENABLE_GET,
17488 EVAS_OBJ_SUB_ID_MAP_SET, 17498 EVAS_OBJ_SUB_ID_MAP_SET,
@@ -18136,6 +18146,17 @@ enum
18136#define evas_obj_clipees_get(clipees) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIPEES_GET), EO_TYPECHECK(const Eina_List **, clipees) 18146#define evas_obj_clipees_get(clipees) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIPEES_GET), EO_TYPECHECK(const Eina_List **, clipees)
18137 18147
18138/** 18148/**
18149 * @def evas_obj_clipees_has
18150 * @since 1.8
18151 * Return a list of objects currently clipped by @p obj.
18152 *
18153 * @param[out] clipees out
18154 *
18155 * @see evas_object_clipees_has
18156 */
18157#define evas_obj_clipees_has(clipees_has) EVAS_OBJ_ID(EVAS_OBJ_SUB_ID_CLIPEES_HAS), EO_TYPECHECK(const Eina_Bool *, clipees_has)
18158
18159/**
18139 * @def evas_obj_focus_set 18160 * @def evas_obj_focus_set
18140 * @since 1.8 18161 * @since 1.8
18141 * Sets or unsets a given object as the currently focused one on its 18162 * Sets or unsets a given object as the currently focused one on its