comparison lwlib/lwlib-colors.h @ 5918:cb65bfaf7110 default

Speed up XEmacs on X. Avoid many calls to XQueryColor.
author Mike Sperber <sperber@deinprogramm.de>
date Fri, 27 Mar 2015 16:05:15 +0100
parents 308d34e9f07d
children
comparison
equal deleted inserted replaced
5917:ffb5abc8dc4e 5918:cb65bfaf7110
50 #error Xft versions < 2 not supported 50 #error Xft versions < 2 not supported
51 #endif 51 #endif
52 52
53 XftColor xft_convert_color (Display *dpy, Colormap cmap, Visual *visual, 53 XftColor xft_convert_color (Display *dpy, Colormap cmap, Visual *visual,
54 int c, int dim); 54 int c, int dim);
55 XftColor xft_convert_color_1 (Display *dpy, Colormap cmap, Visual *visual,
56 XColor *pcolor, int dim);
55 #endif /* HAVE_XFT */ 57 #endif /* HAVE_XFT */
56 58
57 #endif /* INCLUDED_lwlib_colors_h_ */ 59 #endif /* INCLUDED_lwlib_colors_h_ */