add e_comp_object_frame_icon_geometry_get

This commit is contained in:
Mike Blumenkrantz 2014-01-15 22:58:42 -05:00
parent b0d53be21d
commit 18c74cb382
2 changed files with 14 additions and 0 deletions

View File

@ -2496,6 +2496,19 @@ e_comp_object_frame_geometry_get(Evas_Object *obj, int *l, int *r, int *t, int *
if (b) *b = cw->client_inset.b;
}
EAPI void
e_comp_object_frame_icon_geometry_get(Evas_Object *obj, int *x, int *y, int *w, int *h)
{
API_ENTRY;
if (x) *x = 0;
if (y) *y = 0;
if (w) *w = 0;
if (h) *h = 0;
if (!cw->frame_icon) return;
evas_object_geometry_get(cw->frame_icon, x, y, w, h);
}
EAPI Eina_Bool
e_comp_object_frame_title_set(Evas_Object *obj, const char *name)
{

View File

@ -50,6 +50,7 @@ EAPI void e_comp_object_util_center_on(Evas_Object *obj, Evas_Object *on);
EAPI void e_comp_object_util_center_pos_get(Evas_Object *obj, int *x, int *y);
EAPI void e_comp_object_util_fullscreen(Evas_Object *obj);
EAPI void e_comp_object_frame_geometry_get(Evas_Object *obj, int *l, int *r, int *t, int *b);
EAPI void e_comp_object_frame_icon_geometry_get(Evas_Object *obj, int *x, int *y, int *w, int *h);
EAPI Eina_Bool e_comp_object_frame_title_set(Evas_Object *obj, const char *name);
EAPI Eina_Bool e_comp_object_frame_exists(Evas_Object *obj);
EAPI void e_comp_object_frame_icon_update(Evas_Object *obj);