changeset 32608:0c09f18456e3

(struct x_display_info): Add color_cells and ncolor_cells. (x_query_color, x_query_colors): Add prototype.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 18 Oct 2000 11:58:27 +0000
parents 00d2748a616a
children 350e0378e6f9
files src/xterm.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */