[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/macterm.c
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/macterm.c |
Date: |
Thu, 03 Feb 2005 06:57:37 -0500 |
Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.101 emacs/src/macterm.c:1.102
*** emacs/src/macterm.c:1.101 Sun Jan 30 16:39:15 2005
--- emacs/src/macterm.c Thu Feb 3 11:57:36 2005
***************
*** 729,735 ****
int nchars, mode, bytes_per_char;
{
SetPortWindowPort (w);
! #ifdef MAC_OS_X_VERSION_10_2
UInt32 textFlags, savedFlags;
if (!NILP(Vmac_use_core_graphics)) {
textFlags = kQDUseCGTextRendering;
--- 729,735 ----
int nchars, mode, bytes_per_char;
{
SetPortWindowPort (w);
! #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
UInt32 textFlags, savedFlags;
if (!NILP(Vmac_use_core_graphics)) {
textFlags = kQDUseCGTextRendering;
***************
*** 746,752 ****
MoveTo (x, y);
DrawText (buf, 0, nchars * bytes_per_char);
! #ifdef MAC_OS_X_VERSION_10_2
if (!NILP(Vmac_use_core_graphics))
SwapQDTextFlags(savedFlags);
#endif
--- 746,752 ----
MoveTo (x, y);
DrawText (buf, 0, nchars * bytes_per_char);
! #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
if (!NILP(Vmac_use_core_graphics))
SwapQDTextFlags(savedFlags);
#endif
***************
*** 5451,5457 ****
else
RepositionWindow (FRAME_MAC_WINDOW (f),
FRAME_MAC_WINDOW (sf),
! #ifdef MAC_OS_X_VERSION_10_2
kWindowCascadeStartAtParentWindowScreen
#else
kWindowCascadeOnParentWindowScreen
--- 5451,5457 ----
else
RepositionWindow (FRAME_MAC_WINDOW (f),
FRAME_MAC_WINDOW (sf),
! #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1020
kWindowCascadeStartAtParentWindowScreen
#else
kWindowCascadeOnParentWindowScreen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/macterm.c,
YAMAMOTO Mitsuharu <=