2005-04-20 Sven de Marothy <sven@physto.se>
+ * gnu/java/awt/peer/gtk/GdkGraphics.java:
+ (drawImage): Don't notify the image observer for offscreen images.
+ * gnu/java/awt/peer/gtk/GtkImagePainter.java:
+ (setPixels): Don't notify the image observer.
+
+2005-04-20 Sven de Marothy <sven@physto.se>
+
* java/nio/ByteBufferImpl.java:
(putChar): Inlined for speed.
(put, get): Bulk methods can use arraycopy.
int height = img.getHeight (null);
copyPixmap (img.getGraphics (),
x, y, width, height);
- // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.
- if (observer != null)
- observer.imageUpdate (img,
- ImageObserver.FRAMEBITS,
- x, y, width, height);
return true;
}
int height = img.getHeight (null);
copyPixmap (img.getGraphics (),
x, y, width, height);
-
- // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.
- if (observer != null)
- observer.imageUpdate (img,
- ImageObserver.FRAMEBITS,
- x, y, width, height);
return true;
}
copyAndScalePixmap (img.getGraphics (), false, false,
0, 0, img.getWidth (null), img.getHeight (null),
x, y, width, height);
- // FIXME: need to differentiate between SOMEBITS and FRAMEBITS.
- if (observer != null)
- observer.imageUpdate (img,
- ImageObserver.FRAMEBITS,
- x, y, width, height);
return true;
}
copyAndScalePixmap (img.getGraphics (), x_flip, y_flip,
sx_start, sy_start, s_width, s_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);
return true;
}