diff options
| author | Gerd Moellmann | 2000-03-04 16:00:56 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-04 16:00:56 +0000 |
| commit | 7353f3a342be6307be00f0319bc50db56c9fdc95 (patch) | |
| tree | be20d6b996f9c67f13936879280b198b4dd525f4 | |
| parent | 43bd1b2bfe1b14ab5f2bed007d09049021aa55c5 (diff) | |
| download | emacs-7353f3a342be6307be00f0319bc50db56c9fdc95.tar.gz emacs-7353f3a342be6307be00f0319bc50db56c9fdc95.zip | |
(struct x_display_info): Add Colormap member `cmap'.
(FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros.
| -rw-r--r-- | src/xterm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index df44b856068..d4d040295ca 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -169,6 +169,9 @@ struct x_display_info | |||
| 169 | 169 | ||
| 170 | /* The Visual being used for this display. */ | 170 | /* The Visual being used for this display. */ |
| 171 | Visual *visual; | 171 | Visual *visual; |
| 172 | |||
| 173 | /* THe colormap being used. */ | ||
| 174 | Colormap cmap; | ||
| 172 | 175 | ||
| 173 | /* Number of panes on this screen. */ | 176 | /* Number of panes on this screen. */ |
| 174 | int n_planes; | 177 | int n_planes; |
| @@ -602,6 +605,12 @@ struct x_output | |||
| 602 | /* This is the `Screen *' which frame F is on. */ | 605 | /* This is the `Screen *' which frame F is on. */ |
| 603 | #define FRAME_X_SCREEN(f) (FRAME_X_DISPLAY_INFO (f)->screen) | 606 | #define FRAME_X_SCREEN(f) (FRAME_X_DISPLAY_INFO (f)->screen) |
| 604 | 607 | ||
| 608 | /* This is the Visual which frame F is on. */ | ||
| 609 | #define FRAME_X_VISUAL(f) FRAME_X_DISPLAY_INFO (f)->visual | ||
| 610 | |||
| 611 | /* This is the Colormap which frame F uses. */ | ||
| 612 | #define FRAME_X_COLORMAP(f) FRAME_X_DISPLAY_INFO (f)->cmap | ||
| 613 | |||
| 605 | /* This is the 'font_info *' which frame F has. */ | 614 | /* This is the 'font_info *' which frame F has. */ |
| 606 | #define FRAME_X_FONT_TABLE(f) (FRAME_X_DISPLAY_INFO (f)->font_table) | 615 | #define FRAME_X_FONT_TABLE(f) (FRAME_X_DISPLAY_INFO (f)->font_table) |
| 607 | 616 | ||