projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
120ba25
)
2003/12/30 01:36:45
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:51 +0000
(07:43 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:51 +0000
(07:43 +0000)
darcs-hash:
20040130074351
-2ba56-
71943186ec1523227be1405e67a705386ddcd5f4
.gz
src/org/xwt/plat/Java2.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/plat/Java2.java
b/src/org/xwt/plat/Java2.java
index
dc105a7
..
aa27a3e
100644
(file)
--- 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;
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();
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));
}
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);
public Java2PixelBuffer(int w, int h) {
sm = cm.createCompatibleSampleModel(w, h);