diff options
| author | Gerd Moellmann | 2000-10-18 11:58:27 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-18 11:58:27 +0000 |
| commit | 70772ed1ac4c747a004e10cce40aacfadded0904 (patch) | |
| tree | fc0b1771521842cd024ab9c54d716e85b9710e90 /src | |
| parent | f04e1297ecb8613fadd8c27b9caf92de37fab2cf (diff) | |
| download | emacs-70772ed1ac4c747a004e10cce40aacfadded0904.tar.gz emacs-70772ed1ac4c747a004e10cce40aacfadded0904.zip | |
(struct x_display_info): Add color_cells and ncolor_cells.
(x_query_color, x_query_colors): Add prototype.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index c33655e3627..aaf14700ac3 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -339,6 +339,11 @@ struct x_display_info | |||
| 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. */ |
| @@ -978,6 +983,8 @@ 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 | ||