Mercurial > emacs
comparison src/macterm.h @ 69965:e8a7cef5ffb5
(x_set_mouse_position, x_set_mouse_pixel_position)
(x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
(x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC)
(do_menu_choice, have_menus_p, x_real_positions)
(x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width)
(x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar)
(free_frame_menubar): Add externs.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 12 Apr 2006 08:09:44 +0000 |
parents | 8eb564c8e819 |
children | 5efeadbe7324 2d2f6f096f6e c156f6a9e7b5 |
comparison
equal
deleted
inserted
replaced
69964:321089786c7b | 69965:e8a7cef5ffb5 |
---|---|
548 unsigned int *)); | 548 unsigned int *)); |
549 | 549 |
550 /* Defined in macterm.c. */ | 550 /* Defined in macterm.c. */ |
551 | 551 |
552 extern void x_set_window_size P_ ((struct frame *, int, int, int)); | 552 extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
553 extern void x_set_mouse_position P_ ((struct frame *, int, int)); | |
554 extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); | |
553 extern void x_make_frame_visible P_ ((struct frame *)); | 555 extern void x_make_frame_visible P_ ((struct frame *)); |
556 extern void x_make_frame_invisible P_ ((struct frame *)); | |
557 extern void x_iconify_frame P_ ((struct frame *)); | |
558 extern void x_free_frame_resources P_ ((struct frame *)); | |
559 extern void x_destroy_window P_ ((struct frame *)); | |
560 extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); | |
561 extern void x_delete_display P_ ((struct x_display_info *)); | |
554 extern void mac_initialize P_ ((void)); | 562 extern void mac_initialize P_ ((void)); |
555 extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int, | 563 extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int, |
556 unsigned int, unsigned int)); | 564 unsigned int, unsigned int)); |
557 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, | 565 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, |
558 unsigned int, unsigned int, | 566 unsigned int, unsigned int, |
559 unsigned long, unsigned long, | 567 unsigned long, unsigned long, |
560 unsigned int)); | 568 unsigned int)); |
561 extern void XFreePixmap P_ ((Display *, Pixmap)); | 569 extern void XFreePixmap P_ ((Display *, Pixmap)); |
562 extern GC XCreateGC P_ ((Display *, Window, unsigned long, XGCValues *)); | 570 extern GC XCreateGC P_ ((Display *, Window, unsigned long, XGCValues *)); |
571 extern void XFreeGC P_ ((Display *, GC)); | |
563 extern void XSetForeground P_ ((Display *, GC, unsigned long)); | 572 extern void XSetForeground P_ ((Display *, GC, unsigned long)); |
564 extern void XSetBackground P_ ((Display *, GC, unsigned long)); | 573 extern void XSetBackground P_ ((Display *, GC, unsigned long)); |
565 extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); | 574 extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); |
566 extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, | 575 extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, |
567 int, int)); | 576 int, int)); |
569 unsigned int, unsigned int)); | 578 unsigned int, unsigned int)); |
570 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); | 579 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
571 extern OSErr install_window_handler P_ ((WindowPtr)); | 580 extern OSErr install_window_handler P_ ((WindowPtr)); |
572 extern void remove_window_handler P_ ((WindowPtr)); | 581 extern void remove_window_handler P_ ((WindowPtr)); |
573 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); | 582 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); |
583 extern void do_menu_choice P_ ((SInt32)); | |
574 #if USE_CG_DRAWING | 584 #if USE_CG_DRAWING |
575 extern void mac_prepare_for_quickdraw P_ ((struct frame *)); | 585 extern void mac_prepare_for_quickdraw P_ ((struct frame *)); |
576 #endif | 586 #endif |
577 | 587 |
578 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 588 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
581 #define TYPE_FILE_NAME 'fNam' | 591 #define TYPE_FILE_NAME 'fNam' |
582 | 592 |
583 /* Defined in macselect.c */ | 593 /* Defined in macselect.c */ |
584 | 594 |
585 extern void x_clear_frame_selections P_ ((struct frame *)); | 595 extern void x_clear_frame_selections P_ ((struct frame *)); |
596 | |
597 /* Defined in macfns.c */ | |
598 | |
599 extern int have_menus_p P_ ((void)); | |
600 | |
601 extern void x_real_positions P_ ((struct frame *, int *, int *)); | |
602 extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | |
603 extern int x_pixel_width P_ ((struct frame *)); | |
604 extern int x_pixel_height P_ ((struct frame *)); | |
605 extern int x_char_width P_ ((struct frame *)); | |
606 extern int x_char_height P_ ((struct frame *)); | |
607 extern void x_sync P_ ((struct frame *)); | |
608 extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | |
609 | |
610 /* Defined in macmenu.c */ | |
611 | |
612 extern void x_activate_menubar P_ ((struct frame *)); | |
613 extern void free_frame_menubar P_ ((struct frame *)); | |
586 | 614 |
587 /* Defined in mac.c. */ | 615 /* Defined in mac.c. */ |
588 | 616 |
589 extern void mac_clear_font_name_table P_ ((void)); | 617 extern void mac_clear_font_name_table P_ ((void)); |
590 extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); | 618 extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); |