diff options
Diffstat (limited to 'src/macgui.h')
| -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 c549a885f48..41ac28f49ec 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -126,6 +126,10 @@ typedef unsigned long Time; | |||
| 126 | #endif | 126 | #endif |
| 127 | #endif | 127 | #endif |
| 128 | 128 | ||
| 129 | #ifndef CGFLOAT_DEFINED | ||
| 130 | typedef float CGFloat; | ||
| 131 | #endif | ||
| 132 | |||
| 129 | typedef WindowRef Window; | 133 | typedef WindowRef Window; |
| 130 | #if TARGET_API_MAC_CARBON | 134 | #if TARGET_API_MAC_CARBON |
| 131 | typedef ScrapRef Selection; | 135 | typedef ScrapRef Selection; |
| @@ -149,6 +153,7 @@ typedef int Selection; | |||
| 149 | #define mac_size_window SizeWindow | 153 | #define mac_size_window SizeWindow |
| 150 | #define mac_get_global_mouse GetGlobalMouse | 154 | #define mac_get_global_mouse GetGlobalMouse |
| 151 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible | 155 | #define mac_is_window_toolbar_visible IsWindowToolbarVisible |
| 156 | #define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) | ||
| 152 | typedef GWorldPtr Pixmap; | 157 | typedef GWorldPtr Pixmap; |
| 153 | 158 | ||
| 154 | #define Cursor ThemeCursor | 159 | #define Cursor ThemeCursor |