e_view_client_xy_adjust and e_comp_object_xy_adjust are useless.
Change-Id: Ib7c1d80cf68231a2e4d5da274504214e56fdd606
}
/* utility functions for getting client inset */
-E_API void
-e_comp_object_frame_xy_adjust(Evas_Object *obj, int x, int y, int *ax, int *ay)
-{
- API_ENTRY;
-
- // TODO: this function will be removed
- if (ax) *ax = x;
- if (ay) *ay = y;
-}
-
E_API void
e_comp_object_frame_xy_unadjust(Evas_Object *obj, int x, int y, int *ax, int *ay)
{
e_client_util_move_without_frame(E_Client *ec, int x, int y)
{
if (!ec) return;
- e_view_client_frame_xy_adjust(e_client_view_get(ec), x, y, &x, &y);
e_view_position_set(e_view_client_view_get(e_client_view_get(ec)), x, y);
}
ec->move_after_resize = EINA_TRUE;
}
- e_comp_object_frame_xy_adjust(ec->frame, x, y, &x, &y);
e_client_pos_set(ec, x, y);
e_client_util_resize_without_frame(ec, w, h);
}
return e_comp_object_mask_has(client->view.eo);
}
-E_API void
-e_view_client_frame_xy_adjust(E_View_Client *client, int x, int y, int *ax, int *ay)
-{
- if (client == NULL) return;
-
- e_comp_object_frame_xy_adjust(client->view.eo, x, y, ax, ay);
-}
-
E_API void
e_view_client_frame_xy_unadjust(E_View_Client *client, int x, int y, int *ax, int *ay)
{
if (ec->re_manage)
{
int x = ec->x, y = ec->y;
- if (ec->x) e_view_client_frame_xy_adjust(e_client_view_get(ec), ec->x, 0, &ec->x, NULL);
- if (ec->y) e_view_client_frame_xy_adjust(e_client_view_get(ec), 0, ec->y, NULL, &ec->y);
if ((x != ec->x) || (y != ec->y)) ec->changes.pos = 1;
ec->placed = 1;
ec->pre_cb.x = ec->x; ec->pre_cb.y = ec->y;
E_API Evas_Object *e_comp_object_util_mirror_add(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_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_unadjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
void e_view_client_mask_set(E_View_Client *client, bool set);
bool e_view_client_mask_has(E_View_Client *client);
-void e_view_client_frame_xy_adjust(E_View_Client *client, int x, int y, int *ax, int *ay);
void e_view_client_frame_xy_unadjust(E_View_Client *client, int x, int y, int *ax, int *ay);
void e_view_client_frame_wh_adjust(E_View_Client *client, int width, int height, int *aw, int *ah);
void e_view_client_frame_wh_unadjust(E_View_Client *client, int width, int height, int *aw, int *ah);