comparison src/xterm.h @ 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 ff13c4812848
children f41b5f5154b1
comparison
equal deleted inserted replaced
32607:00d2748a616a 32608:0c09f18456e3
337 #ifdef HAVE_X_I18N 337 #ifdef HAVE_X_I18N
338 /* XIM (X Input method). */ 338 /* XIM (X Input method). */
339 XIM xim; 339 XIM xim;
340 XIMStyles *xim_styles; 340 XIMStyles *xim_styles;
341 #endif 341 #endif
342
343 /* If non-null, a cache of the colors in the color map. Don't
344 use this directly, call x_color_cells instead. */
345 XColor *color_cells;
346 int ncolor_cells;
342 }; 347 };
343 348
344 /* This checks to make sure we have a display. */ 349 /* This checks to make sure we have a display. */
345 extern void check_x P_ ((void)); 350 extern void check_x P_ ((void));
346 351
976 extern void x_update_cursor P_ ((struct frame *, int)); 981 extern void x_update_cursor P_ ((struct frame *, int));
977 extern unsigned long x_copy_color P_ ((struct frame *, unsigned long)); 982 extern unsigned long x_copy_color P_ ((struct frame *, unsigned long));
978 #ifdef USE_X_TOOLKIT 983 #ifdef USE_X_TOOLKIT
979 extern XtAppContext Xt_app_con; 984 extern XtAppContext Xt_app_con;
980 #endif 985 #endif
986 extern void x_query_colors P_ ((struct frame *f, XColor *, int));
987 extern void x_query_color P_ ((struct frame *f, XColor *));
981 988
982 /* Defined in xselect.c */ 989 /* Defined in xselect.c */
983 990
984 extern void x_handle_property_notify P_ ((XPropertyEvent *)); 991 extern void x_handle_property_notify P_ ((XPropertyEvent *));
985 extern void x_handle_selection_notify P_ ((XSelectionEvent *)); 992 extern void x_handle_selection_notify P_ ((XSelectionEvent *));