Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_gadman.c e_main.c
Log Message:
tested and working... todo FIXME's still left...
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_gadman.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_gadman.c 19 Jan 2005 15:39:36 -0000 1.10
+++ e_gadman.c 19 Jan 2005 15:55:27 -0000 1.11
@@ -6,10 +6,10 @@
/* FIXME: corner case if module is sized to full screen... cant stop edit or */
/* re-enter edit mode (cant access root menu) */
-/* FIXME: handle drag from zone to zone */
+/* FIXME: evas_clip to the zone - make a zone clip for gadman obj's */
+/* FIXME: actully call callbacks */
/* FIXME: handle save */
/* FIXME: handle load */
-/* FIXME: start move - raise and callback */
/* FIXME: if u set align, or minmax size or edge then figure out new-coords */
/* FIXME: handle move resist */
/* FIXME: handle resize resist */
@@ -610,7 +610,7 @@
E_Zone *nz;
nz = e_container_zone_at_point_get(gmc->zone->container, x, y);
- if (nz != gmc->zone)
+ if ((nz) && (nz != gmc->zone))
{
gmc->zone = nz;
new_zone = 1;
@@ -690,7 +690,7 @@
E_Zone *nz;
nz = e_container_zone_at_point_get(gmc->zone->container, x, y);
- if (nz != gmc->zone)
+ if ((nz) && (nz != gmc->zone))
{
gmc->zone = nz;
new_zone = 1;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- e_main.c 19 Jan 2005 14:31:40 -0000 1.31
+++ e_main.c 19 Jan 2005 15:55:27 -0000 1.32
@@ -539,18 +539,21 @@
E_Gadman_Client *gmc;
gmc = e_gadman_client_new(con->gadman);
- gmc->x = 20;
- gmc->y = 0;
- gmc->w = 200;
- gmc->h = 100;
+ gmc->x = 0;
+ gmc->y = 300;
+ gmc->w = 100;
+ gmc->h = 200;
e_gadman_client_policy_set(gmc,
- E_GADMAN_POLICY_EDGES |
+// E_GADMAN_POLICY_EDGES |
+ E_GADMAN_POLICY_ANYWHERE |
+ E_GADMAN_POLICY_HMOVE |
+ E_GADMAN_POLICY_VMOVE |
E_GADMAN_POLICY_HSIZE |
E_GADMAN_POLICY_VSIZE);
e_gadman_client_min_size_set(gmc, 20, 20);
- e_gadman_client_auto_size_set(gmc, 200, 50);
- e_gadman_client_align_set(gmc, 0.5, 0.0);
- e_client_gadman_edge_set(gmc, E_GADMAN_EDGE_TOP);
+ e_gadman_client_auto_size_set(gmc, 50, 200);
+ e_gadman_client_align_set(gmc, 0.0, 0.5);
+ e_client_gadman_edge_set(gmc, E_GADMAN_EDGE_LEFT);
}
}
free(roots);
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs