changeset 75098:979156e19838

(struct _XGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color and cg_back_color.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 05 Jan 2007 08:29:59 +0000
parents 5e8caf6183ec
children 75f560bd7282
files src/macgui.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macgui.h	Fri Jan 05 08:29:51 2007 +0000
+++ b/src/macgui.h	Fri Jan 05 08:29:59 2007 +0000
@@ -244,6 +244,14 @@
   /* QuickDraw background color.  */
   RGBColor back_color;
 
+#if USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
+  /* Quartz 2D foreground color.  */
+  CGColorRef cg_fore_color;
+
+  /* Quartz 2D background color.  */
+  CGColorRef cg_back_color;
+#endif
+
 #define MAX_CLIP_RECTS 2
   /* Number of clipping rectangles.  */
   int n_clip_rects;