(CGFloat) [!CGFLOAT_DEFINED]: New typedef.
(mac_rect_make): New macro.
This commit is contained in:
parent
d421d4d8fc
commit
15364c8fb7
1 changed files with 5 additions and 0 deletions
|
@ -124,6 +124,10 @@ typedef unsigned long Time;
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CGFLOAT_DEFINED
|
||||
typedef float CGFloat;
|
||||
#endif
|
||||
|
||||
typedef WindowRef Window;
|
||||
#if TARGET_API_MAC_CARBON
|
||||
typedef ScrapRef Selection;
|
||||
|
@ -147,6 +151,7 @@ typedef int Selection;
|
|||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue