Mercurial > emacs
comparison src/macterm.h @ 69434:8eb564c8e819
(struct mac_output) [USE_CG_DRAWING]: New member cg_context.
(mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 12 Mar 2006 08:20:44 +0000 |
parents | 65ed574e7a16 |
children | e8a7cef5ffb5 203c9b24206b a802c5505156 |
comparison
equal
deleted
inserted
replaced
69433:a8fd29f179b0 | 69434:8eb564c8e819 |
---|---|
332 They are changed only when a different background is involved. */ | 332 They are changed only when a different background is involved. */ |
333 unsigned long relief_background; | 333 unsigned long relief_background; |
334 | 334 |
335 /* Hints for the size and the position of a window. */ | 335 /* Hints for the size and the position of a window. */ |
336 XSizeHints *size_hints; | 336 XSizeHints *size_hints; |
337 | |
338 #if USE_CG_DRAWING | |
339 /* Quartz 2D graphics context. */ | |
340 CGContextRef cg_context; | |
341 #endif | |
337 }; | 342 }; |
338 | 343 |
339 typedef struct mac_output mac_output; | 344 typedef struct mac_output mac_output; |
340 | 345 |
341 /* Return the X output data for frame F. */ | 346 /* Return the X output data for frame F. */ |
564 unsigned int, unsigned int)); | 569 unsigned int, unsigned int)); |
565 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); | 570 extern void mac_unload_font P_ ((struct mac_display_info *, XFontStruct *)); |
566 extern OSErr install_window_handler P_ ((WindowPtr)); | 571 extern OSErr install_window_handler P_ ((WindowPtr)); |
567 extern void remove_window_handler P_ ((WindowPtr)); | 572 extern void remove_window_handler P_ ((WindowPtr)); |
568 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); | 573 extern Lisp_Object mac_make_lispy_event_code P_ ((int)); |
574 #if USE_CG_DRAWING | |
575 extern void mac_prepare_for_quickdraw P_ ((struct frame *)); | |
576 #endif | |
569 | 577 |
570 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 | 578 #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 |
571 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 | 579 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0 |
572 | 580 |
573 #define TYPE_FILE_NAME 'fNam' | 581 #define TYPE_FILE_NAME 'fNam' |