/[classpath]/classpath/gnu/java/awt/peer/gtk/GdkGraphics.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GdkGraphics.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by mark, Sat Dec 11 08:20:49 2004 UTC revision 1.36 by mkoch, Sun Dec 26 13:45:57 2004 UTC
# Line 167  public class GdkGraphics extends Graphic Line 167  public class GdkGraphics extends Graphic
167    
168      if (img instanceof GtkOffScreenImage)      if (img instanceof GtkOffScreenImage)
169        {        {
170            int width = img.getWidth (null);
171            int height = img.getHeight (null);
172          copyPixmap (img.getGraphics (),          copyPixmap (img.getGraphics (),
173                      x, y, img.getWidth (null), img.getHeight (null));                      x, y, width, height);
174    
175            // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.
176            if (observer != null)
177              observer.imageUpdate (img,
178                                    ImageObserver.FRAMEBITS,
179                                    x, y, width, height);
180          return true;          return true;
181        }        }
182    

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26