From 3bfd2d469042762e29fc0e9b5fc616fcf2bb0b54 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 5 Jan 2007 08:29:59 +0000 Subject: [PATCH] (struct _XGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color and cg_back_color. --- src/macgui.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/macgui.h b/src/macgui.h index 1ea53af59be..3a9913181de 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -244,6 +244,14 @@ typedef struct _XGC /* 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; -- 2.39.2