aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msdos.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/msdos.h b/src/msdos.h
index 3e3c6ec0695..5bf15c4f6cc 100644
--- a/src/msdos.h
+++ b/src/msdos.h
@@ -51,6 +51,7 @@ typedef int GC;
51typedef int Pixmap; 51typedef int Pixmap;
52typedef int Display; 52typedef int Display;
53typedef int Window; 53typedef int Window;
54typedef int XRectangle;
54#define PIX_TYPE int 55#define PIX_TYPE int
55#define XDISPLAY 56#define XDISPLAY
56 57
@@ -87,6 +88,42 @@ extern Display *x_current_display;
87#define FRAME_BACKGROUND_PIXEL(f) (the_only_x_display.background_pixel) 88#define FRAME_BACKGROUND_PIXEL(f) (the_only_x_display.background_pixel)
88#define FRAME_FONT(f) (the_only_x_display.font) 89#define FRAME_FONT(f) (the_only_x_display.font)
89 90
91/* Prototypes. */
92
93/* Forward declarations for prototypes. */
94struct frame;
95struct window;
96extern void init_frame_faces P_ ((struct frame *));
97extern void free_frame_faces P_ ((struct frame *));
98extern struct face *intern_face P_ ((struct frame *, struct face *));
99extern int face_name_id_number P_ ((struct frame *, Lisp_Object));
100extern void recompute_basic_faces P_ ((struct frame *));
101extern int compute_char_face P_ ((struct frame *frame,
102 struct window *w,
103 int pos,
104 int region_beg, int region_end,
105 int *endptr,
106 int limit, int mouse));
107extern int compute_glyph_face P_ ((struct frame *, int, int));
108extern void pixel_to_glyph_coords P_ ((struct frame *f, int pix_x, int pix_y,
109 int *x, int *y, XRectangle *bounds,
110 int noclip));
111extern void glyph_to_pixel_coords P_ ((struct frame *f, int x, int y,
112 int *pix_x, int *pix_y));
113
114/* Defined in xfns.c */
115
116extern int have_menus_p P_ ((void));
117extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object));
118extern int x_pixel_width P_ ((struct frame *));
119extern int x_pixel_height P_ ((struct frame *));
120
121/* Defined in xfaces.c */
122extern void clear_face_cache P_ ((void));
123extern int compute_glyph_face P_ ((struct frame *, int, int));
124extern int compute_glyph_face_1 P_ ((struct frame *, Lisp_Object, int));
125
126
90#define XFreeGC (void) 127#define XFreeGC (void)
91#define same_size_fonts(foo,bar) (1) 128#define same_size_fonts(foo,bar) (1)
92#define unload_font(p1,p2) 129#define unload_font(p1,p2)