1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use

ThemeCursor instead of CursHandle.
This commit is contained in:
YAMAMOTO Mitsuharu 2005-03-16 03:27:38 +00:00
parent 901a6b035e
commit 2f063626d3

View File

@ -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)