diff options
| author | Miles Bader | 2002-06-09 12:53:53 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-06-09 12:53:53 +0000 |
| commit | 39ed191f8fc09625f20770799dc23c32da8163bc (patch) | |
| tree | bea032c484b03b8eeaa6dda9979b06edc4d040e1 /src | |
| parent | 332607125e70f9b8631c5750ca5647ad0cc3512a (diff) | |
| download | emacs-39ed191f8fc09625f20770799dc23c32da8163bc.tar.gz emacs-39ed191f8fc09625f20770799dc23c32da8163bc.zip | |
(color-name-rgb-alist): Use 16-bit RGB values instead of 8-bit, for
consistency with the rest of emacs.
(tty-color-canonicalize): Only copy COLOR if we need to change it.
(tty-color-approximate): Scale values from `color-name-rgb-alist'
appropriately. Return the whole color description, rather than just the
RGB values.
(tty-color-standard-values): New function. Code mostly taken from
`tty-color-translate'.
(tty-color-translate, tty-color-values): Use `tty-color-desc' to do all
the work.
(tty-color-desc): Do color lookup here instead of calling
`tty-color-translate' and `tty-color-by-index'; this is now the main
place to do it.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions