Mercurial > emacs
comparison src/macgui.h @ 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 | fa67beba36e1 |
children | ad5ff45b52ef |
comparison
equal
deleted
inserted
replaced
75097:5e8caf6183ec | 75098:979156e19838 |
---|---|
242 RGBColor fore_color; | 242 RGBColor fore_color; |
243 | 243 |
244 /* QuickDraw background color. */ | 244 /* QuickDraw background color. */ |
245 RGBColor back_color; | 245 RGBColor back_color; |
246 | 246 |
247 #if USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
248 /* Quartz 2D foreground color. */ | |
249 CGColorRef cg_fore_color; | |
250 | |
251 /* Quartz 2D background color. */ | |
252 CGColorRef cg_back_color; | |
253 #endif | |
254 | |
247 #define MAX_CLIP_RECTS 2 | 255 #define MAX_CLIP_RECTS 2 |
248 /* Number of clipping rectangles. */ | 256 /* Number of clipping rectangles. */ |
249 int n_clip_rects; | 257 int n_clip_rects; |
250 | 258 |
251 /* QuickDraw clipping region. Ignored if n_clip_rects == 0. */ | 259 /* QuickDraw clipping region. Ignored if n_clip_rects == 0. */ |