comparison src/msdos.h @ 13395:c18547cf191f

(struct x_output): Rename from struct x_display. (the_only_x_display): Type is now struct x_output.
author Karl Heuer <kwzh@gnu.org>
date Sat, 04 Nov 1995 00:12:52 +0000
parents 74b4edb62cf0
children ee40177f6c68
comparison
equal deleted inserted replaced
13394:c4549fcdd5f3 13395:c18547cf191f
51 typedef int Window; 51 typedef int Window;
52 #define PIX_TYPE int 52 #define PIX_TYPE int
53 #define XDISPLAY 53 #define XDISPLAY
54 54
55 /* This is a cut-down version of the one in xterm.h, which see. */ 55 /* This is a cut-down version of the one in xterm.h, which see. */
56 struct x_display 56 struct x_output
57 { 57 {
58 int left_pos; 58 int left_pos;
59 int top_pos; 59 int top_pos;
60 int line_height; 60 int line_height;
61 PIX_TYPE background_pixel; 61 PIX_TYPE background_pixel;
66 struct face **computed_faces; 66 struct face **computed_faces;
67 int n_computed_faces; 67 int n_computed_faces;
68 int size_computed_faces; 68 int size_computed_faces;
69 }; 69 };
70 70
71 extern struct x_display the_only_x_display; 71 extern struct x_output the_only_x_display;
72 extern Display *x_current_display; 72 extern Display *x_current_display;
73 73
74 #define FRAME_PARAM_FACES(f) (the_only_x_display.param_faces) 74 #define FRAME_PARAM_FACES(f) (the_only_x_display.param_faces)
75 #define FRAME_N_PARAM_FACES(f) (the_only_x_display.n_param_faces) 75 #define FRAME_N_PARAM_FACES(f) (the_only_x_display.n_param_faces)
76 #define FRAME_DEFAULT_PARAM_FACE(f) (FRAME_PARAM_FACES (f)[0]) 76 #define FRAME_DEFAULT_PARAM_FACE(f) (FRAME_PARAM_FACES (f)[0])