/[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.37 by mkoch, Wed Feb 16 13:59:03 2005 UTC revision 1.38 by smarothy, Wed Mar 30 17:10:10 2005 UTC
# Line 147  public class GdkGraphics extends Graphic Line 147  public class GdkGraphics extends Graphic
147          int height = img.getHeight (null);          int height = img.getHeight (null);
148          copyPixmap (img.getGraphics (),          copyPixmap (img.getGraphics (),
149                      x, y, width, height);                      x, y, width, height);
         // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.  
         if (observer != null)  
           observer.imageUpdate (img,  
                                 ImageObserver.FRAMEBITS,  
                                 x, y, width, height);  
150          return true;          return true;
151        }        }
152    
# Line 171  public class GdkGraphics extends Graphic Line 166  public class GdkGraphics extends Graphic
166          int height = img.getHeight (null);          int height = img.getHeight (null);
167          copyPixmap (img.getGraphics (),          copyPixmap (img.getGraphics (),
168                      x, y, width, height);                      x, y, width, height);
   
         // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.  
         if (observer != null)  
           observer.imageUpdate (img,  
                                 ImageObserver.FRAMEBITS,  
                                 x, y, width, height);  
169          return true;          return true;
170        }        }
171    
# Line 197  public class GdkGraphics extends Graphic Line 186  public class GdkGraphics extends Graphic
186          copyAndScalePixmap (img.getGraphics (), false, false,          copyAndScalePixmap (img.getGraphics (), false, false,
187                              0, 0, img.getWidth (null), img.getHeight (null),                              0, 0, img.getWidth (null), img.getHeight (null),
188                              x, y, width, height);                              x, y, width, height);
         // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.  
         if (observer != null)  
           observer.imageUpdate (img,  
                                 ImageObserver.FRAMEBITS,  
                                 x, y, width, height);  
189          return true;          return true;
190        }        }
191    
# Line 286  public class GdkGraphics extends Graphic Line 270  public class GdkGraphics extends Graphic
270          copyAndScalePixmap (img.getGraphics (), x_flip, y_flip,          copyAndScalePixmap (img.getGraphics (), x_flip, y_flip,
271                              sx_start, sy_start, s_width, s_height,                              sx_start, sy_start, s_width, s_height,
272                              dx_start, dy_start, d_width, d_height);                              dx_start, dy_start, d_width, d_height);
   
         // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.  
         if (observer != null)  
           observer.imageUpdate (img,  
                                 ImageObserver.FRAMEBITS,  
                                 dx_start, dy_start, d_width, d_height);  
273          return true;          return true;
274        }        }
275    

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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