(xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color
authorGerd Moellmann <gerd@gnu.org>
Wed, 20 Sep 2000 10:59:45 +0000 (10:59 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 20 Sep 2000 10:59:45 +0000 (10:59 +0000)
commitf72c62ad9cf6bf5345845d8e113a48bf5038366b
treed20f4883cab52db1c091b721b0404c57a3ed7016
parent499393791f8b47e873e8f9568b220a6ab151de79
(xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color
symbols are specified, add color translations to the cache.
(xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New
functions.
(xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and
xpm_cache_color.
(xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes
structures to xpm_init_color_cache.
src/xfns.c