projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bff5539
)
2003/12/31 00:51:55
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:58 +0000
(07:43 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:58 +0000
(07:43 +0000)
darcs-hash:
20040130074358
-2ba56-
143fb32a44f5f6f8ec962c0f7164524fa9fffe45
.gz
src/org/xwt/Box.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/Box.java
b/src/org/xwt/Box.java
index
cfd638c
..
b5585fc
100644
(file)
--- a/
src/org/xwt/Box.java
+++ b/
src/org/xwt/Box.java
@@
-260,6
+260,12
@@
public final class Box extends JSScope implements Scheduler.Task {
do {
int thisx = parent == null ? 0 : this.x;
int thisy = parent == null ? 0 : this.y;
do {
int thisx = parent == null ? 0 : this.x;
int thisy = parent == null ? 0 : this.y;
+
+ // we can't reenable this until we track
+ // surface-relative sizes; imagine the case of a clear
+ // surface with nonclear children
+
+ /*
if (texture == null && (text == null || text.equals(""))) {
if ((fillcolor & 0xff000000) == 0) break;
// FEATURE: more optimizations here
if (texture == null && (text == null || text.equals(""))) {
if ((fillcolor & 0xff000000) == 0) break;
// FEATURE: more optimizations here
@@
-270,6
+276,7
@@
public final class Box extends JSScope implements Scheduler.Task {
break;
}
}
break;
}
}
+ */
(parent == null ? this : parent).dirty(thisx, thisy, this.width, this.height);
this.width = width; this.height = height; this.x = x; this.y = y;
dirty();
(parent == null ? this : parent).dirty(thisx, thisy, this.width, this.height);
this.width = width; this.height = height; this.x = x; this.y = y;
dirty();