From: Kim F. Storm Date: Thu, 11 Mar 2004 22:43:49 +0000 (+0000) Subject: * macterm.h (x_list_fonts, x_get_font_info, x_load_font) X-Git-Tag: ttn-vms-21-2-B4~7272 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed627ef5a7c731338c4dfef29185f2b37bd0f76d;p=emacs.git * 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. --- diff --git a/src/macterm.h b/src/macterm.h index 6987bd37653..868ce88318c 100644 --- a/src/macterm.h +++ b/src/macterm.h @@ -240,6 +240,12 @@ extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); 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 @@ struct frame * check_x_frame (Lisp_Object); 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