diff options
author | das <das> | 2001-11-23 02:04:08 (GMT) |
---|---|---|
committer | das <das> | 2001-11-23 02:04:08 (GMT) |
commit | cb712f9a18ebfed19cd438c13a813f366c43a6ee (patch) | |
tree | 0d0864ac4fc0b0ff178f5869f1600d2c584109c8 /generic/tkStubInit.c | |
parent | 89318873320d4f8c0c6cb9845a2072645524de4f (diff) | |
download | tk-cb712f9a18ebfed19cd438c13a813f366c43a6ee.zip tk-cb712f9a18ebfed19cd438c13a813f366c43a6ee.tar.gz tk-cb712f9a18ebfed19cd438c13a813f366c43a6ee.tar.bz2 |
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435660)
see ChangeLog for details
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 103 |
1 files changed, 12 insertions, 91 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 9710089..2d3a211 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkStubInit.c,v 1.28 2001/09/26 20:25:17 pspjuth Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.29 2001/11/23 02:07:07 das Exp $ */ #include "tkInt.h" @@ -223,15 +223,7 @@ TkIntStubs tkIntStubs = { #ifdef MAC_TCL TkUnionRectWithRegion, /* 119 */ #endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 120 */ -#endif /* UNIX */ -#ifdef __WIN32__ - NULL, /* 120 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkGenerateActivateEvents, /* 120 */ -#endif /* MAC_TCL */ #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 121 */ #endif /* UNIX */ @@ -250,15 +242,7 @@ TkIntStubs tkIntStubs = { #ifdef MAC_TCL TkpDefineNativeBitmaps, /* 122 */ #endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - NULL, /* 123 */ -#endif /* UNIX */ -#ifdef __WIN32__ NULL, /* 123 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkpGetMS, /* 123 */ -#endif /* MAC_TCL */ #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 124 */ #endif /* UNIX */ @@ -268,80 +252,16 @@ TkIntStubs tkIntStubs = { #ifdef MAC_TCL TkpGetNativeAppBitmap, /* 124 */ #endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - NULL, /* 125 */ -#endif /* UNIX */ -#ifdef __WIN32__ NULL, /* 125 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkPointerDeadWindow, /* 125 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 126 */ -#endif /* UNIX */ -#ifdef __WIN32__ - NULL, /* 126 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkpSetCapture, /* 126 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - NULL, /* 127 */ -#endif /* UNIX */ -#ifdef __WIN32__ NULL, /* 127 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkpSetCursor, /* 127 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 128 */ -#endif /* UNIX */ -#ifdef __WIN32__ - NULL, /* 128 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkpWmSetState, /* 128 */ -#endif /* MAC_TCL */ NULL, /* 129 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - NULL, /* 130 */ -#endif /* UNIX */ -#ifdef __WIN32__ NULL, /* 130 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkGetTransientMaster, /* 130 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 131 */ -#endif /* UNIX */ -#ifdef __WIN32__ - NULL, /* 131 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkGenerateButtonEvent, /* 131 */ -#endif /* MAC_TCL */ NULL, /* 132 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ NULL, /* 133 */ -#endif /* UNIX */ -#ifdef __WIN32__ - NULL, /* 133 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkGenWMDestroyEvent, /* 133 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - NULL, /* 134 */ -#endif /* UNIX */ -#ifdef __WIN32__ NULL, /* 134 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkGenWMConfigureEvent, /* 134 */ -#endif /* MAC_TCL */ TkpDrawHighlightBorder, /* 135 */ TkSetFocusWin, /* 136 */ TkpSetKeycodeAndState, /* 137 */ @@ -402,8 +322,8 @@ TkIntPlatStubs tkIntPlatStubs = { #endif /* __WIN32__ */ #ifdef MAC_TCL TkGenerateActivateEvents, /* 0 */ - TkpCreateNativeBitmap, /* 1 */ - TkpDefineNativeBitmaps, /* 2 */ + NULL, /* 1 */ + NULL, /* 2 */ TkpGetMS, /* 3 */ NULL, /* 4 */ TkPointerDeadWindow, /* 5 */ @@ -418,27 +338,27 @@ TkIntPlatStubs tkIntPlatStubs = { TkGenerateButtonEvent, /* 14 */ NULL, /* 15 */ TkGenWMDestroyEvent, /* 16 */ - TkGenWMConfigureEvent, /* 17 */ + NULL, /* 17 */ TkMacButtonKeyState, /* 18 */ TkMacClearMenubarActive, /* 19 */ - TkMacConvertEvent, /* 20 */ + NULL, /* 20 */ TkMacDispatchMenuEvent, /* 21 */ TkMacInstallCursor, /* 22 */ - TkMacConvertTkEvent, /* 23 */ + NULL, /* 23 */ TkMacHandleTearoffMenu, /* 24 */ NULL, /* 25 */ - TkMacInvalClipRgns, /* 26 */ + NULL, /* 26 */ TkMacDoHLEvent, /* 27 */ NULL, /* 28 */ TkMacGenerateTime, /* 29 */ - TkMacGetDrawablePort, /* 30 */ + NULL, /* 30 */ TkMacGetScrollbarGrowWindow, /* 31 */ TkMacGetXWindow, /* 32 */ TkMacGrowToplevel, /* 33 */ TkMacHandleMenuSelect, /* 34 */ - TkMacHaveAppearance, /* 35 */ - TkMacInitAppleEvents, /* 36 */ - TkMacInitMenus, /* 37 */ + NULL, /* 35 */ + NULL, /* 36 */ + NULL, /* 37 */ TkMacInvalidateWindow, /* 38 */ TkMacIsCharacterMissing, /* 39 */ TkMacMakeRealWindowExist, /* 40 */ @@ -467,6 +387,7 @@ TkIntPlatStubs tkIntPlatStubs = { TkMacContainerId, /* 63 */ TkMacGetHostToplevel, /* 64 */ TkMacPreprocessMenu, /* 65 */ + TkpIsWindowFloating, /* 66 */ #endif /* MAC_TCL */ }; |