Commit 70772ed1 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(struct x_display_info): Add color_cells and ncolor_cells.

(x_query_color, x_query_colors): Add prototype.
parent f04e1297
......@@ -339,6 +339,11 @@ struct x_display_info
XIM xim;
XIMStyles *xim_styles;
/* 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 @@ extern unsigned long x_copy_color P_ ((struct frame *, unsigned long));
extern XtAppContext Xt_app_con;
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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment