Lines Matching +defs:display +defs:color
63 (defcustom pong-blank-color "black"
66 :type 'color)
68 (defcustom pong-bat-color "yellow"
71 :type 'color)
73 (defcustom pong-ball-color "red"
76 :type 'color)
78 (defcustom pong-border-color "white"
81 :type 'color)
129 ((color-x color-x)
131 (color-tty color-tty))
132 (((glyph color-x) [0 0 0])
133 (color-tty pong-blank-color))))
139 ((color-x color-x)
141 (color-tty color-tty)
143 (((glyph color-x) [1 1 0])
144 (color-tty pong-bat-color))))
149 ((color-x color-x)
151 (color-tty color-tty))
152 (((glyph color-x) [1 0 0])
153 (color-tty pong-ball-color))))
158 ((color-x color-x)
160 (color-tty color-tty))
161 (((glyph color-x) [0.5 0.5 0.5])
162 (color-tty pong-border-color))))
215 (defun pong-display-options ()
216 "Computes display options (required by gamegrid for colors)."
242 (setq gamegrid-use-color t)
243 (gamegrid-init (pong-display-options))