From 007b9a246f7b202621c1cfdad480f07d9f904a0f Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:43:51 +0000 Subject: [PATCH] 2003/12/30 01:36:45 darcs-hash:20040130074351-2ba56-71943186ec1523227be1405e67a705386ddcd5f4.gz --- src/org/xwt/plat/Java2.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/xwt/plat/Java2.java b/src/org/xwt/plat/Java2.java index dc105a7..aa27a3e 100644 --- a/src/org/xwt/plat/Java2.java +++ b/src/org/xwt/plat/Java2.java @@ -177,6 +177,8 @@ public class Java2 extends AWT { private SampleModel sm = null; private DataBuffer buf = null; + // this doens't seem to work on Windows + /* public void drawGlyph(Picture source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) { AWTPicture src = (AWTPicture)source; src.init(); @@ -190,6 +192,7 @@ public class Java2 extends AWT { g2.drawImage(i, 0, 0, null); g2.setClip(0, 0, i.getWidth(null), i.getHeight(null)); } + */ public Java2PixelBuffer(int w, int h) { sm = cm.createCompatibleSampleModel(w, h); -- 1.7.10.4