Mercurial > emacs
comparison src/macterm.h @ 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 | d037e941c800 |
children | 21f88361795c fac24544c283 |
comparison
equal
deleted
inserted
replaced
54366:f84db574fec7 | 54367:df306ddd8136 |
---|---|
238 extern struct x_display_info *x_display_info_for_display P_ ((Display *)); | 238 extern struct x_display_info *x_display_info_for_display P_ ((Display *)); |
239 extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); | 239 extern struct x_display_info *x_display_info_for_name P_ ((Lisp_Object)); |
240 | 240 |
241 extern struct mac_display_info *mac_term_init (); | 241 extern struct mac_display_info *mac_term_init (); |
242 | 242 |
243 extern Lisp_Object x_list_fonts P_ ((struct frame *, Lisp_Object, int, int)); | |
244 extern struct font_info *x_get_font_info P_ ((struct frame *f, int)); | |
245 extern struct font_info *x_load_font P_ ((struct frame *, char *, int)); | |
246 extern struct font_info *x_query_font P_ ((struct frame *, char *)); | |
247 extern void x_find_ccl_program P_ ((struct font_info *)); | |
248 | |
243 /* When Emacs uses a tty window, tty_display in frame.c points to an | 249 /* When Emacs uses a tty window, tty_display in frame.c points to an |
244 x_output struct . */ | 250 x_output struct . */ |
245 struct x_output | 251 struct x_output |
246 { | 252 { |
247 unsigned long background_pixel; | 253 unsigned long background_pixel; |
563 struct frame * check_x_frame (Lisp_Object); | 569 struct frame * check_x_frame (Lisp_Object); |
564 | 570 |
565 void activate_scroll_bars (FRAME_PTR); | 571 void activate_scroll_bars (FRAME_PTR); |
566 void deactivate_scroll_bars (FRAME_PTR); | 572 void deactivate_scroll_bars (FRAME_PTR); |
567 | 573 |
574 /* Defined in macterm.c. */ | |
575 | |
576 extern void x_set_window_size P_ ((struct frame *, int, int, int)); | |
577 extern void x_make_frame_visible P_ ((struct frame *)); | |
578 extern void mac_initialize P_ ((void)); | |
579 extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int, | |
580 unsigned int, unsigned int)); | |
581 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, | |
582 unsigned int, unsigned int, | |
583 unsigned long, unsigned long, | |
584 unsigned int)); | |
585 extern void XFreePixmap P_ ((Display *, Pixmap)); | |
586 extern void XSetForeground P_ ((Display *, GC, unsigned long)); | |
587 extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, | |
588 int, int)); | |
589 | |
568 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 590 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
569 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 | 591 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
570 | 592 |
571 /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 | 593 /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 |
572 (do not change this comment) */ | 594 (do not change this comment) */ |