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:
fa437b8
)
2003/02/06 19:07:15
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:51:11 +0000
(06:51 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:51:11 +0000
(06:51 +0000)
darcs-hash:
20040130065111
-2ba56-
0173633e7ecbd398646b17c73d65ad2f3764d905
.gz
CHANGES
patch
|
blob
|
history
src/org/xwt/plat/X11.java
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
1a1d746
..
5cba5af
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-445,3
+445,7
@@
30-Oct megacz SpecialBoxProperty.java: fixed mouse event propagation
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
(file)
--- 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 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();
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));
}
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));
RawData ret = fontStringToStruct(target);
if (ret == null) ret = fontStringToStruct("fixed");
xwtFontToFontStruct.put(s, new WrappedRawData(ret));