diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h index 1f4e454c714..c1558e98bfe 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -124,6 +124,10 @@ typedef unsigned long Time; | |||
| 124 | #endif | 124 | #endif |
| 125 | #endif | 125 | #endif |
| 126 | 126 | ||
| 127 | #ifndef CGFLOAT_DEFINED | ||
| 128 | typedef float CGFloat; | ||
| 129 | #endif | ||
| 130 | |||
| 127 | typedef WindowRef Window; | 131 | typedef WindowRef Window; |
| 128 | #if TARGET_API_MAC_CARBON | 132 | #if TARGET_API_MAC_CARBON |
| 129 | typedef ScrapRef Selection; | 133 | typedef ScrapRef Selection; |
| @@ -147,6 +151,7 @@ typedef int Selection; | |||
| 147 | #define mac_size_window SizeWindow | 151 | #define mac_size_window SizeWindow |
| 148 | #define mac_get_global_mouse GetGlobalMouse | 152 | #define mac_get_global_mouse GetGlobalMouse |
| 149 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible | 153 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible |
| 154 | #define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) | ||
| 150 | typedef GWorldPtr Pixmap; | 155 | typedef GWorldPtr Pixmap; |
| 151 | 156 | ||
| 152 | #define Cursor ThemeCursor | 157 | #define Cursor ThemeCursor |