mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
ThemeCursor instead of CursHandle.
This commit is contained in:
parent
901a6b035e
commit
2f063626d3
@ -68,22 +68,17 @@ typedef unsigned long Time;
|
|||||||
#else /* not HAVE_CARBON */
|
#else /* not HAVE_CARBON */
|
||||||
#include <QuickDraw.h> /* for WindowPtr */
|
#include <QuickDraw.h> /* for WindowPtr */
|
||||||
#include <QDOffscreen.h> /* for GWorldPtr */
|
#include <QDOffscreen.h> /* for GWorldPtr */
|
||||||
|
#include <Appearance.h> /* for ThemeCursor */
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
#include <Controls.h>
|
||||||
#include <Gestalt.h>
|
#include <Gestalt.h>
|
||||||
#endif /* not HAVE_CARBON */
|
#endif /* not HAVE_CARBON */
|
||||||
|
|
||||||
typedef WindowPtr Window;
|
typedef WindowPtr Window;
|
||||||
typedef GWorldPtr Pixmap;
|
typedef GWorldPtr Pixmap;
|
||||||
|
|
||||||
#if TARGET_API_MAC_CARBON
|
|
||||||
#define Cursor ThemeCursor
|
#define Cursor ThemeCursor
|
||||||
#define No_Cursor (-1)
|
#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)
|
#define FACE_DEFAULT (~0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user