diff options
author | stanton <stanton> | 1999-04-16 01:51:06 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-04-16 01:51:06 (GMT) |
commit | 03656f44f81469f459031fa3a4a7b09c8bc77712 (patch) | |
tree | 31378e81bd58f8c726fc552d6b30cbf3ca07497b /generic/tkPlatStubs.c | |
parent | 404fc236f34304df53b7e44bc7971d786b87d453 (diff) | |
download | tk-03656f44f81469f459031fa3a4a7b09c8bc77712.zip tk-03656f44f81469f459031fa3a4a7b09c8bc77712.tar.gz tk-03656f44f81469f459031fa3a4a7b09c8bc77712.tar.bz2 |
* Merged 8.1 branch into the main trunk
Diffstat (limited to 'generic/tkPlatStubs.c')
-rw-r--r-- | generic/tkPlatStubs.c | 186 |
1 files changed, 0 insertions, 186 deletions
diff --git a/generic/tkPlatStubs.c b/generic/tkPlatStubs.c deleted file mode 100644 index f58d8ed..0000000 --- a/generic/tkPlatStubs.c +++ /dev/null @@ -1,186 +0,0 @@ -/* - * tkPlatStubs.c -- - * - * This file contains the wrapper functions for the platform independent - * unsupported Tk API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) $Id: tkPlatStubs.c,v 1.2 1999/03/10 07:04:42 stanton Exp $ - */ - -#include "tk.h" - -#ifdef __WIN32__ -#include "tkWinInt.h" -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported stub functions: - */ - -#ifdef __WIN32__ -/* Slot 0 */ -Window -Tk_AttachHWND(tkwin, hwnd) - Tk_Window tkwin; - HWND hwnd; -{ - return (tkPlatStubsPtr->tk_AttachHWND)(tkwin, hwnd); -} - -/* Slot 1 */ -HINSTANCE -Tk_GetHINSTANCE() -{ - return (tkPlatStubsPtr->tk_GetHINSTANCE)(); -} - -/* Slot 2 */ -HWND -Tk_GetHWND(window) - Window window; -{ - return (tkPlatStubsPtr->tk_GetHWND)(window); -} - -/* Slot 3 */ -Tk_Window -Tk_HWNDToWindow(hwnd) - HWND hwnd; -{ - return (tkPlatStubsPtr->tk_HWNDToWindow)(hwnd); -} - -/* Slot 4 */ -void -Tk_PointerEvent(hwnd, x, y) - HWND hwnd; - int x; - int y; -{ - (tkPlatStubsPtr->tk_PointerEvent)(hwnd, x, y); -} - -/* Slot 5 */ -int -Tk_TranslateWinEvent(hwnd, message, wParam, lParam, result) - HWND hwnd; - UINT message; - WPARAM wParam; - LPARAM lParam; - LRESULT * result; -{ - return (tkPlatStubsPtr->tk_TranslateWinEvent)(hwnd, message, wParam, lParam, result); -} - -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* Slot 0 */ -void -Tk_MacSetEmbedHandler(registerWinProcPtr, getPortProcPtr, containerExistProcPtr, getClipProc, getOffsetProc) - Tk_MacEmbedRegisterWinProc * registerWinProcPtr; - Tk_MacEmbedGetGrafPortProc * getPortProcPtr; - Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr; - Tk_MacEmbedGetClipProc * getClipProc; - Tk_MacEmbedGetOffsetInParentProc * getOffsetProc; -{ - (tkPlatStubsPtr->tk_MacSetEmbedHandler)(registerWinProcPtr, getPortProcPtr, containerExistProcPtr, getClipProc, getOffsetProc); -} - -/* Slot 1 */ -void -Tk_MacTurnOffMenus() -{ - (tkPlatStubsPtr->tk_MacTurnOffMenus)(); -} - -/* Slot 2 */ -void -Tk_MacTkOwnsCursor(tkOwnsIt) - int tkOwnsIt; -{ - (tkPlatStubsPtr->tk_MacTkOwnsCursor)(tkOwnsIt); -} - -/* Slot 3 */ -void -TkMacInitMenus(interp) - Tcl_Interp * interp; -{ - (tkPlatStubsPtr->tkMacInitMenus)(interp); -} - -/* Slot 4 */ -void -TkMacInitAppleEvents(interp) - Tcl_Interp * interp; -{ - (tkPlatStubsPtr->tkMacInitAppleEvents)(interp); -} - -/* Slot 5 */ -int -TkMacConvertEvent(eventPtr) - EventRecord * eventPtr; -{ - return (tkPlatStubsPtr->tkMacConvertEvent)(eventPtr); -} - -/* Slot 6 */ -int -TkMacConvertTkEvent(eventPtr, window) - EventRecord * eventPtr; - Window window; -{ - return (tkPlatStubsPtr->tkMacConvertTkEvent)(eventPtr, window); -} - -/* Slot 7 */ -void -TkGenWMConfigureEvent(tkwin, x, y, width, height, flags) - Tk_Window tkwin; - int x; - int y; - int width; - int height; - int flags; -{ - (tkPlatStubsPtr->tkGenWMConfigureEvent)(tkwin, x, y, width, height, flags); -} - -/* Slot 8 */ -void -TkMacInvalClipRgns(winPtr) - TkWindow * winPtr; -{ - (tkPlatStubsPtr->tkMacInvalClipRgns)(winPtr); -} - -/* Slot 9 */ -int -TkMacHaveAppearance() -{ - return (tkPlatStubsPtr->tkMacHaveAppearance)(); -} - -/* Slot 10 */ -GWorldPtr -TkMacGetDrawablePort(drawable) - Drawable drawable; -{ - return (tkPlatStubsPtr->tkMacGetDrawablePort)(drawable); -} - -#endif /* MAC_TCL */ - -/* !END!: Do not edit above this line. */ |