XGraphics.java (drawImage): Use XOffScreenImage', not
XGraphicsConfiguration.XOffScreenImage'.
* gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage', not `XGraphicsConfiguration.XOffScreenImage'. From-SVN: r81863
This commit is contained in:
parent
b1b51268b8
commit
ae0d0d592f
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
|
||||
not `XGraphicsConfiguration.XOffScreenImage'.
|
||||
|
||||
2004-05-14 Scott Gilbertson <scottg@mantatest.com>
|
||||
|
||||
* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2000, 2003 Free Software Foundation
|
||||
/* Copyright (C) 2000, 2003, 2004 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -209,8 +209,7 @@ public class XGraphics implements Cloneable, DirectRasterGraphics
|
|||
if (img instanceof XOffScreenImage)
|
||||
{
|
||||
// FIXME: have to enforce clip, or is it OK as-is?
|
||||
XGraphicsConfiguration.XOffScreenImage offScreenImage
|
||||
= ((XGraphicsConfiguration.XOffScreenImage)img);
|
||||
XOffScreenImage offScreenImage = (XOffScreenImage) img;
|
||||
Pixmap pixmap = offScreenImage.getPixmap ();
|
||||
context.copyArea (pixmap, 0, 0, x, y,
|
||||
offScreenImage.getWidth (), offScreenImage.getHeight ());
|
||||
|
|
Loading…
Add table
Reference in a new issue