diff options
author | das <das> | 2006-04-28 06:02:57 (GMT) |
---|---|---|
committer | das <das> | 2006-04-28 06:02:57 (GMT) |
commit | 7082b71f45c55fa8460b37254ca0b47f42c2adf1 (patch) | |
tree | 5b3992c68a12ca95ff81a211d111286d7c82c2e0 /macosx/tkMacOSXDebug.h | |
parent | fb1dd7d7db4f17aa2f7d203c90974bc6b0b983e0 (diff) | |
download | tk-7082b71f45c55fa8460b37254ca0b47f42c2adf1.zip tk-7082b71f45c55fa8460b37254ca0b47f42c2adf1.tar.gz tk-7082b71f45c55fa8460b37254ca0b47f42c2adf1.tar.bz2 |
* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of
potentially stale window position in initial configure event on first
map of a window. [Bug 1476443]
(TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new
internal function to generate button events for current pointer
directly, without requiring prior call to XQueryPointer().
* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of
window-local pointer position.
* macosx/tkMacOSXInt.h: use improvements above to avoid calls to
* macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might
* macosx/tkMacOSXMenu.c: not be set correctly. May fix [Bug 1243318]
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXScrlbr.c:
* tkAboutDlg.r: update copyright.
* macosx/tkMacOSXCarbonEvents.c: sync with HEAD
* macosx/tkMacOSXDebug.c:
* macosx/tkMacOSXDebug.h:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXEvent.c:
* macosx/tkMacOSXEvent.h:
* macosx/tkMacOSXFont.h:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenubutton.c:
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXTest.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
Diffstat (limited to 'macosx/tkMacOSXDebug.h')
-rw-r--r-- | macosx/tkMacOSXDebug.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h index df3c00c..d3d0d67 100644 --- a/macosx/tkMacOSXDebug.h +++ b/macosx/tkMacOSXDebug.h @@ -50,36 +50,34 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.5 2006/01/10 05:38:20 das Exp $ + * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.6 2006/04/28 06:02:59 das Exp $ */ #ifndef _TKMACDEBUG #define _TKMACDEBUG -#ifndef _TKINT -#include "tkInt.h" +#ifndef _TKMACINT +#include "tkMacOSXInt.h" #endif -#include <Carbon/Carbon.h> - /* The following define enables printing of debug messages to stderr: */ /* #define TK_MAC_DEBUG 1 */ #ifdef TK_MAC_DEBUG -char * CarbonEventToAscii(EventRef eventRef, char * buf ); -char * ClassicEventToAscii(EventRecord * eventPtr, char * buf ); +MODULE_SCOPE char * CarbonEventToAscii(EventRef eventRef, char * buf ); +MODULE_SCOPE char * ClassicEventToAscii(EventRecord * eventPtr, char * buf ); -void printRect(char * tag, Rect * r ); -void printPoint(char * tag, Point * p ); +MODULE_SCOPE void printRect(char * tag, Rect * r ); +MODULE_SCOPE void printPoint(char * tag, Point * p ); -void printRegion(char * tag, RgnHandle rgn ); -void printWindowTitle(char * tag, WindowRef window ); -char * TkMacOSXMenuMessageToAscii(int msg, char * s); +MODULE_SCOPE void printRegion(char * tag, RgnHandle rgn ); +MODULE_SCOPE void printWindowTitle(char * tag, WindowRef window ); +MODULE_SCOPE char * TkMacOSXMenuMessageToAscii(int msg, char * s); -char * MouseTrackingResultToAscii(MouseTrackingResult r, char * buf ); +MODULE_SCOPE char * MouseTrackingResultToAscii(MouseTrackingResult r, char * buf ); -void * TkMacOSXGetNamedDebugSymbol(const char* module, const char* symbol); +MODULE_SCOPE void* TkMacOSXGetNamedDebugSymbol(const char* module, const char* symbol); /* Macro to abstract common use of TkMacOSXGetNamedDebugSymbol to initialize named symbols */ #define TkMacOSXInitNamedDebugSymbol(module, ret, symbol, ...) \ |