diff options
author | Scott Gilbertson <scottg@mantatest.com> | 2006-02-23 20:50:49 +0000 |
---|---|---|
committer | Scott Gilbertson <sgilbertson@gcc.gnu.org> | 2006-02-23 20:50:49 +0000 |
commit | cbb5e20166ec05d529f819e12e0727ca6ff1749a (patch) | |
tree | e7dbeee69e81b207b0965b99b096bca140842b68 /libjava/classpath/gnu/java/awt/peer | |
parent | 072b06f2dce99ea6fe42d7ec20ab152019c5f40b (diff) | |
download | gcc-cbb5e20166ec05d529f819e12e0727ca6ff1749a.zip gcc-cbb5e20166ec05d529f819e12e0727ca6ff1749a.tar.gz gcc-cbb5e20166ec05d529f819e12e0727ca6ff1749a.tar.bz2 |
IntegerGraphicsState.java (getClip): Clone clip before returning, handle null clip.
2006-02-23 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
before returning, handle null clip.
(getClipBounds): Handle null clip.
* gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
* gnu/awt/xlib/XCanvasPeer.java ():
(getLocationOnScreen): Implement.
* classpath/gnu/java/awt/peer/GLightweightPeer.java
(repaint): Merged with Classpath.
* classpath/java/awt/Graphics.java (hitClip): Merged with
Classpath.
From-SVN: r111395
Diffstat (limited to 'libjava/classpath/gnu/java/awt/peer')
-rw-r--r-- | libjava/classpath/gnu/java/awt/peer/GLightweightPeer.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/classpath/gnu/java/awt/peer/GLightweightPeer.java b/libjava/classpath/gnu/java/awt/peer/GLightweightPeer.java index 5252e80..25735bb 100644 --- a/libjava/classpath/gnu/java/awt/peer/GLightweightPeer.java +++ b/libjava/classpath/gnu/java/awt/peer/GLightweightPeer.java @@ -227,7 +227,12 @@ public class GLightweightPeer public void print(Graphics graphics) {} - public void repaint(long tm, int x, int y, int width, int height) {} + public void repaint(long tm, int x, int y, int width, int height) + { + Component p = comp.getParent (); + if(p != null) + p.repaint(tm,x+comp.getX(),y+comp.getY(),width,height); + } public void requestFocus() {} |