Mercurial > emacs
comparison src/editfns.c @ 37143:187f754d89cc
(x_alloc_nearest_color_1): New function.
(x_alloc_nearest_color): Use it.
(x_color_cells): Take a Display as argument, instead of a frame.
(string_to_pixel_args, cvt_string_to_pixel_value): New variables.
(cvt_string_to_pixel, cvt_pixel_dtor): New functions.
(x_initialize): Register cvt_string_to_pixel as resource converter
string -> Pixel and cvt_pixel_dtor as pixel resource destructor.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 02 Apr 2001 15:49:25 +0000 |
parents | a9b2639dd045 |
children | 9156124d97e2 |
comparison
equal
deleted
inserted
replaced
37142:e107572ba2dd | 37143:187f754d89cc |
---|