]> git.eshelyaron.com Git - emacs.git/commitdiff
(pong-border-options): Make the border colors slightly more bright.
authorEli Zaretskii <eliz@gnu.org>
Wed, 6 Feb 2002 12:08:58 +0000 (12:08 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 6 Feb 2002 12:08:58 +0000 (12:08 +0000)
lisp/ChangeLog
lisp/play/pong.el

index 2a0d095c00506946495452cc6acb9a69d96a6a67..2024116411efe9989c894f83c15eb846243c7d08 100644 (file)
@@ -2,6 +2,8 @@
 
        * play/pong.el (pong-height): Don't use height that exceeds the
        frame height.
+       (pong-border-options): Make the border colors slightly more
+       bright.
 
        * play/gamegrid.el (gamegrid-display-type): Treat any
        color-capable display as color-x, if display-color-p is fboundp.
index dbacf176ff32a7a5216a1ef60ce1ca975a608ef5..cc96e72375b469a710383577f65e1549e907427c 100644 (file)
      (t ?\+))
     ((color-x color-x)
      (mono-x grid-x))
-    (((glyph color-x) [0.5 0.5 0.5])
+    ;; The colors used to be [0.5 0.5 0.5], but that produces a black
+    ;; color on 8-color tty's, which would make the border invisible.
+    ;; 0.51 produces white on such tty's, and at the same time has
+    ;; almost no effect on X and similar displays.
+    (((glyph color-x) [0.51 0.51 0.51])
      (color-tty pong-border-color))))
 
 (defconst pong-blank   0)