changeset 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 a8fd29f179b0
children 31af939b2c41
files src/macterm.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
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