[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
ThemeCursor instead of CursHandle.
This commit is contained in:
parent
901a6b035e
commit
2f063626d3
1 changed files with 2 additions and 7 deletions
|
@ -68,22 +68,17 @@ typedef unsigned long Time;
|
|||
#else /* not HAVE_CARBON */
|
||||
#include <QuickDraw.h> /* for WindowPtr */
|
||||
#include <QDOffscreen.h> /* for GWorldPtr */
|
||||
#include <Appearance.h> /* for ThemeCursor */
|
||||
#include <Windows.h>
|
||||
#include <Controls.h>
|
||||
#include <Gestalt.h>
|
||||
#endif /* not HAVE_CARBON */
|
||||
|
||||
typedef WindowPtr Window;
|
||||
typedef GWorldPtr Pixmap;
|
||||
|
||||
#if TARGET_API_MAC_CARBON
|
||||
#define Cursor ThemeCursor
|
||||
#define No_Cursor (-1)
|
||||
#else
|
||||
#define SetPortWindowPort(w) SetPort(w)
|
||||
#define Cursor CursHandle
|
||||
#define No_Cursor (0)
|
||||
extern CursPtr arrow_cursor;
|
||||
#endif
|
||||
|
||||
#define FACE_DEFAULT (~0)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue