comparison src/cmds.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 af049ea731e5
children 42b7a798ff79
comparison
equal deleted inserted replaced
37142:e107572ba2dd 37143:187f754d89cc