forked from enlightenment/enlightenment
add comp object function to get the content of a util_add object
This commit is contained in:
parent
b873f9bd45
commit
2d2ad13537
|
@ -3045,6 +3045,17 @@ e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type)
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
E_API Evas_Object *
|
||||||
|
e_comp_object_util_get(Evas_Object *obj)
|
||||||
|
{
|
||||||
|
Evas_Object *z;
|
||||||
|
SOFT_ENTRY(NULL);
|
||||||
|
if (cw) return NULL;
|
||||||
|
z = edje_object_part_swallow_get(obj, "e.swallow.content");
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN_VAL(z, NULL);
|
||||||
|
return e_zoomap_child_get(z);
|
||||||
|
}
|
||||||
|
|
||||||
/* utility functions for deleting objects when their "owner" is deleted */
|
/* utility functions for deleting objects when their "owner" is deleted */
|
||||||
E_API void
|
E_API void
|
||||||
e_comp_object_util_del_list_append(Evas_Object *obj, Evas_Object *to_del)
|
e_comp_object_util_del_list_append(Evas_Object *obj, Evas_Object *to_del)
|
||||||
|
|
|
@ -41,6 +41,7 @@ E_API Evas_Object *e_comp_object_client_add(E_Client *ec);
|
||||||
E_API Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj);
|
E_API Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj);
|
||||||
E_API void e_comp_object_util_type_set(Evas_Object *obj, E_Comp_Object_Type type);
|
E_API void e_comp_object_util_type_set(Evas_Object *obj, E_Comp_Object_Type type);
|
||||||
E_API Evas_Object *e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type);
|
E_API Evas_Object *e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type);
|
||||||
|
E_API Evas_Object *e_comp_object_util_get(Evas_Object *obj);
|
||||||
E_API void e_comp_object_frame_xy_adjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
E_API void e_comp_object_frame_xy_adjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
||||||
E_API void e_comp_object_frame_xy_unadjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
E_API void e_comp_object_frame_xy_unadjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
||||||
E_API void e_comp_object_frame_wh_adjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
|
E_API void e_comp_object_frame_wh_adjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
|
||||||
|
|
Loading…
Reference in New Issue