comparison src/macgui.h @ 81156:9ced7a45e259

Replace WindowPtr with WindowRef.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 06 Jun 2007 08:32:23 +0000
parents 3d45362f1d38
children c5c3c338808a e9f94688a064
comparison
equal deleted inserted replaced
81155:6a7b94200117 81156:9ced7a45e259
69 #include <Carbon.h> 69 #include <Carbon.h>
70 #endif /* not MAC_OSX */ 70 #endif /* not MAC_OSX */
71 #undef Z 71 #undef Z
72 #define Z (current_buffer->text->z) 72 #define Z (current_buffer->text->z)
73 #else /* not HAVE_CARBON */ 73 #else /* not HAVE_CARBON */
74 #include <QuickDraw.h> /* for WindowPtr */ 74 #include <QuickDraw.h> /* for WindowRef */
75 #include <QDOffscreen.h> /* for GWorldPtr */ 75 #include <QDOffscreen.h> /* for GWorldPtr */
76 #include <Appearance.h> /* for ThemeCursor */ 76 #include <Appearance.h> /* for ThemeCursor */
77 #include <Windows.h> 77 #include <Windows.h>
78 #include <Controls.h> 78 #include <Controls.h>
79 #include <Gestalt.h> 79 #include <Gestalt.h>
115 #if TARGET_API_MAC_CARBON 115 #if TARGET_API_MAC_CARBON
116 #define USE_MAC_TSM 1 116 #define USE_MAC_TSM 1
117 #endif 117 #endif
118 #endif 118 #endif
119 119
120 typedef WindowPtr Window; 120 typedef WindowRef Window;
121 typedef GWorldPtr Pixmap; 121 typedef GWorldPtr Pixmap;
122 122
123 #define Cursor ThemeCursor 123 #define Cursor ThemeCursor
124 #define No_Cursor (-1) 124 #define No_Cursor (-1)
125 125