X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2FBox.java;h=7456b6e9f8ca768e5795f2d16b813e3a0e308754;hb=478684cf10e4b8954fccbaac50f01118b571380a;hp=f3c92d655f649983e3d58b1e03fac3d0f201beab;hpb=d22fb3d5210a72c35afce35ee9779e7ccfa5da00;p=org.ibex.core.git diff --git a/src/org/xwt/Box.java b/src/org/xwt/Box.java index f3c92d6..7456b6e 100644 --- a/src/org/xwt/Box.java +++ b/src/org/xwt/Box.java @@ -549,7 +549,7 @@ public final class Box extends JSObject { } /** Adds the intersection of (x,y,w,h) and the node's current actual geometry to the Surface's dirty list */ - final void dirty(int x, int y, int w, int h) { + public final void dirty(int x, int y, int w, int h) { for(Box cur = this; cur != null; cur = cur.getParent()) { w = min(x + w, cur.pos(0) + cur.size(0)) - max(x, cur.pos(0)); h = min(y + h, cur.pos(1) + cur.size(1)) - max(y, cur.pos(1));