Mercurial > emacs
comparison src/xterm.h @ 27986:8cc3bff16c28
(struct x_display_info): Add Colormap member `cmap'.
(FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 04 Mar 2000 16:00:56 +0000 |
parents | ea054e85f0e2 |
children | aed40c47cda2 |
comparison
equal
deleted
inserted
replaced
27985:4ba445af210b | 27986:8cc3bff16c28 |
---|---|
167 /* Dots per inch of the screen. */ | 167 /* Dots per inch of the screen. */ |
168 double resx, resy; | 168 double resx, resy; |
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; |
175 | 178 |
176 /* Dimensions of this screen. */ | 179 /* Dimensions of this screen. */ |
599 /* This is the `Display *' which frame F is on. */ | 602 /* This is the `Display *' which frame F is on. */ |
600 #define FRAME_X_DISPLAY(f) (FRAME_X_DISPLAY_INFO (f)->display) | 603 #define FRAME_X_DISPLAY(f) (FRAME_X_DISPLAY_INFO (f)->display) |
601 | 604 |
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) |
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 | |
604 | 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 |
608 /* These two really ought to be called FRAME_PIXEL_{WIDTH,HEIGHT}. */ | 617 /* These two really ought to be called FRAME_PIXEL_{WIDTH,HEIGHT}. */ |