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
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();