projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/08/10 06:03:02
[org.ibex.core.git]
/
src
/
org
/
xwt
/
Template.java
diff --git
a/src/org/xwt/Template.java
b/src/org/xwt/Template.java
index
2f14040
..
1bf8b2b
100644
(file)
--- a/
src/org/xwt/Template.java
+++ b/
src/org/xwt/Template.java
@@
-197,7
+197,9
@@
public class Template {
}
for (int i=0; children != null && i<children.length; i++) {
}
for (int i=0; children != null && i<children.length; i++) {
- b.put(Integer.MAX_VALUE, new Box(children[i], pboxes, ptemplates, callback, numerator, denominator));
+ Box newkid = new Box();
+ children[i].apply(newkid, pboxes, ptemplates, callback, numerator, denominator);
+ b.put(Integer.MAX_VALUE, newkid);
numerator += children[i].numUnits();
}
numerator += children[i].numUnits();
}
@@
-269,6
+271,7
@@
public class Template {
/** adds a theme mapping, retemplatizing as needed */
public static void retheme(JS.Callable callback) {
/** adds a theme mapping, retemplatizing as needed */
public static void retheme(JS.Callable callback) {
+ /*
XWF.flushXWFs();
// clear changed marker and relink
XWF.flushXWFs();
// clear changed marker and relink
@@
-295,6
+298,7
@@
public class Template {
} catch (JS.Exn ex) {
if (Log.on) Log.log(Template.class, "WARNING: uncaught ecmascript exception: " + ex.getMessage());
}
} catch (JS.Exn ex) {
if (Log.on) Log.log(Template.class, "WARNING: uncaught ecmascript exception: " + ex.getMessage());
}
+ */
}
/** template reapplication procedure */
}
/** template reapplication procedure */