Revision: 3152
http://vexi.svn.sourceforge.net/vexi/?rev=3152&view=rev
Author: clrg
Date: 2008-10-30 00:11:03 +0000 (Thu, 30 Oct 2008)
Log Message:
-----------
Add note to surface/visible trap firing code so I don't keep re-thinking
through the problem every time it bothers me
Modified Paths:
--------------
trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp 2008-10-29 05:27:22 UTC
(rev 3151)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp 2008-10-30 00:11:03 UTC
(rev 3152)
@@ -1529,6 +1529,14 @@
parent = null;
throw new JSExn("Illegal attempt to set the parent of a box");
}
+ /*
+ * This needs redoing
+ * - surface gets need to be against parents
+ * - parent assignment somehow needs to be wrapped in a
+ * PUT_BOX_FIELD macro but this is non-trivial in the
+ * case of surface and visible traps because the do not
+ * operate on a single object [box] but down a tree
+ */
// assign new parent
parent = newparent;
if (newparent != null) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn