[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macgui.h
From: |
Steven Tamm |
Subject: |
[Emacs-diffs] Changes to emacs/src/macgui.h |
Date: |
Sat, 29 May 2004 20:27:58 -0400 |
Index: emacs/src/macgui.h
diff -c emacs/src/macgui.h:1.9 emacs/src/macgui.h:1.10
*** emacs/src/macgui.h:1.9 Thu Feb 26 17:46:47 2004
--- emacs/src/macgui.h Sun May 30 00:18:41 2004
***************
*** 57,71 ****
#undef init_process
#define init_process emacs_init_process
#undef INFINITY
- typedef struct OpaqueWindowPtr* Window;
#else
#include <QuickDraw.h> /* for WindowPtr */
#include <QDOffscreen.h> /* for GWorldPtr */
#include <Controls.h> /* for ControlHandle in xdisp.c */
! typedef WindowPtr Window;
#endif
typedef GWorldPtr Pixmap;
#define FACE_DEFAULT (~0)
--- 57,82 ----
#undef init_process
#define init_process emacs_init_process
#undef INFINITY
#else
#include <QuickDraw.h> /* for WindowPtr */
#include <QDOffscreen.h> /* for GWorldPtr */
#include <Controls.h> /* for ControlHandle in xdisp.c */
! #include <Gestalt.h>
#endif
typedef GWorldPtr Pixmap;
+
+ #if TARGET_API_MAC_CARBON
+ typedef struct OpaqueWindowPtr *Window;
+ #define Cursor ThemeCursor
+ #define No_Cursor (-1)
+ #else
+ typedef WindowPtr Window;
+ #define SetPortWindowPort(w) SetPort(w)
+ #define Cursor CursHandle
+ #define No_Cursor (0)
+ extern CursPtr arrow_cursor;
+ #endif
#define FACE_DEFAULT (~0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/macgui.h,
Steven Tamm <=