diff options
| author | Karoly Lorentey | 2006-06-12 07:27:12 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-06-12 07:27:12 +0000 |
| commit | 476e9367ec1f440aa23904b7bc482ea4a3b8041c (patch) | |
| tree | 4f7f5a5e9a6668f908834bb6e216c8fa3727d4b3 /src/macterm.h | |
| parent | a13f8f50d4cc544d3bbfa78568e82ce09e68bded (diff) | |
| parent | 6b519504c3297595101628e823e72c91e562ab45 (diff) | |
| download | emacs-476e9367ec1f440aa23904b7bc482ea4a3b8041c.tar.gz emacs-476e9367ec1f440aa23904b7bc482ea4a3b8041c.zip | |
Merged from emacs@sv.gnu.org.
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-294
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-295
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-296
Update from CVS: admin/FOR-RELEASE: Update refcard section.
* emacs@sv.gnu.org/emacs--devo--0--patch-297
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-298
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-299
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-300
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-301
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-302
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-303
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-304
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-103
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-104
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-570
Diffstat (limited to 'src/macterm.h')
| -rw-r--r-- | src/macterm.h | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/src/macterm.h b/src/macterm.h index abdce7a799e..fd71e36d28d 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -536,6 +536,53 @@ struct scroll_bar { | |||
| 536 | #define HOURGLASS_WIDTH 16 | 536 | #define HOURGLASS_WIDTH 16 |
| 537 | #define HOURGLASS_HEIGHT 16 | 537 | #define HOURGLASS_HEIGHT 16 |
| 538 | 538 | ||
| 539 | /* Some constants that are used locally. */ | ||
| 540 | /* Apple event descriptor types */ | ||
| 541 | enum { | ||
| 542 | TYPE_FILE_NAME = 'fNam' | ||
| 543 | }; | ||
| 544 | |||
| 545 | /* Keywords for Apple event attributes */ | ||
| 546 | enum { | ||
| 547 | KEY_EMACS_SUSPENSION_ID_ATTR = 'esId' /* typeUInt32 */ | ||
| 548 | }; | ||
| 549 | |||
| 550 | /* Carbon event parameter names. */ | ||
| 551 | enum { | ||
| 552 | EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER = 'tsSn' /* typeUInt32 */ | ||
| 553 | }; | ||
| 554 | |||
| 555 | /* Some constants that are not defined in older versions. */ | ||
| 556 | #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 | ||
| 557 | /* Keywords for Apple event attributes */ | ||
| 558 | enum { | ||
| 559 | keyReplyRequestedAttr = 'repq' | ||
| 560 | }; | ||
| 561 | #endif | ||
| 562 | |||
| 563 | #if MAC_OS_X_VERSION_MAX_ALLOWED < 1040 | ||
| 564 | /* Gestalt selectors */ | ||
| 565 | enum { | ||
| 566 | gestaltSystemVersionMajor = 'sys1', | ||
| 567 | gestaltSystemVersionMinor = 'sys2', | ||
| 568 | gestaltSystemVersionBugFix = 'sys3' | ||
| 569 | }; | ||
| 570 | #endif | ||
| 571 | |||
| 572 | #ifdef MAC_OSX | ||
| 573 | #if MAC_OS_X_VERSION_MAX_ALLOWED < 1020 | ||
| 574 | /* Apple event descriptor types */ | ||
| 575 | enum { | ||
| 576 | typeUTF8Text = 'utf8' | ||
| 577 | }; | ||
| 578 | |||
| 579 | /* Carbon event parameter names */ | ||
| 580 | enum { | ||
| 581 | kEventParamWindowMouseLocation = 'wmou' | ||
| 582 | }; | ||
| 583 | #endif | ||
| 584 | #endif | ||
| 585 | |||
| 539 | struct frame; | 586 | struct frame; |
| 540 | struct face; | 587 | struct face; |
| 541 | struct image; | 588 | struct image; |
| @@ -581,6 +628,8 @@ extern void mac_draw_line_to_pixmap P_ ((Display *, Pixmap, GC, int, int, | |||
| 581 | extern void mac_clear_area P_ ((struct frame *, int, int, | 628 | extern void mac_clear_area P_ ((struct frame *, int, int, |
| 582 | unsigned int, unsigned int)); | 629 | unsigned int, unsigned int)); |
| 583 | extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); | 630 | extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
| 631 | extern int mac_font_panel_visible_p P_ ((void)); | ||
| 632 | extern OSStatus mac_show_hide_font_panel P_ ((void)); | ||
| 584 | extern OSStatus mac_set_font_info_for_selection P_ ((struct frame *, int, int)); | 633 | extern OSStatus mac_set_font_info_for_selection P_ ((struct frame *, int, int)); |
| 585 | extern OSErr install_window_handler P_ ((WindowPtr)); | 634 | extern OSErr install_window_handler P_ ((WindowPtr)); |
| 586 | extern void remove_window_handler P_ ((WindowPtr)); | 635 | extern void remove_window_handler P_ ((WindowPtr)); |
| @@ -593,8 +642,6 @@ extern void mac_prepare_for_quickdraw P_ ((struct frame *)); | |||
| 593 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 642 | #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
| 594 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 | 643 | #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
| 595 | 644 | ||
| 596 | #define TYPE_FILE_NAME 'fNam' | ||
| 597 | |||
| 598 | /* Defined in macselect.c */ | 645 | /* Defined in macselect.c */ |
| 599 | 646 | ||
| 600 | extern void x_clear_frame_selections P_ ((struct frame *)); | 647 | extern void x_clear_frame_selections P_ ((struct frame *)); |
| @@ -612,6 +659,7 @@ extern int x_char_height P_ ((struct frame *)); | |||
| 612 | extern void x_sync P_ ((struct frame *)); | 659 | extern void x_sync P_ ((struct frame *)); |
| 613 | extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 660 | extern void x_set_tool_bar_lines P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| 614 | extern void mac_update_title_bar P_ ((struct frame *, int)); | 661 | extern void mac_update_title_bar P_ ((struct frame *, int)); |
| 662 | extern Lisp_Object x_get_focus_frame P_ ((struct frame *)); | ||
| 615 | 663 | ||
| 616 | /* Defined in macmenu.c */ | 664 | /* Defined in macmenu.c */ |
| 617 | 665 | ||
| @@ -622,6 +670,7 @@ extern void free_frame_menubar P_ ((struct frame *)); | |||
| 622 | 670 | ||
| 623 | extern void mac_clear_font_name_table P_ ((void)); | 671 | extern void mac_clear_font_name_table P_ ((void)); |
| 624 | extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); | 672 | extern Lisp_Object mac_aedesc_to_lisp P_ ((const AEDesc *)); |
| 673 | extern OSErr mac_ae_put_lisp P_ ((AEDescList *, UInt32, Lisp_Object)); | ||
| 625 | #if TARGET_API_MAC_CARBON | 674 | #if TARGET_API_MAC_CARBON |
| 626 | extern OSErr create_apple_event_from_event_ref P_ ((EventRef, UInt32, | 675 | extern OSErr create_apple_event_from_event_ref P_ ((EventRef, UInt32, |
| 627 | EventParamName *, | 676 | EventParamName *, |