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 (from parent 1:
32d4007
)
2002/07/15 23:20:04
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:48:58 +0000
(06:48 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:48:58 +0000
(06:48 +0000)
darcs-hash:
20040130064858
-2ba56-
bc07083dac69c6848b74fe79308f2ae405e23ca3
.gz
CHANGES
patch
|
blob
|
history
src/org/xwt/plat/AWT.java
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
e90213c
..
4d5ed75
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-264,4
+264,6
@@
15-Jul megacz TinySSL.java: speed improvement on certificate checks
15-Jul megacz TinySSL.java: speed improvement on certificate checks
-15-Jul megacz XMLRPC.java: workaround for bug in Zope XML-RPC server
\ No newline at end of file
+15-Jul megacz XMLRPC.java: workaround for bug in Zope XML-RPC server
+
+15-Jul megacz AWT.java: print out color depth
\ No newline at end of file
diff --git
a/src/org/xwt/plat/AWT.java
b/src/org/xwt/plat/AWT.java
index
4a79839
..
5f12430
100644
(file)
--- a/
src/org/xwt/plat/AWT.java
+++ b/
src/org/xwt/plat/AWT.java
@@
-27,6
+27,11
@@
public class AWT extends Platform {
protected int _getMaxDescent(String font) { return getFont(font).metrics.getMaxDescent(); }
protected boolean _supressDirtyOnResize() { return true; }
protected int _getMaxDescent(String font) { return getFont(font).metrics.getMaxDescent(); }
protected boolean _supressDirtyOnResize() { return true; }
+ protected void postInit() {
+ if (Log.on) Log.log(Platform.class, " color depth = " +
+ Toolkit.getDefaultToolkit().getColorModel().getPixelSize() + "bpp");
+ }
+
protected void _criticalAbort(String message) {
if (Log.on) Log.log(this, message);
final Dialog d = new Dialog(new Frame(), "XWT Cannot Continue");
protected void _criticalAbort(String message) {
if (Log.on) Log.log(this, message);
final Dialog d = new Dialog(new Frame(), "XWT Cannot Continue");