57 |
#undef init_process |
#undef init_process |
58 |
#define init_process emacs_init_process |
#define init_process emacs_init_process |
59 |
#undef INFINITY |
#undef INFINITY |
|
typedef struct OpaqueWindowPtr* Window; |
|
60 |
#else |
#else |
61 |
#include <QuickDraw.h> /* for WindowPtr */ |
#include <QuickDraw.h> /* for WindowPtr */ |
62 |
#include <QDOffscreen.h> /* for GWorldPtr */ |
#include <QDOffscreen.h> /* for GWorldPtr */ |
63 |
#include <Controls.h> /* for ControlHandle in xdisp.c */ |
#include <Controls.h> /* for ControlHandle in xdisp.c */ |
64 |
typedef WindowPtr Window; |
#include <Gestalt.h> |
65 |
#endif |
#endif |
66 |
|
|
67 |
typedef GWorldPtr Pixmap; |
typedef GWorldPtr Pixmap; |
68 |
|
|
69 |
|
#if TARGET_API_MAC_CARBON |
70 |
|
typedef struct OpaqueWindowPtr *Window; |
71 |
|
#define Cursor ThemeCursor |
72 |
|
#define No_Cursor (-1) |
73 |
|
#else |
74 |
|
typedef WindowPtr Window; |
75 |
|
#define SetPortWindowPort(w) SetPort(w) |
76 |
|
#define Cursor CursHandle |
77 |
|
#define No_Cursor (0) |
78 |
|
extern CursPtr arrow_cursor; |
79 |
|
#endif |
80 |
|
|
81 |
#define FACE_DEFAULT (~0) |
#define FACE_DEFAULT (~0) |
82 |
|
|
83 |
|
|