Mercurial > emacs
comparison src/macterm.h @ 90127:30ad2795fdab
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-28
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 180-191)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 39-44)
- Merge from emacs--cvs-trunk--0
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 19 Mar 2005 02:42:17 +0000 |
parents | 29e773288013 129ab1a606c3 |
children | e1fbb019c538 |
comparison
equal
deleted
inserted
replaced
90126:8ee106ee2dc8 | 90127:30ad2795fdab |
---|---|
353 /* Flag to set when the window needs to be completely repainted. */ | 353 /* Flag to set when the window needs to be completely repainted. */ |
354 int needs_exposure; | 354 int needs_exposure; |
355 | 355 |
356 #endif | 356 #endif |
357 | 357 |
358 #if TARGET_API_MAC_CARBON | |
359 /* The Mac control reference for the hourglass (progress indicator) | |
360 shown at the upper-right corner of the window. */ | |
361 ControlRef hourglass_control; | |
362 #endif | |
363 | |
358 #if 0 | 364 #if 0 |
359 DWORD dwStyle; | 365 DWORD dwStyle; |
360 #endif | 366 #endif |
361 | 367 |
362 /* This is the Emacs structure for the display this frame is on. */ | 368 /* This is the Emacs structure for the display this frame is on. */ |
571 | 577 |
572 /* Trimming off a few pixels from each side prevents | 578 /* Trimming off a few pixels from each side prevents |
573 text from glomming up against the scroll bar */ | 579 text from glomming up against the scroll bar */ |
574 #define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) | 580 #define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) |
575 | 581 |
582 /* Size of hourglass controls */ | |
583 #define HOURGLASS_WIDTH 16 | |
584 #define HOURGLASS_HEIGHT 16 | |
585 | |
576 struct frame; | 586 struct frame; |
577 struct face; | 587 struct face; |
578 struct image; | 588 struct image; |
579 | 589 |
580 Lisp_Object display_x_get_resource P_ ((struct x_display_info *, | 590 Lisp_Object display_x_get_resource P_ ((struct x_display_info *, |
583 struct frame *check_x_frame P_ ((Lisp_Object)); | 593 struct frame *check_x_frame P_ ((Lisp_Object)); |
584 EXFUN (Fx_display_color_p, 1); | 594 EXFUN (Fx_display_color_p, 1); |
585 EXFUN (Fx_display_grayscale_p, 1); | 595 EXFUN (Fx_display_grayscale_p, 1); |
586 EXFUN (Fx_display_planes, 1); | 596 EXFUN (Fx_display_planes, 1); |
587 extern void x_free_gcs P_ ((struct frame *)); | 597 extern void x_free_gcs P_ ((struct frame *)); |
588 | |
589 void activate_scroll_bars (FRAME_PTR); | |
590 void deactivate_scroll_bars (FRAME_PTR); | |
591 | 598 |
592 /* Defined in macterm.c. */ | 599 /* Defined in macterm.c. */ |
593 | 600 |
594 extern void x_set_window_size P_ ((struct frame *, int, int, int)); | 601 extern void x_set_window_size P_ ((struct frame *, int, int, int)); |
595 extern void x_make_frame_visible P_ ((struct frame *)); | 602 extern void x_make_frame_visible P_ ((struct frame *)); |
618 extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *)); | 625 extern OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *)); |
619 extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int)); | 626 extern OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int)); |
620 extern void mac_clear_font_name_table P_ ((void)); | 627 extern void mac_clear_font_name_table P_ ((void)); |
621 #if TARGET_API_MAC_CARBON | 628 #if TARGET_API_MAC_CARBON |
622 extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); | 629 extern CFStringRef cfstring_create_with_utf8_cstring P_ ((const char *)); |
623 #endif | 630 extern Lisp_Object cfdata_to_lisp P_ ((CFDataRef)); |
631 extern Lisp_Object cfstring_to_lisp P_ ((CFStringRef)); | |
632 extern Lisp_Object cfnumber_to_lisp P_ ((CFNumberRef)); | |
633 extern Lisp_Object cfdate_to_lisp P_ ((CFDateRef)); | |
634 extern Lisp_Object cfboolean_to_lisp P_ ((CFBooleanRef)); | |
635 extern Lisp_Object cfobject_desc_to_lisp P_ ((CFTypeRef)); | |
636 extern Lisp_Object cfproperty_list_to_lisp P_ ((CFPropertyListRef, int, int)); | |
637 #endif | |
638 extern void xrm_merge_string_database P_ ((XrmDatabase, char *)); | |
639 extern Lisp_Object xrm_get_resource P_ ((XrmDatabase, char *, char *)); | |
640 extern XrmDatabase xrm_get_preference_database P_ ((char *)); | |
624 | 641 |
625 /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 | 642 /* arch-tag: 6b4ca125-5bef-476d-8ee8-31ed808b7e79 |
626 (do not change this comment) */ | 643 (do not change this comment) */ |