From: megacz Date: Fri, 30 Jan 2004 06:51:11 +0000 (+0000) Subject: 2003/02/06 19:07:15 X-Git-Tag: RC3~1494 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=159948d88eaccf1ed3a2b77389026192efe96656 2003/02/06 19:07:15 darcs-hash:20040130065111-2ba56-0173633e7ecbd398646b17c73d65ad2f3764d905.gz --- diff --git a/CHANGES b/CHANGES index 1a1d746..5cba5af 100644 --- a/CHANGES +++ b/CHANGES @@ -445,3 +445,7 @@ 30-Oct megacz SpecialBoxProperty.java: fixed mouse event propagation +05-Feb megacz X11.cc X11.java POSIX.cc POSIX.java Linux.xml: separated + POSIX from X11. + +06-Feb megacz X11.java: fixed a typo diff --git a/src/org/xwt/plat/X11.java b/src/org/xwt/plat/X11.java index a65c41b..494c428 100644 --- a/src/org/xwt/plat/X11.java +++ b/src/org/xwt/plat/X11.java @@ -37,8 +37,8 @@ public class X11 extends POSIX { protected String _getAltKeyName() { return System.getProperty("os.name", "").indexOf("SunOS") != -1 ? "Meta" : "Alt"; } protected String[] _listFonts() { return fontList; } - protected Picture _createPicture(int[] data, int w, int h) { return new POSIX.X11Picture(data, w, h); } - protected DoubleBuffer _createDoubleBuffer(int w, int h, Surface owner) { return new POSIX.X11DoubleBuffer(w, h); } + protected Picture _createPicture(int[] data, int w, int h) { return new X11Picture(data, w, h); } + protected DoubleBuffer _createDoubleBuffer(int w, int h, Surface owner) { return new X11DoubleBuffer(w, h); } protected Surface _createSurface(Box b, boolean framed) { return new X11Surface(b, framed); } protected boolean _needsAutoClick() { return true; } protected native int _getScreenWidth(); @@ -340,7 +340,7 @@ public class X11 extends POSIX { for(int j=0; j<6; j++) i = target.indexOf('-', i + 1); target = target.substring(0, i + 1) + arg.size + target.substring(target.indexOf('-', i+1)); } - if (Log.on) Log.log(POSIX.class, "mapping font \"" + s + "\" to \"" + target + "\""); + if (Log.on) Log.log(X11.class, "mapping font \"" + s + "\" to \"" + target + "\""); RawData ret = fontStringToStruct(target); if (ret == null) ret = fontStringToStruct("fixed"); xwtFontToFontStruct.put(s, new WrappedRawData(ret));