]> 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:06:19 +0000 (12:06 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 6 Feb 2002 12:06:19 +0000 (12:06 +0000)
lisp/ChangeLog
lisp/play/pong.el

index 430856df6d76160dadcb80ca6d3e723e6e960382..7767771579912018bd4a2f52dbb011ac7eea2eb8 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 36bd92137ec6d45343cff23d808e178bc9f7ba76..07c72a129a351126b6ce0114a0fd0490264f9bf7 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)