diff options
Diffstat (limited to 'src')
| -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 | ||