[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lisp/term tty-colors.el
From: |
Miles Bader |
Subject: |
[Emacs-commit] emacs/lisp/term tty-colors.el |
Date: |
Sun, 09 Jun 2002 08:53:54 -0400 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <address@hidden> 02/06/09 08:53:53
Modified files:
lisp/term : tty-colors.el
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/term/tty-colors.el.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-commit] emacs/lisp/term tty-colors.el,
Miles Bader <=