diff options
author | das <das> | 2006-03-24 14:58:00 (GMT) |
---|---|---|
committer | das <das> | 2006-03-24 14:58:00 (GMT) |
commit | 870bc114d9c7780cfe7af2f8f430c232602db6c8 (patch) | |
tree | 08e05421fec5d0674503f27d0f1901dea3ffec28 /macosx/tkMacOSXInt.h | |
parent | 489d54fcecc142a1feb7d87c793d721875294291 (diff) | |
download | tk-870bc114d9c7780cfe7af2f8f430c232602db6c8.zip tk-870bc114d9c7780cfe7af2f8f430c232602db6c8.tar.gz tk-870bc114d9c7780cfe7af2f8f430c232602db6c8.tar.bz2 |
* generic/tkTextDisp.c: moved #ifdef MAC_OSX_TK code added by
* macosx/tkMacOSXColor.c: Patch #638966 into platform specific
* macosx/tkMacOSXInt.h: files.
* macosx/tkMacOSX.h: cleaned up & rationalized order of
* macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers.
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXCarbonEvents.c:
* macosx/tkMacOSXClipboard.c:
* macosx/tkMacOSXColor.c:
* macosx/tkMacOSXConfig.c:
* macosx/tkMacOSXCursor.c:
* macosx/tkMacOSXDialog.c:
* macosx/tkMacOSXDraw.c:
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXEntry.c:
* macosx/tkMacOSXEvent.c:
* macosx/tkMacOSXEvent.h:
* macosx/tkMacOSXFont.h:
* macosx/tkMacOSXHLEvents.c:
* macosx/tkMacOSXInit.c:
* macosx/tkMacOSXInt.h:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c:
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenubutton.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXMouseEvent.c:
* macosx/tkMacOSXRegion.c:
* macosx/tkMacOSXScale.c:
* macosx/tkMacOSXScrlbr.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXWm.h:
* macosx/tkMacOSXXStubs.c:
Diffstat (limited to 'macosx/tkMacOSXInt.h')
-rw-r--r-- | macosx/tkMacOSXInt.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/macosx/tkMacOSXInt.h b/macosx/tkMacOSXInt.h index efe0829..8fd36a8 100644 --- a/macosx/tkMacOSXInt.h +++ b/macosx/tkMacOSXInt.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXInt.h,v 1.13 2005/12/08 05:04:15 das Exp $ + * RCS: @(#) $Id: tkMacOSXInt.h,v 1.14 2006/03/24 14:58:01 das Exp $ */ #ifndef _TKMACINT @@ -19,6 +19,10 @@ #include "tkInt.h" #endif +#define TextStyle MacTextStyle +#include <Carbon/Carbon.h> +#undef TextStyle + /* * Include platform specific public interfaces. */ @@ -27,12 +31,6 @@ #include "tkMacOSX.h" #endif -#ifndef _TKPORT -#include "tkPort.h" -#endif - -#include <Carbon/Carbon.h> - struct TkWindowPrivate { TkWindow *winPtr; /* Ptr to tk window or NULL if Pixmap */ CGrafPtr grafPtr; @@ -120,6 +118,13 @@ MODULE_SCOPE TkMacOSXEmbedHandler *gMacEmbedHandler; #define TK_BOTH_CHANGED 3 /* + * Defines for tkTextDisp.c + */ + +#define TK_LAYOUT_WITH_BASE_CHUNKS 1 +#define TK_DRAW_IN_CONTEXT 1 + +/* * Variables shared among various Mac Tk modules but are not * exported to the outside world. */ @@ -162,6 +167,7 @@ MODULE_SCOPE void TkMacOSXDefaultStartupScript(void); MODULE_SCOPE int TkMacOSXGenerateFocusEvent( Window window, int activeFlag); MODULE_SCOPE WindowClass TkMacOSXWindowClass(TkWindow *winPtr); MODULE_SCOPE void* TkMacOSXGetNamedSymbol(const char* module, const char* symbol); +MODULE_SCOPE int TkMacOSXCompareColors(unsigned long c1, unsigned long c2); /* Macro to abstract common use of TkMacOSXGetNamedSymbol to initialize named symbols */ #define TkMacOSXInitNamedSymbol(module, ret, symbol, ...) \ |