2003/09/19 08:33:47
[org.ibex.core.git] / src / org / xwt / plat / X11.java
index da7be81..3b29f4a 100644 (file)
@@ -35,7 +35,7 @@ public class X11 extends POSIX {
     protected String[] _listFonts() { return fontList; }
 
     protected Picture _createPicture(int[] data, int w, int h) { return new X11Picture(data, w, h); }
-    protected PixelBuffer _createDoubleBuffer(int w, int h, Surface owner) { return new X11DoubleBuffer(w, h); }
+    protected PixelBuffer _createPixelBuffer(int w, int h, Surface owner) { return new X11PixelBuffer(w, h); }
     protected Surface _createSurface(Box b, boolean framed) { return new X11Surface(b, framed); }
     protected boolean _needsAutoClick() { return true; }
     protected native int _getScreenWidth();
@@ -129,7 +129,7 @@ public class X11 extends POSIX {
         void buildPixelBuffer(boolean needsStipple) {
             if (doublebuf != null) return;
             // no point in using a shared pixmap since we'll only write to this image once
-            X11PixelBuffer b = new X11DoubleBuffer(width, height, false);
+            X11PixelBuffer b = new X11PixelBuffer(width, height, false);
             b.drawPicture(this, 0, 0);
             if (needsStipple) b.createStipple(this);
             doublebuf = b;
@@ -144,7 +144,7 @@ public class X11 extends POSIX {
      *  with all-or-nothing alpha will not use shared pixmaps, however
      *  (since they are only written to once.
      */
-    public static class X11PixelBuffer extends DoubleBuffer {
+    public static class X11PixelBuffer extends PixelBuffer {
 
         int clipx, clipy, clipw, cliph;
         int width;