mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-29 17:53:57 -07:00
[USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1.
This commit is contained in:
parent
1599821a5c
commit
58826ef713
1 changed files with 12 additions and 6 deletions
18
src/macgui.h
18
src/macgui.h
|
|
@ -79,6 +79,18 @@ typedef unsigned long Time;
|
|||
#include <Gestalt.h>
|
||||
#endif /* not HAVE_CARBON */
|
||||
|
||||
#ifndef USE_CG_TEXT_DRAWING
|
||||
#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
|
||||
#define USE_CG_TEXT_DRAWING 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef USE_CG_DRAWING
|
||||
#if USE_ATSUI && defined (MAC_OSX)
|
||||
#define USE_CG_DRAWING 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef WindowPtr Window;
|
||||
typedef GWorldPtr Pixmap;
|
||||
|
||||
|
|
@ -92,12 +104,6 @@ typedef GWorldPtr Pixmap;
|
|||
#endif
|
||||
|
||||
|
||||
#ifndef USE_CG_TEXT_DRAWING
|
||||
#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030
|
||||
#define USE_CG_TEXT_DRAWING 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Emulate XCharStruct. */
|
||||
typedef struct _XCharStruct
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue