aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-06 12:06:19 +0000
committerEli Zaretskii2002-02-06 12:06:19 +0000
commite77c1e8c4d7381fc0f6b0f67df083daf4d30992c (patch)
tree7a4925e1b645f0f1d05c5ebaf9664a341ac9341a
parente029dcaf14d04940f3008f95b6173cf1f7c21b9a (diff)
downloademacs-e77c1e8c4d7381fc0f6b0f67df083daf4d30992c.tar.gz
emacs-e77c1e8c4d7381fc0f6b0f67df083daf4d30992c.zip
(pong-border-options): Make the border colors slightly more bright.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/play/pong.el6
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 430856df6d7..77677715799 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,8 @@
2 2
3 * play/pong.el (pong-height): Don't use height that exceeds the 3 * play/pong.el (pong-height): Don't use height that exceeds the
4 frame height. 4 frame height.
5 (pong-border-options): Make the border colors slightly more
6 bright.
5 7
6 * play/gamegrid.el (gamegrid-display-type): Treat any 8 * play/gamegrid.el (gamegrid-display-type): Treat any
7 color-capable display as color-x, if display-color-p is fboundp. 9 color-capable display as color-x, if display-color-p is fboundp.
diff --git a/lisp/play/pong.el b/lisp/play/pong.el
index 36bd92137ec..07c72a129a3 100644
--- a/lisp/play/pong.el
+++ b/lisp/play/pong.el
@@ -156,7 +156,11 @@
156 (t ?\+)) 156 (t ?\+))
157 ((color-x color-x) 157 ((color-x color-x)
158 (mono-x grid-x)) 158 (mono-x grid-x))
159 (((glyph color-x) [0.5 0.5 0.5]) 159 ;; The colors used to be [0.5 0.5 0.5], but that produces a black
160 ;; color on 8-color tty's, which would make the border invisible.
161 ;; 0.51 produces white on such tty's, and at the same time has
162 ;; almost no effect on X and similar displays.
163 (((glyph color-x) [0.51 0.51 0.51])
160 (color-tty pong-border-color)))) 164 (color-tty pong-border-color))))
161 165
162(defconst pong-blank 0) 166(defconst pong-blank 0)