Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_zone.h e_zone.c 


Log Message:
Moveresize flip windows if the zone resizes.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_zone.h    22 Apr 2005 09:23:00 -0000      1.17
+++ e_zone.h    22 Apr 2005 09:38:59 -0000      1.18
@@ -55,6 +55,7 @@
 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);
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_zone.c    22 Apr 2005 09:23:00 -0000      1.31
+++ e_zone.c    22 Apr 2005 09:38:59 -0000      1.32
@@ -151,6 +151,11 @@
    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 @@
    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)
 {




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to