# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1208568297 0 # Node ID fbe5484e75556fe515608e7e31f810afa3644ff5 # Parent e58dfb854c068c50c8a1efefb6b06c8070daf624 (CGFloat) [!CGFLOAT_DEFINED]: New typedef. (mac_rect_make): New macro. diff -r e58dfb854c06 -r fbe5484e7555 src/macgui.h --- a/src/macgui.h Sat Apr 19 01:24:47 2008 +0000 +++ b/src/macgui.h Sat Apr 19 01:24:57 2008 +0000 @@ -124,6 +124,10 @@ #endif #endif +#ifndef CGFLOAT_DEFINED +typedef float CGFloat; +#endif + typedef WindowRef Window; #if TARGET_API_MAC_CARBON typedef ScrapRef Selection; @@ -147,6 +151,7 @@ #define mac_size_window SizeWindow #define mac_get_global_mouse GetGlobalMouse #define mac_is_window_toolbar_visible IsWindowToolbarVisible +#define mac_rect_make(f, x, y, w, h) CGRectMake (x, y, w, h) typedef GWorldPtr Pixmap; #define Cursor ThemeCursor