Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_container.c e_shelf.c e_shelf.h
Log Message:
pager handles res change/rotate properly again now.
added some todo items.
it's "interesting" running in 1200x1600. mmm yum. very tall windows. lots of
code!
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- e_container.c 7 Jan 2006 10:39:45 -0000 1.96
+++ e_container.c 5 May 2006 04:47:56 -0000 1.97
@@ -1164,13 +1164,11 @@
zone = e_container_zone_number_get(con, scr->screen);
if (zone)
{
- e_zone_move(zone, scr->x, scr->y);
- e_zone_resize(zone, scr->w, scr->h);
+ e_zone_move_resize(zone, scr->x, scr->y, scr->w, scr->h);
+ e_shelf_zone_move_resize_handle(zone);
}
else
- {
- zone = e_zone_new(con, scr->screen, scr->x, scr->y, scr->w,
scr->h);
- }
+ zone = e_zone_new(con, scr->screen, scr->x, scr->y, scr->w,
scr->h);
/* FIXME: what if a zone exists for a screen that doesn't exist?
* not sure this will ever happen...
*/
@@ -1181,8 +1179,8 @@
E_Zone *zone;
zone = e_container_zone_number_get(con, 0);
- e_zone_move(zone, 0, 0);
- e_zone_resize(zone, con->w, con->h);
+ e_zone_move_resize(zone, 0, 0, con->w, con->h);
+ e_shelf_zone_move_resize_handle(zone);
}
e_gadman_container_resize(con->gadman);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_shelf.c 30 Apr 2006 09:31:31 -0000 1.18
+++ e_shelf.c 5 May 2006 04:47:56 -0000 1.19
@@ -155,6 +155,19 @@
}
EAPI void
+e_shelf_zone_move_resize_handle(E_Zone *zone)
+{
+ Evas_List *l;
+ E_Shelf *es;
+
+ for (l = shelves; l; l = l->next)
+ {
+ es = l->data;
+ if (es->zone == zone) e_shelf_position_calc(es);
+ }
+}
+
+EAPI void
e_shelf_populate(E_Shelf *es)
{
E_OBJECT_CHECK(es);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- e_shelf.h 23 Apr 2006 13:20:57 -0000 1.13
+++ e_shelf.h 5 May 2006 04:47:56 -0000 1.14
@@ -39,6 +39,7 @@
EAPI void e_shelf_config_init(void);
EAPI Evas_List *e_shelf_list(void);
EAPI E_Shelf *e_shelf_zone_new(E_Zone *zone, const char *name, const
char *style, int popup, int layer, int id);
+EAPI void e_shelf_zone_move_resize_handle(E_Zone *zone);
EAPI void e_shelf_populate(E_Shelf *es);
EAPI void e_shelf_show(E_Shelf *es);
EAPI void e_shelf_hide(E_Shelf *es);
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs