Mercurial > emacs
view src/s/uxpds.h @ 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 | 8e1b437e5d04 |
children | 695cf19ef79e |
line wrap: on
line source
/* Handle uxpds */ #include "usg5-4-2.h" /* This triggers a conditional in xfaces.c. */ #define XOS_NEEDS_TIME_H #define FSCALE 256