Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/macterm.h Sun Mar 12 08:20:37 2006 +0000 +++ b/src/macterm.h Sun Mar 12 08:20:44 2006 +0000 @@ -334,6 +334,11 @@ /* Hints for the size and the position of a window. */ XSizeHints *size_hints; + +#if USE_CG_DRAWING + /* Quartz 2D graphics context. */ + CGContextRef cg_context; +#endif }; typedef struct mac_output mac_output; @@ -566,6 +571,9 @@ extern OSErr install_window_handler P_ ((WindowPtr)); extern void remove_window_handler P_ ((WindowPtr)); extern Lisp_Object mac_make_lispy_event_code P_ ((int)); +#if USE_CG_DRAWING +extern void mac_prepare_for_quickdraw P_ ((struct frame *)); +#endif #define FONT_TYPE_FOR_UNIBYTE(font, ch) 0 #define FONT_TYPE_FOR_MULTIBYTE(font, ch) 0
