diff options
| author | Miles Bader | 2008-04-23 05:55:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-04-23 05:55:42 +0000 |
| commit | a113b3ca322fd73d97d0d9d69c9f48dc13fb326a (patch) | |
| tree | 37b3ad22a198a83f68738ef86aec187bb6d926d9 /src/macgui.h | |
| parent | e96a8d6dc0ffc35cf6c02924de2453c69fa8f6fe (diff) | |
| parent | 81fe843b5a3cc7708e0800aeb5bc0dbe448e800a (diff) | |
| download | emacs-a113b3ca322fd73d97d0d9d69c9f48dc13fb326a.tar.gz emacs-a113b3ca322fd73d97d0d9d69c9f48dc13fb326a.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
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 |