diff options
| author | YAMAMOTO Mitsuharu | 2007-01-05 08:29:59 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2007-01-05 08:29:59 +0000 |
| commit | 3bfd2d469042762e29fc0e9b5fc616fcf2bb0b54 (patch) | |
| tree | 21efa2e31a5d87621324689ffaaf926af769b336 /src/macgui.h | |
| parent | 31cfeedea934754338282147df8db3e1b27f4c21 (diff) | |
| download | emacs-3bfd2d469042762e29fc0e9b5fc616fcf2bb0b54.tar.gz emacs-3bfd2d469042762e29fc0e9b5fc616fcf2bb0b54.zip | |
(struct _XGC) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
and cg_back_color.
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 | |||
| 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; |