summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-07 13:09:23 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-07 13:09:23 -0500
commit18fba8e5d782374a0e4222b229e129cd9ab42ee6 (patch)
tree99369974bc1f255b2a6a945c7c8a58e25ec4ee6a
parent50e4a3012632105dcfb49c50dce7acb4f993850c (diff)
add e_comp_object_mirror_visibility_check()
can be used to check whether visible mirrors exist for a comp object
-rw-r--r--src/bin/e_comp_object.c6
-rw-r--r--src/bin/e_comp_object.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 90c0d9f0b..a9cf3eda9 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2448,6 +2448,12 @@ e_comp_object_zoomap_set(Evas_Object *obj, Eina_Bool enabled)
2448 cw->zoomap_disabled = enabled; 2448 cw->zoomap_disabled = enabled;
2449} 2449}
2450 2450
2451E_API Eina_Bool
2452e_comp_object_mirror_visibility_check(Evas_Object *obj)
2453{
2454 API_ENTRY EINA_FALSE;
2455 return !!cw->force_visible;
2456}
2451///////////////////////////////////////////////////////// 2457/////////////////////////////////////////////////////////
2452 2458
2453static void 2459static void
diff --git a/src/bin/e_comp_object.h b/src/bin/e_comp_object.h
index 2ed5189cd..32d6d92d3 100644
--- a/src/bin/e_comp_object.h
+++ b/src/bin/e_comp_object.h
@@ -36,6 +36,7 @@ struct E_Comp_Object_Frame
36extern E_API int E_EVENT_COMP_OBJECT_ADD; 36extern E_API int E_EVENT_COMP_OBJECT_ADD;
37 37
38E_API void e_comp_object_zoomap_set(Evas_Object *obj, Eina_Bool enabled); 38E_API void e_comp_object_zoomap_set(Evas_Object *obj, Eina_Bool enabled);
39E_API Eina_Bool e_comp_object_mirror_visibility_check(Evas_Object *obj);
39E_API Evas_Object *e_comp_object_client_add(E_Client *ec); 40E_API Evas_Object *e_comp_object_client_add(E_Client *ec);
40E_API Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj); 41E_API Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj);
41E_API Evas_Object *e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type); 42E_API Evas_Object *e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type);