Mercurial > emacs
comparison src/msdos.h @ 25111:36169f5d88da
Remove redundant declarations (most of them are now in
dispextern.h).
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 30 Jul 1999 08:08:43 +0000 |
parents | 8de4e2a8cc62 |
children | f5dded41adcc |
comparison
equal
deleted
inserted
replaced
25110:4833aea1f1e7 | 25111:36169f5d88da |
---|---|
62 int top_pos; | 62 int top_pos; |
63 int line_height; | 63 int line_height; |
64 PIX_TYPE background_pixel; | 64 PIX_TYPE background_pixel; |
65 PIX_TYPE foreground_pixel; | 65 PIX_TYPE foreground_pixel; |
66 XFontStruct *font; | 66 XFontStruct *font; |
67 Window busy_window; | |
68 unsigned busy_p : 1; | |
67 struct face **param_faces; | 69 struct face **param_faces; |
68 int n_param_faces; | 70 int n_param_faces; |
69 struct face **computed_faces; | 71 struct face **computed_faces; |
70 int n_computed_faces; | 72 int n_computed_faces; |
71 int size_computed_faces; | 73 int size_computed_faces; |
91 /* Prototypes. */ | 93 /* Prototypes. */ |
92 | 94 |
93 /* Forward declarations for prototypes. */ | 95 /* Forward declarations for prototypes. */ |
94 struct frame; | 96 struct frame; |
95 struct window; | 97 struct window; |
96 extern void init_frame_faces P_ ((struct frame *)); | 98 #if 0 |
97 extern void free_frame_faces P_ ((struct frame *)); | 99 extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); /* !!! */ |
98 extern struct face *intern_face P_ ((struct frame *, struct face *)); | 100 extern int compute_glyph_face P_ ((struct frame *, int, int)); /* !!! */ |
99 extern int face_name_id_number P_ ((struct frame *, Lisp_Object)); | 101 #endif |
100 extern void recompute_basic_faces P_ ((struct frame *)); | 102 |
101 extern int compute_char_face P_ ((struct frame *frame, | 103 /* From xterm.c; emulated on msdos.c */ |
102 struct window *w, | 104 |
103 int pos, | |
104 int region_beg, int region_end, | |
105 int *endptr, | |
106 int limit, int mouse)); | |
107 extern int compute_glyph_face P_ ((struct frame *, int, int)); | |
108 extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y, | 105 extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y, |
109 int *x, int *y, XRectangle *bounds, | 106 int *x, int *y, XRectangle *bounds, |
110 int noclip)); | 107 int noclip)); |
111 extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y, | 108 extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y, |
112 int *pix_x, int *pix_y)); | 109 int *pix_x, int *pix_y)); |
113 | 110 |
114 /* Defined in xfns.c */ | 111 /* Defined in xfns.c; emulated on msdos.c */ |
115 | 112 |
116 extern int have_menus_p P_ ((void)); | 113 extern int have_menus_p P_ ((void)); |
117 extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 114 extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
118 extern int x_pixel_width P_ ((struct frame *)); | 115 extern int x_pixel_width P_ ((struct frame *)); |
119 extern int x_pixel_height P_ ((struct frame *)); | 116 extern int x_pixel_height P_ ((struct frame *)); |
120 | 117 |
121 /* Defined in xfaces.c */ | |
122 extern void clear_face_cache P_ ((void)); | |
123 extern int compute_glyph_face P_ ((struct frame *, int, int)); | |
124 extern int compute_glyph_face_1 P_ ((struct frame *, Lisp_Object, int)); | |
125 | |
126 | |
127 #define XFreeGC (void) | 118 #define XFreeGC (void) |
128 #define same_size_fonts(foo,bar) (1) | |
129 #define unload_font(p1,p2) | |
130 #define unload_color(p1,p2) | 119 #define unload_color(p1,p2) |
131 #define x_destroy_bitmap(p1,p2) | 120 #define x_destroy_bitmap(p1,p2) |
132 #define load_pixmap(p1,p2,p3,p4) (0) | 121 #define load_pixmap(p1,p2,p3,p4) (0) |
133 #define XGetGeometry(p1,p2,p3,p4,p5,p6,p7,p8,p9) | 122 #define XGetGeometry(p1,p2,p3,p4,p5,p6,p7,p8,p9) |
134 #define DisplayWidth(p1,p2) (selected_frame->width) | 123 #define DisplayWidth(p1,p2) (selected_frame->width) |