diff options
| author | YAMAMOTO Mitsuharu | 2005-03-16 03:27:38 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-03-16 03:27:38 +0000 |
| commit | 2f063626d3398bbe02ca76e11be49c2f40c1a460 (patch) | |
| tree | 8d52d97a705bbca0f0ba7ad2fc533729e4d8b65f /src/macgui.h | |
| parent | 901a6b035e69b9b8630dd4b756201a8f96cce348 (diff) | |
| download | emacs-2f063626d3398bbe02ca76e11be49c2f40c1a460.tar.gz emacs-2f063626d3398bbe02ca76e11be49c2f40c1a460.zip | |
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
ThemeCursor instead of CursHandle.
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/macgui.h b/src/macgui.h index 6a961318b76..9cddd8101e7 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -68,22 +68,17 @@ typedef unsigned long Time; | |||
| 68 | #else /* not HAVE_CARBON */ | 68 | #else /* not HAVE_CARBON */ |
| 69 | #include <QuickDraw.h> /* for WindowPtr */ | 69 | #include <QuickDraw.h> /* for WindowPtr */ |
| 70 | #include <QDOffscreen.h> /* for GWorldPtr */ | 70 | #include <QDOffscreen.h> /* for GWorldPtr */ |
| 71 | #include <Appearance.h> /* for ThemeCursor */ | ||
| 71 | #include <Windows.h> | 72 | #include <Windows.h> |
| 73 | #include <Controls.h> | ||
| 72 | #include <Gestalt.h> | 74 | #include <Gestalt.h> |
| 73 | #endif /* not HAVE_CARBON */ | 75 | #endif /* not HAVE_CARBON */ |
| 74 | 76 | ||
| 75 | typedef WindowPtr Window; | 77 | typedef WindowPtr Window; |
| 76 | typedef GWorldPtr Pixmap; | 78 | typedef GWorldPtr Pixmap; |
| 77 | 79 | ||
| 78 | #if TARGET_API_MAC_CARBON | ||
| 79 | #define Cursor ThemeCursor | 80 | #define Cursor ThemeCursor |
| 80 | #define No_Cursor (-1) | 81 | #define No_Cursor (-1) |
| 81 | #else | ||
| 82 | #define SetPortWindowPort(w) SetPort(w) | ||
| 83 | #define Cursor CursHandle | ||
| 84 | #define No_Cursor (0) | ||
| 85 | extern CursPtr arrow_cursor; | ||
| 86 | #endif | ||
| 87 | 82 | ||
| 88 | #define FACE_DEFAULT (~0) | 83 | #define FACE_DEFAULT (~0) |
| 89 | 84 | ||