diff options
| author | YAMAMOTO Mitsuharu | 2008-04-19 01:24:57 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2008-04-19 01:24:57 +0000 |
| commit | 15364c8fb7286984e2b18e927f8957a63107129e (patch) | |
| tree | 30811803fc9aed4417853786f303cc16c2ff1cde /src | |
| parent | d421d4d8fccc7f49bceae903014413c15ce6b097 (diff) | |
| download | emacs-15364c8fb7286984e2b18e927f8957a63107129e.tar.gz emacs-15364c8fb7286984e2b18e927f8957a63107129e.zip | |
(CGFloat) [!CGFLOAT_DEFINED]: New typedef.
(mac_rect_make): New macro.
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 |