changeset 54367:df306ddd8136

* macterm.h (x_list_fonts, x_get_font_info, x_load_font) (x_query_font, x_find_ccl_program, x_set_window_size) (x_make_frame_visible, mac_initialize, XCreatePixmap) (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) (mac_draw_line_to_pixmap): Add prototypes.
author Kim F. Storm <storm@cua.dk>
date Thu, 11 Mar 2004 22:43:49 +0000
parents f84db574fec7
children 95647cc2d932
files src/macterm.h
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.h	Thu Mar 11 22:43:32 2004 +0000
+++ b/src/macterm.h	Thu Mar 11 22:43:49 2004 +0000
@@ -240,6 +240,12 @@
 
 extern struct mac_display_info *mac_term_init ();
 
+extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int));
+extern struct font_info *x_get_font_info P_ ((struct frame *f, int));
+extern struct font_info *x_load_font P_ ((struct frame *, char *, int));
+extern struct font_info *x_query_font P_ ((struct frame *, char *));
+extern void x_find_ccl_program P_ ((struct font_info *));
+
 /* When Emacs uses a tty window, tty_display in frame.c points to an
    x_output struct .  */
 struct x_output
@@ -565,6 +571,22 @@
 void activate_scroll_bars (FRAME_PTR);
 void deactivate_scroll_bars (FRAME_PTR);
 
+/* Defined in macterm.c.  */
+
+extern void x_set_window_size P_ ((struct frame *, int, int, int));
+extern void x_make_frame_visible P_ ((struct frame *));
+extern void mac_initialize P_ ((void));
+extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int,
+				 unsigned int, unsigned int));
+extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *,
+					       unsigned int, unsigned int,
+					       unsigned long, unsigned long,
+					       unsigned int));
+extern void XFreePixmap P_ ((Display *, Pixmap));
+extern void XSetForeground P_ ((Display *, GC, unsigned long));
+extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int,
+					 int, int));
+
 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0
 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0