2003/10/01 21:44:33
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:38:58 +0000 (07:38 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:38:58 +0000 (07:38 +0000)
darcs-hash:20040130073858-2ba56-f37378e7755279c4073ba0a652aba28e75b293b3.gz

src/org/xwt/plat/OpenGL.java
src/org/xwt/plat/Win32.java
src/org/xwt/plat/X11.java

index 96d701d..5367cb6 100644 (file)
@@ -80,8 +80,10 @@ abstract class OpenGL {
             //System.out.println("drawString(): " + text);
         }
         
-        public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
-                                                int sx1, int sy1, int sx2, int sy2, int rgb);
+        //public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+        //int sx1, int sy1, int sx2, int sy2, int rgb);
+        public void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+            int sx1, int sy1, int sx2, int sy2, int rgb) { }
 
         public void drawPicture(org.xwt.Picture source, int x, int y) {
             activateContext();
index ba99a8e..218383d 100644 (file)
@@ -264,8 +264,12 @@ public class Win32 extends GCJ {
         public native void setClip(int x, int y, int x2, int y2);
         public native void fillRect(int x, int y, int x2, int y2, int color);
         public native void drawPicture(Picture source, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2);
-        public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
-                                                int sx1, int sy1, int sx2, int sy2, int rgb);
+
+        //public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+        //int sx1, int sy1, int sx2, int sy2, int rgb);
+        public void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+            int sx1, int sy1, int sx2, int sy2, int rgb) { }
+
         public native void finalize();
         public void drawPicture(Picture source, int x, int y) {
             drawPicture(source, x, y, x + source.getWidth(), y + source.getHeight(), 0, 0, source.getWidth(), source.getHeight());
index 925593b..6d94727 100644 (file)
@@ -175,8 +175,10 @@ public class X11 extends POSIX {
             cliph = y2 - y; if (cliph < 0) cliph = 0;
         }
         
-        public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
-                                                int sx1, int sy1, int sx2, int sy2, int rgb);
+        //public native void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+        //int sx1, int sy1, int sx2, int sy2, int rgb);
+        public void drawPictureAlphaOnly(Picture source, int dx1, int dy1, int dx2, int dy2,
+            int sx1, int sy1, int sx2, int sy2, int rgb) { }
 
         public void drawPicture(Picture source, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2) {
             if (!(dx2 - dx1 != sx2 - sx1 || dy2 - dy1 != sy2 - sy1) && ((X11Picture)source).doublebuf != null)