From: megacz Date: Fri, 30 Jan 2004 07:43:51 +0000 (+0000) Subject: 2003/12/30 01:36:45 X-Git-Tag: RC3~208 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=007b9a246f7b202621c1cfdad480f07d9f904a0f;hp=120ba254de55dfb9275155c889896c695e8d8649 2003/12/30 01:36:45 darcs-hash:20040130074351-2ba56-71943186ec1523227be1405e67a705386ddcd5f4.gz --- 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);