diff options
| author | YAMAMOTO Mitsuharu | 2006-03-12 08:20:24 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-03-12 08:20:24 +0000 |
| commit | 58826ef7132ee12ecddc391df121a27666c5fca6 (patch) | |
| tree | 3a24a73d23dcb3dfed7cc3be890589925d8244cb /src | |
| parent | 1599821a5c8d6eee6066a0cfb497eaba7fc579e7 (diff) | |
| download | emacs-58826ef7132ee12ecddc391df121a27666c5fca6.tar.gz emacs-58826ef7132ee12ecddc391df121a27666c5fca6.zip | |
[USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/macgui.h b/src/macgui.h index a84fea1ae91..7eb6c9942ab 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -79,6 +79,18 @@ typedef unsigned long Time; | |||
| 79 | #include <Gestalt.h> | 79 | #include <Gestalt.h> |
| 80 | #endif /* not HAVE_CARBON */ | 80 | #endif /* not HAVE_CARBON */ |
| 81 | 81 | ||
| 82 | #ifndef USE_CG_TEXT_DRAWING | ||
| 83 | #if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | ||
| 84 | #define USE_CG_TEXT_DRAWING 1 | ||
| 85 | #endif | ||
| 86 | #endif | ||
| 87 | |||
| 88 | #ifndef USE_CG_DRAWING | ||
| 89 | #if USE_ATSUI && defined (MAC_OSX) | ||
| 90 | #define USE_CG_DRAWING 1 | ||
| 91 | #endif | ||
| 92 | #endif | ||
| 93 | |||
| 82 | typedef WindowPtr Window; | 94 | typedef WindowPtr Window; |
| 83 | typedef GWorldPtr Pixmap; | 95 | typedef GWorldPtr Pixmap; |
| 84 | 96 | ||
| @@ -92,12 +104,6 @@ typedef GWorldPtr Pixmap; | |||
| 92 | #endif | 104 | #endif |
| 93 | 105 | ||
| 94 | 106 | ||
| 95 | #ifndef USE_CG_TEXT_DRAWING | ||
| 96 | #if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | ||
| 97 | #define USE_CG_TEXT_DRAWING 1 | ||
| 98 | #endif | ||
| 99 | #endif | ||
| 100 | |||
| 101 | /* Emulate XCharStruct. */ | 107 | /* Emulate XCharStruct. */ |
| 102 | typedef struct _XCharStruct | 108 | typedef struct _XCharStruct |
| 103 | { | 109 | { |