Mercurial > emacs
comparison src/macterm.h @ 83510:2d2f6f096f6e
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-216
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-217
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-218
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-219
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-220
Improve tq.el.
* emacs@sv.gnu.org/emacs--devo--0--patch-221
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-222
Update from CVS: src/puresize.h (PURESIZE_RATIO): Reduce to 10/6.
* emacs@sv.gnu.org/emacs--devo--0--patch-223
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-224
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-225
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-226
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-227
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-228
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-229
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-230
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-231
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-232
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-233
Update from CVS: lisp/progmodes/python.el (python-mode): Fix typo.
* emacs@sv.gnu.org/gnus--rel--5.10--patch-84
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-85
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-86
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-550
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Wed, 19 Apr 2006 16:23:46 +0000 |
parents | 203c9b24206b e8a7cef5ffb5 |
children | d9f8d2a65d18 |
comparison
equal
deleted
inserted
replaced
83509:24cf4bf418dc | 83510:2d2f6f096f6e |
---|---|
545 unsigned int *)); | 545 unsigned int *)); |
546 | 546 |
547 /* Defined in macterm.c. */ | 547 /* Defined in macterm.c. */ |
548 | 548 |
549 extern void x_set_window_size P_ ((struct frame *, int, int, int)); | 549 extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
550 extern void x_set_mouse_position P_ ((struct frame *, int, int)); | |
551 extern void x_set_mouse_pixel_position P_ ((struct frame *, int, int)); | |
550 extern void x_make_frame_visible P_ ((struct frame *)); | 552 extern void x_make_frame_visible P_ ((struct frame *)); |
553 extern void x_make_frame_invisible P_ ((struct frame *)); | |
554 extern void x_iconify_frame P_ ((struct frame *)); | |
555 extern void x_free_frame_resources P_ ((struct frame *)); | |
556 extern void x_destroy_window P_ ((struct frame *)); | |
557 extern void x_wm_set_size_hint P_ ((struct frame *, long, int)); | |
558 extern void x_delete_display P_ ((struct x_display_info *)); | |
551 extern void mac_initialize P_ ((void)); | 559 extern void mac_initialize P_ ((void)); |
552 extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int, | 560 extern Pixmap XCreatePixmap P_ ((Display *, WindowPtr, unsigned int, |
553 unsigned int, unsigned int)); | 561 unsigned int, unsigned int)); |
554 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, | 562 extern Pixmap XCreatePixmapFromBitmapData P_ ((Display *, WindowPtr, char *, |
555 unsigned int, unsigned int, | 563 unsigned int, unsigned int, |
556 unsigned long, unsigned long, | 564 unsigned long, unsigned long, |
557 unsigned int)); | 565 unsigned int)); |
558 extern void XFreePixmap P_ ((Display *, Pixmap)); | 566 extern void XFreePixmap P_ ((Display *, Pixmap)); |
559 extern GC XCreateGC P_ ((Display *, Window, unsigned long, XGCValues *)); | 567 extern GC XCreateGC P_ ((Display *, Window, unsigned long, XGCValues *)); |
568 extern void XFreeGC P_ ((Display *, GC)); | |
560 extern void XSetForeground P_ ((Display *, GC, unsigned long)); | 569 extern void XSetForeground P_ ((Display *, GC, unsigned long)); |
561 extern void XSetBackground P_ ((Display *, GC, unsigned long)); | 570 extern void XSetBackground P_ ((Display *, GC, unsigned long)); |
562 extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); | 571 extern void XSetWindowBackground P_ ((Display *, WindowPtr, unsigned long)); |
563 extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, | 572 extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, |
564 int, int)); | 573 int, int)); |
566 unsigned int, unsigned int)); | 575 unsigned int, unsigned int)); |
567 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); | 576 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
568 extern OSErr install_window_handler P_ ((WindowPtr)); | 577 extern OSErr install_window_handler P_ ((WindowPtr)); |
569 extern void remove_window_handler P_ ((WindowPtr)); | 578 extern void remove_window_handler P_ ((WindowPtr)); |
570 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); | 579 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); |
580 extern void do_menu_choice P_ ((SInt32)); | |
571 #if USE_CG_DRAWING | 581 #if USE_CG_DRAWING |
572 extern void mac_prepare_for_quickdraw P_ ((struct frame *)); | 582 extern void mac_prepare_for_quickdraw P_ ((struct frame *)); |
573 #endif | 583 #endif |
574 | 584 |
575 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 585 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
578 #define TYPE_FILE_NAME 'fNam' | 588 #define TYPE_FILE_NAME 'fNam' |
579 | 589 |
580 /* Defined in macselect.c */ | 590 /* Defined in macselect.c */ |
581 | 591 |
582 extern void x_clear_frame_selections P_ ((struct frame *)); | 592 extern void x_clear_frame_selections P_ ((struct frame *)); |
593 | |
594 /* Defined in macfns.c */ | |
595 | |
596 extern int have_menus_p P_ ((void)); | |
597 | |
598 extern void x_real_positions P_ ((struct frame *, int *, int *)); | |
599 extern void x_set_menu_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | |
600 extern int x_pixel_width P_ ((struct frame *)); | |
601 extern int x_pixel_height P_ ((struct frame *)); | |
602 extern int x_char_width P_ ((struct frame *)); | |
603 extern int x_char_height P_ ((struct frame *)); | |
604 extern void x_sync P_ ((struct frame *)); | |
605 extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | |
606 | |
607 /* Defined in macmenu.c */ | |
608 | |
609 extern void x_activate_menubar P_ ((struct frame *)); | |
610 extern void free_frame_menubar P_ ((struct frame *)); | |
583 | 611 |
584 /* Defined in mac.c. */ | 612 /* Defined in mac.c. */ |
585 | 613 |
586 extern void mac_clear_font_name_table P_ ((void)); | 614 extern void mac_clear_font_name_table P_ ((void)); |
587 extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); | 615 extern Lisp_Object mac_aedesc_to_lisp P_ ((AEDesc *)); |