]> git.eshelyaron.com Git - emacs.git/commit
* src/pgtkterm.c (pgtk_defined_color): support gtk special colors
authorYuuki Harano <masm+github@masm11.me>
Tue, 12 May 2020 13:39:15 +0000 (22:39 +0900)
committerJeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>
Tue, 24 Nov 2020 01:24:40 +0000 (12:24 +1100)
commitd68633bfa1124e32f6aa6a288a9c7b2098a39bd8
treecff14bac6d7ece318d90b72e2e1919a195798c72
parentfe2297ce7aa0e400f4a80484e2872dcee0de1391
* src/pgtkterm.c (pgtk_defined_color): support gtk special colors

Color functions take the frame

* src/gtkutil.c (xg_check_special_colors): pass frame as argument.
* src/pgtkfns.c (x_set_foreground_color, x_set_background_color,
x_set_cursor_color, pgtk_set_scroll_bar_foreground,
pgtk_set_scroll_bar_background, Fxw_color_defined_p,
Fxw_color_values): pass frame as argument.
* src/pgtkterm.c (pgtk_parse_color): take frame as argument.
(pgtk_lisp_to_color): take frame as argument, and pass it.

Remove pgtk_lisp_to_color

* src/pgtkfns.c (x_set_foreground_color, x_set_background_color,
x_set_cursor_color): use x_decode_color instead of pgtk_lisp_to_color.
(Fxw_color_defined_p, Fxw_color_values):
use pgtk_defined_color instead of pgtk_lisp_to_color.
* src/pgtkterm.c (pgtk_lisp_to_color): remove.

* src/gtkutil.c (xg_check_special_colors): change color format

* src/pgtkterm.h: remove pgtk_lisp_to_color declaration
src/gtkutil.c
src/pgtkfns.c
src/pgtkterm.c
src/pgtkterm.h