# HG changeset patch # User Gerd Moellmann # Date 971870307 0 # Node ID 0c09f18456e3724a895118a64c509eccc8e3cd16 # Parent 00d2748a616a128286aaa8d4dbbac73dbcebc7b8 (struct x_display_info): Add color_cells and ncolor_cells. (x_query_color, x_query_colors): Add prototype. diff -r 00d2748a616a -r 0c09f18456e3 src/xterm.h --- a/src/xterm.h Wed Oct 18 11:58:07 2000 +0000 +++ b/src/xterm.h Wed Oct 18 11:58:27 2000 +0000 @@ -339,6 +339,11 @@ XIM xim; XIMStyles *xim_styles; #endif + + /* If non-null, a cache of the colors in the color map. Don't + use this directly, call x_color_cells instead. */ + XColor *color_cells; + int ncolor_cells; }; /* This checks to make sure we have a display. */ @@ -978,6 +983,8 @@ #ifdef USE_X_TOOLKIT extern XtAppContext Xt_app_con; #endif +extern void x_query_colors P_ ((struct frame *f, XColor *, int)); +extern void x_query_color P_ ((struct frame *f, XColor *)); /* Defined in xselect.c */