Moveresize flip windows if the zone resizes.

SVN revision: 14298
This commit is contained in:
sebastid 2005-04-22 09:38:59 +00:00 committed by sebastid
parent 1a134ae16d
commit 34a32688f0
2 changed files with 11 additions and 0 deletions

View File

@ -151,6 +151,11 @@ e_zone_resize(E_Zone *zone, int w, int h)
evas_object_resize(zone->bg_object, w, h);
evas_object_resize(zone->bg_event_object, w, h);
evas_object_resize(zone->bg_clip_object, w, h);
ecore_x_window_move_resize(zone->flip.top, 1, 0, w - 2, 1);
ecore_x_window_move_resize(zone->flip.right, w - 1, 1, 1, h - 2);
ecore_x_window_move_resize(zone->flip.bottom, 1, h - 1, w - 2, 1);
ecore_x_window_move_resize(zone->flip.left, 0, 1, 1, h - 2);
}
void
@ -226,6 +231,11 @@ e_zone_bg_reconfigure(E_Zone *zone)
evas_object_show(o);
}
void
e_zone_flip_coords_handle(E_Zone *zone, int x, int y)
{
}
static void
_e_zone_free(E_Zone *zone)
{

View File

@ -55,6 +55,7 @@ EAPI void e_zone_resize(E_Zone *zone, int w, int h);
EAPI void e_zone_move_resize(E_Zone *zone, int x, int y, int w, int h);
EAPI E_Zone *e_zone_current_get(E_Container *con);
EAPI void e_zone_bg_reconfigure(E_Zone *zone);
EAPI void e_zone_flip_coords_handle(E_Zone *zone, int x, int y);
EAPI void e_zone_desk_count_set(E_Zone *zone, int x_count, int y_count);
EAPI void e_zone_desk_count_get(E_Zone *zone, int *x_count, int *y_count);