Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_private.h edje_util.c
Log Message:
some notes for me about edje program expansions..
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_private.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- edje_private.h 20 Jul 2003 12:37:49 -0000 1.34
+++ edje_private.h 23 Jul 2003 05:19:50 -0000 1.35
@@ -17,6 +17,8 @@
/* FIXME:
*
+ * dont segv if given the wrong collection name
+ *
* dragables have to work
* drag start/top signals etc.
* drag needs to have signals with relative pos as arg.
@@ -33,11 +35,39 @@
* need to detect clip_to part loops
* need to detect confine_to part loops
*
+ * ? programs need to be able to set/get/add/sub and compare variables
+ * ie:
+ * action, INT "active_state" = INT 1;
+ * ...
+ * action, INT "hidden" = INT 10;
+ * ...
+ * action, STR "my_string" = STR "some content here";
+ * ...
+ * action, INT "count" += INT 10;
+ * ...
+ * action, INT "count" -= INT 10;
+ * action, INT "count" += MOUSE_X "this_part";
+ * ...
+ * action, INT "count" *= INT "another_variable";
+ * action, INT "count" -= INT 10;
+ * action, INT "count" /= INT 2;
+ * ...
+ *
+ * if, INT "active_state" == 1;
+ * ...
+ * if, MOUSE_X "" > 1;
+ * or, MOUSE_X "this_part" > 50;
+ * or, MOUSE_X_REL "this_part" <= 0.5;
+ * ...
+ * if, INT "active_state" != 0;
+ * and, INT "hidden" < 10;
+ * or, STR "my_string" == "smelly";
+ * ...
+ *
* ? programs need to be able to "toggle" part states given a list of states
- * ? programs could be extended further
* ? reduce linked list walking and list_nth calls
* ? add containering (hbox, vbox, table, wrapping multi-line hbox & vbox)
- * ? text entry widget (single line)
+ * ? text entry widget (single line only)
* ? add numeric params to conditions for progs (ranges etc.)
* ? key/value pair config values per colelction and per edje file
*/
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- edje_util.c 20 Jul 2003 12:37:49 -0000 1.13
+++ edje_util.c 23 Jul 2003 05:19:50 -0000 1.14
@@ -275,6 +275,18 @@
rp->swallow_params.max.w = w;
rp->swallow_params.max.h = h;
}
+ else if ((type) && ((!strcmp(type, "text")) ||
+ (!strcmp(type, "polygon")) ||
+ (!strcmp(type, "line"))))
+ {
+ double w, h;
+
+ evas_object_geometry_get(obj_swallow, NULL, NULL, &w, &h);
+ rp->swallow_params.min.w = w;
+ rp->swallow_params.min.h = h;
+ rp->swallow_params.max.w = w;
+ rp->swallow_params.max.h = h;
+ }
else
{
rp->swallow_params.min.w =
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs