jpayne@69: /* jpayne@69: * tkIntPlatDecls.h -- jpayne@69: * jpayne@69: * This file contains the declarations for all platform dependent jpayne@69: * unsupported functions that are exported by the Tk library. These jpayne@69: * interfaces are not guaranteed to remain the same between jpayne@69: * versions. Use at your own risk. jpayne@69: * jpayne@69: * Copyright (c) 1998-1999 by Scriptics Corporation. jpayne@69: * All rights reserved. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _TKINTPLATDECLS jpayne@69: #define _TKINTPLATDECLS jpayne@69: jpayne@69: #ifdef BUILD_tk jpayne@69: #undef TCL_STORAGE_CLASS jpayne@69: #define TCL_STORAGE_CLASS DLLEXPORT jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * WARNING: This file is automatically generated by the tools/genStubs.tcl jpayne@69: * script. Any modifications to the function declarations below should be made jpayne@69: * in the generic/tkInt.decls script. jpayne@69: */ jpayne@69: jpayne@69: /* !BEGIN!: Do not edit below this line. */ jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * Exported function declarations: jpayne@69: */ jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: /* 0 */ jpayne@69: EXTERN char * TkAlignImageData(XImage *image, int alignment, jpayne@69: int bitOrder); jpayne@69: /* Slot 1 is reserved */ jpayne@69: /* 2 */ jpayne@69: EXTERN void TkGenerateActivateEvents(TkWindow *winPtr, jpayne@69: int active); jpayne@69: /* 3 */ jpayne@69: EXTERN unsigned long TkpGetMS(void); jpayne@69: /* 4 */ jpayne@69: EXTERN void TkPointerDeadWindow(TkWindow *winPtr); jpayne@69: /* 5 */ jpayne@69: EXTERN void TkpPrintWindowId(char *buf, Window window); jpayne@69: /* 6 */ jpayne@69: EXTERN int TkpScanWindowId(Tcl_Interp *interp, jpayne@69: const char *string, Window *idPtr); jpayne@69: /* 7 */ jpayne@69: EXTERN void TkpSetCapture(TkWindow *winPtr); jpayne@69: /* 8 */ jpayne@69: EXTERN void TkpSetCursor(TkpCursor cursor); jpayne@69: /* 9 */ jpayne@69: EXTERN int TkpWmSetState(TkWindow *winPtr, int state); jpayne@69: /* 10 */ jpayne@69: EXTERN void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap); jpayne@69: /* 11 */ jpayne@69: EXTERN void TkWinCancelMouseTimer(void); jpayne@69: /* 12 */ jpayne@69: EXTERN void TkWinClipboardRender(TkDisplay *dispPtr, UINT format); jpayne@69: /* 13 */ jpayne@69: EXTERN LRESULT TkWinEmbeddedEventProc(HWND hwnd, UINT message, jpayne@69: WPARAM wParam, LPARAM lParam); jpayne@69: /* 14 */ jpayne@69: EXTERN void TkWinFillRect(HDC dc, int x, int y, int width, jpayne@69: int height, int pixel); jpayne@69: /* 15 */ jpayne@69: EXTERN COLORREF TkWinGetBorderPixels(Tk_Window tkwin, jpayne@69: Tk_3DBorder border, int which); jpayne@69: /* 16 */ jpayne@69: EXTERN HDC TkWinGetDrawableDC(Display *display, Drawable d, jpayne@69: TkWinDCState *state); jpayne@69: /* 17 */ jpayne@69: EXTERN int TkWinGetModifierState(void); jpayne@69: /* 18 */ jpayne@69: EXTERN HPALETTE TkWinGetSystemPalette(void); jpayne@69: /* 19 */ jpayne@69: EXTERN HWND TkWinGetWrapperWindow(Tk_Window tkwin); jpayne@69: /* 20 */ jpayne@69: EXTERN int TkWinHandleMenuEvent(HWND *phwnd, UINT *pMessage, jpayne@69: WPARAM *pwParam, LPARAM *plParam, jpayne@69: LRESULT *plResult); jpayne@69: /* 21 */ jpayne@69: EXTERN int TkWinIndexOfColor(XColor *colorPtr); jpayne@69: /* 22 */ jpayne@69: EXTERN void TkWinReleaseDrawableDC(Drawable d, HDC hdc, jpayne@69: TkWinDCState *state); jpayne@69: /* 23 */ jpayne@69: EXTERN LRESULT TkWinResendEvent(WNDPROC wndproc, HWND hwnd, jpayne@69: XEvent *eventPtr); jpayne@69: /* 24 */ jpayne@69: EXTERN HPALETTE TkWinSelectPalette(HDC dc, Colormap colormap); jpayne@69: /* 25 */ jpayne@69: EXTERN void TkWinSetMenu(Tk_Window tkwin, HMENU hMenu); jpayne@69: /* 26 */ jpayne@69: EXTERN void TkWinSetWindowPos(HWND hwnd, HWND siblingHwnd, jpayne@69: int pos); jpayne@69: /* 27 */ jpayne@69: EXTERN void TkWinWmCleanup(HINSTANCE hInstance); jpayne@69: /* 28 */ jpayne@69: EXTERN void TkWinXCleanup(ClientData clientData); jpayne@69: /* 29 */ jpayne@69: EXTERN void TkWinXInit(HINSTANCE hInstance); jpayne@69: /* 30 */ jpayne@69: EXTERN void TkWinSetForegroundWindow(TkWindow *winPtr); jpayne@69: /* 31 */ jpayne@69: EXTERN void TkWinDialogDebug(int debug); jpayne@69: /* 32 */ jpayne@69: EXTERN Tcl_Obj * TkWinGetMenuSystemDefault(Tk_Window tkwin, jpayne@69: const char *dbName, const char *className); jpayne@69: /* 33 */ jpayne@69: EXTERN int TkWinGetPlatformId(void); jpayne@69: /* 34 */ jpayne@69: EXTERN void TkWinSetHINSTANCE(HINSTANCE hInstance); jpayne@69: /* 35 */ jpayne@69: EXTERN int TkWinGetPlatformTheme(void); jpayne@69: /* 36 */ jpayne@69: EXTERN LRESULT __stdcall TkWinChildProc(HWND hwnd, UINT message, jpayne@69: WPARAM wParam, LPARAM lParam); jpayne@69: /* 37 */ jpayne@69: EXTERN void TkCreateXEventSource(void); jpayne@69: /* 38 */ jpayne@69: EXTERN int TkpCmapStressed(Tk_Window tkwin, Colormap colormap); jpayne@69: /* 39 */ jpayne@69: EXTERN void TkpSync(Display *display); jpayne@69: /* 40 */ jpayne@69: EXTERN Window TkUnixContainerId(TkWindow *winPtr); jpayne@69: /* 41 */ jpayne@69: EXTERN int TkUnixDoOneXEvent(Tcl_Time *timePtr); jpayne@69: /* 42 */ jpayne@69: EXTERN void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar); jpayne@69: /* 43 */ jpayne@69: EXTERN void TkWmCleanup(TkDisplay *dispPtr); jpayne@69: /* 44 */ jpayne@69: EXTERN void TkSendCleanup(TkDisplay *dispPtr); jpayne@69: /* 45 */ jpayne@69: EXTERN int TkpTestsendCmd(ClientData clientData, jpayne@69: Tcl_Interp *interp, int objc, jpayne@69: Tcl_Obj *const objv[]); jpayne@69: /* Slot 46 is reserved */ jpayne@69: /* 47 */ jpayne@69: EXTERN Tk_Window TkpGetCapture(void); jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: /* 0 */ jpayne@69: EXTERN void TkGenerateActivateEvents(TkWindow *winPtr, jpayne@69: int active); jpayne@69: /* Slot 1 is reserved */ jpayne@69: /* 2 */ jpayne@69: EXTERN void TkGenerateActivateEvents_(TkWindow *winPtr, jpayne@69: int active); jpayne@69: /* 3 */ jpayne@69: EXTERN void TkPointerDeadWindow(TkWindow *winPtr); jpayne@69: /* 4 */ jpayne@69: EXTERN void TkpSetCapture(TkWindow *winPtr); jpayne@69: /* 5 */ jpayne@69: EXTERN void TkpSetCursor(TkpCursor cursor); jpayne@69: /* 6 */ jpayne@69: EXTERN void TkpWmSetState(TkWindow *winPtr, int state); jpayne@69: /* 7 */ jpayne@69: EXTERN void TkAboutDlg(void); jpayne@69: /* 8 */ jpayne@69: EXTERN unsigned int TkMacOSXButtonKeyState(void); jpayne@69: /* 9 */ jpayne@69: EXTERN void TkMacOSXClearMenubarActive(void); jpayne@69: /* 10 */ jpayne@69: EXTERN int TkMacOSXDispatchMenuEvent(int menuID, int index); jpayne@69: /* 11 */ jpayne@69: EXTERN void TkMacOSXInstallCursor(int resizeOverride); jpayne@69: /* 12 */ jpayne@69: EXTERN void TkMacOSXHandleTearoffMenu(void); jpayne@69: /* Slot 13 is reserved */ jpayne@69: /* 14 */ jpayne@69: EXTERN int TkMacOSXDoHLEvent(void *theEvent); jpayne@69: /* Slot 15 is reserved */ jpayne@69: /* 16 */ jpayne@69: EXTERN Window TkMacOSXGetXWindow(void *macWinPtr); jpayne@69: /* 17 */ jpayne@69: EXTERN int TkMacOSXGrowToplevel(void *whichWindow, XPoint start); jpayne@69: /* 18 */ jpayne@69: EXTERN void TkMacOSXHandleMenuSelect(short theMenu, jpayne@69: unsigned short theItem, int optionKeyPressed); jpayne@69: /* Slot 19 is reserved */ jpayne@69: /* Slot 20 is reserved */ jpayne@69: /* 21 */ jpayne@69: EXTERN void TkMacOSXInvalidateWindow(MacDrawable *macWin, jpayne@69: int flag); jpayne@69: /* 22 */ jpayne@69: EXTERN int TkMacOSXIsCharacterMissing(Tk_Font tkfont, jpayne@69: unsigned int searchChar); jpayne@69: /* 23 */ jpayne@69: EXTERN void TkMacOSXMakeRealWindowExist(TkWindow *winPtr); jpayne@69: /* 24 */ jpayne@69: EXTERN void * TkMacOSXMakeStippleMap(Drawable d1, Drawable d2); jpayne@69: /* 25 */ jpayne@69: EXTERN void TkMacOSXMenuClick(void); jpayne@69: /* Slot 26 is reserved */ jpayne@69: /* 27 */ jpayne@69: EXTERN int TkMacOSXResizable(TkWindow *winPtr); jpayne@69: /* 28 */ jpayne@69: EXTERN void TkMacOSXSetHelpMenuItemCount(void); jpayne@69: /* 29 */ jpayne@69: EXTERN void TkMacOSXSetScrollbarGrow(TkWindow *winPtr, int flag); jpayne@69: /* 30 */ jpayne@69: EXTERN void TkMacOSXSetUpClippingRgn(Drawable drawable); jpayne@69: /* 31 */ jpayne@69: EXTERN void TkMacOSXSetUpGraphicsPort(GC gc, void *destPort); jpayne@69: /* 32 */ jpayne@69: EXTERN void TkMacOSXUpdateClipRgn(TkWindow *winPtr); jpayne@69: /* Slot 33 is reserved */ jpayne@69: /* 34 */ jpayne@69: EXTERN int TkMacOSXUseMenuID(short macID); jpayne@69: /* 35 */ jpayne@69: EXTERN TkRegion TkMacOSXVisableClipRgn(TkWindow *winPtr); jpayne@69: /* 36 */ jpayne@69: EXTERN void TkMacOSXWinBounds(TkWindow *winPtr, void *geometry); jpayne@69: /* 37 */ jpayne@69: EXTERN void TkMacOSXWindowOffset(void *wRef, int *xOffset, jpayne@69: int *yOffset); jpayne@69: /* 38 */ jpayne@69: EXTERN int TkSetMacColor(unsigned long pixel, void *macColor); jpayne@69: /* 39 */ jpayne@69: EXTERN void TkSetWMName(TkWindow *winPtr, Tk_Uid titleUid); jpayne@69: /* Slot 40 is reserved */ jpayne@69: /* 41 */ jpayne@69: EXTERN int TkMacOSXZoomToplevel(void *whichWindow, jpayne@69: short zoomPart); jpayne@69: /* 42 */ jpayne@69: EXTERN Tk_Window Tk_TopCoordsToWindow(Tk_Window tkwin, int rootX, jpayne@69: int rootY, int *newX, int *newY); jpayne@69: /* 43 */ jpayne@69: EXTERN MacDrawable * TkMacOSXContainerId(TkWindow *winPtr); jpayne@69: /* 44 */ jpayne@69: EXTERN MacDrawable * TkMacOSXGetHostToplevel(TkWindow *winPtr); jpayne@69: /* 45 */ jpayne@69: EXTERN void TkMacOSXPreprocessMenu(void); jpayne@69: /* 46 */ jpayne@69: EXTERN int TkpIsWindowFloating(void *window); jpayne@69: /* 47 */ jpayne@69: EXTERN Tk_Window TkMacOSXGetCapture(void); jpayne@69: /* Slot 48 is reserved */ jpayne@69: /* 49 */ jpayne@69: EXTERN Tk_Window TkGetTransientMaster(TkWindow *winPtr); jpayne@69: /* 50 */ jpayne@69: EXTERN int TkGenerateButtonEvent(int x, int y, Window window, jpayne@69: unsigned int state); jpayne@69: /* 51 */ jpayne@69: EXTERN void TkGenWMDestroyEvent(Tk_Window tkwin); jpayne@69: /* 52 */ jpayne@69: EXTERN void TkMacOSXSetDrawingEnabled(TkWindow *winPtr, int flag); jpayne@69: /* 53 */ jpayne@69: EXTERN unsigned long TkpGetMS(void); jpayne@69: /* 54 */ jpayne@69: EXTERN void * TkMacOSXDrawable(Drawable drawable); jpayne@69: /* 55 */ jpayne@69: EXTERN int TkpScanWindowId(Tcl_Interp *interp, jpayne@69: const char *string, Window *idPtr); jpayne@69: #endif /* AQUA */ jpayne@69: #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK)) /* X11 */ jpayne@69: /* 0 */ jpayne@69: EXTERN void TkCreateXEventSource(void); jpayne@69: /* Slot 1 is reserved */ jpayne@69: /* 2 */ jpayne@69: EXTERN void TkGenerateActivateEvents(TkWindow *winPtr, jpayne@69: int active); jpayne@69: /* 3 */ jpayne@69: EXTERN int TkpCmapStressed(Tk_Window tkwin, Colormap colormap); jpayne@69: /* 4 */ jpayne@69: EXTERN void TkpSync(Display *display); jpayne@69: /* 5 */ jpayne@69: EXTERN Window TkUnixContainerId(TkWindow *winPtr); jpayne@69: /* 6 */ jpayne@69: EXTERN int TkUnixDoOneXEvent(Tcl_Time *timePtr); jpayne@69: /* 7 */ jpayne@69: EXTERN void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar); jpayne@69: /* 8 */ jpayne@69: EXTERN int TkpScanWindowId(Tcl_Interp *interp, jpayne@69: const char *string, Window *idPtr); jpayne@69: /* 9 */ jpayne@69: EXTERN void TkWmCleanup(TkDisplay *dispPtr); jpayne@69: /* 10 */ jpayne@69: EXTERN void TkSendCleanup(TkDisplay *dispPtr); jpayne@69: /* Slot 11 is reserved */ jpayne@69: /* 12 */ jpayne@69: EXTERN int TkpWmSetState(TkWindow *winPtr, int state); jpayne@69: /* 13 */ jpayne@69: EXTERN int TkpTestsendCmd(ClientData clientData, jpayne@69: Tcl_Interp *interp, int objc, jpayne@69: Tcl_Obj *const objv[]); jpayne@69: /* Slot 14 is reserved */ jpayne@69: /* Slot 15 is reserved */ jpayne@69: /* Slot 16 is reserved */ jpayne@69: /* Slot 17 is reserved */ jpayne@69: /* Slot 18 is reserved */ jpayne@69: /* Slot 19 is reserved */ jpayne@69: /* Slot 20 is reserved */ jpayne@69: /* Slot 21 is reserved */ jpayne@69: /* Slot 22 is reserved */ jpayne@69: /* Slot 23 is reserved */ jpayne@69: /* Slot 24 is reserved */ jpayne@69: /* Slot 25 is reserved */ jpayne@69: /* Slot 26 is reserved */ jpayne@69: /* Slot 27 is reserved */ jpayne@69: /* Slot 28 is reserved */ jpayne@69: /* Slot 29 is reserved */ jpayne@69: /* Slot 30 is reserved */ jpayne@69: /* Slot 31 is reserved */ jpayne@69: /* Slot 32 is reserved */ jpayne@69: /* Slot 33 is reserved */ jpayne@69: /* Slot 34 is reserved */ jpayne@69: /* Slot 35 is reserved */ jpayne@69: /* Slot 36 is reserved */ jpayne@69: /* Slot 37 is reserved */ jpayne@69: /* 38 */ jpayne@69: EXTERN int TkpCmapStressed_(Tk_Window tkwin, Colormap colormap); jpayne@69: /* 39 */ jpayne@69: EXTERN void TkpSync_(Display *display); jpayne@69: /* 40 */ jpayne@69: EXTERN Window TkUnixContainerId_(TkWindow *winPtr); jpayne@69: /* 41 */ jpayne@69: EXTERN int TkUnixDoOneXEvent_(Tcl_Time *timePtr); jpayne@69: /* 42 */ jpayne@69: EXTERN void TkUnixSetMenubar_(Tk_Window tkwin, Tk_Window menubar); jpayne@69: /* 43 */ jpayne@69: EXTERN void TkWmCleanup_(TkDisplay *dispPtr); jpayne@69: /* 44 */ jpayne@69: EXTERN void TkSendCleanup_(TkDisplay *dispPtr); jpayne@69: /* 45 */ jpayne@69: EXTERN int TkpTestsendCmd_(ClientData clientData, jpayne@69: Tcl_Interp *interp, int objc, jpayne@69: Tcl_Obj *const objv[]); jpayne@69: #endif /* X11 */ jpayne@69: jpayne@69: typedef struct TkIntPlatStubs { jpayne@69: int magic; jpayne@69: void *hooks; jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: char * (*tkAlignImageData) (XImage *image, int alignment, int bitOrder); /* 0 */ jpayne@69: void (*reserved1)(void); jpayne@69: void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active); /* 2 */ jpayne@69: unsigned long (*tkpGetMS) (void); /* 3 */ jpayne@69: void (*tkPointerDeadWindow) (TkWindow *winPtr); /* 4 */ jpayne@69: void (*tkpPrintWindowId) (char *buf, Window window); /* 5 */ jpayne@69: int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr); /* 6 */ jpayne@69: void (*tkpSetCapture) (TkWindow *winPtr); /* 7 */ jpayne@69: void (*tkpSetCursor) (TkpCursor cursor); /* 8 */ jpayne@69: int (*tkpWmSetState) (TkWindow *winPtr, int state); /* 9 */ jpayne@69: void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap); /* 10 */ jpayne@69: void (*tkWinCancelMouseTimer) (void); /* 11 */ jpayne@69: void (*tkWinClipboardRender) (TkDisplay *dispPtr, UINT format); /* 12 */ jpayne@69: LRESULT (*tkWinEmbeddedEventProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 13 */ jpayne@69: void (*tkWinFillRect) (HDC dc, int x, int y, int width, int height, int pixel); /* 14 */ jpayne@69: COLORREF (*tkWinGetBorderPixels) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 15 */ jpayne@69: HDC (*tkWinGetDrawableDC) (Display *display, Drawable d, TkWinDCState *state); /* 16 */ jpayne@69: int (*tkWinGetModifierState) (void); /* 17 */ jpayne@69: HPALETTE (*tkWinGetSystemPalette) (void); /* 18 */ jpayne@69: HWND (*tkWinGetWrapperWindow) (Tk_Window tkwin); /* 19 */ jpayne@69: int (*tkWinHandleMenuEvent) (HWND *phwnd, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, LRESULT *plResult); /* 20 */ jpayne@69: int (*tkWinIndexOfColor) (XColor *colorPtr); /* 21 */ jpayne@69: void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState *state); /* 22 */ jpayne@69: LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr); /* 23 */ jpayne@69: HPALETTE (*tkWinSelectPalette) (HDC dc, Colormap colormap); /* 24 */ jpayne@69: void (*tkWinSetMenu) (Tk_Window tkwin, HMENU hMenu); /* 25 */ jpayne@69: void (*tkWinSetWindowPos) (HWND hwnd, HWND siblingHwnd, int pos); /* 26 */ jpayne@69: void (*tkWinWmCleanup) (HINSTANCE hInstance); /* 27 */ jpayne@69: void (*tkWinXCleanup) (ClientData clientData); /* 28 */ jpayne@69: void (*tkWinXInit) (HINSTANCE hInstance); /* 29 */ jpayne@69: void (*tkWinSetForegroundWindow) (TkWindow *winPtr); /* 30 */ jpayne@69: void (*tkWinDialogDebug) (int debug); /* 31 */ jpayne@69: Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, const char *dbName, const char *className); /* 32 */ jpayne@69: int (*tkWinGetPlatformId) (void); /* 33 */ jpayne@69: void (*tkWinSetHINSTANCE) (HINSTANCE hInstance); /* 34 */ jpayne@69: int (*tkWinGetPlatformTheme) (void); /* 35 */ jpayne@69: LRESULT (__stdcall *tkWinChildProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 36 */ jpayne@69: void (*tkCreateXEventSource) (void); /* 37 */ jpayne@69: int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap); /* 38 */ jpayne@69: void (*tkpSync) (Display *display); /* 39 */ jpayne@69: Window (*tkUnixContainerId) (TkWindow *winPtr); /* 40 */ jpayne@69: int (*tkUnixDoOneXEvent) (Tcl_Time *timePtr); /* 41 */ jpayne@69: void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar); /* 42 */ jpayne@69: void (*tkWmCleanup) (TkDisplay *dispPtr); /* 43 */ jpayne@69: void (*tkSendCleanup) (TkDisplay *dispPtr); /* 44 */ jpayne@69: int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 45 */ jpayne@69: void (*reserved46)(void); jpayne@69: Tk_Window (*tkpGetCapture) (void); /* 47 */ jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active); /* 0 */ jpayne@69: void (*reserved1)(void); jpayne@69: void (*tkGenerateActivateEvents_) (TkWindow *winPtr, int active); /* 2 */ jpayne@69: void (*tkPointerDeadWindow) (TkWindow *winPtr); /* 3 */ jpayne@69: void (*tkpSetCapture) (TkWindow *winPtr); /* 4 */ jpayne@69: void (*tkpSetCursor) (TkpCursor cursor); /* 5 */ jpayne@69: void (*tkpWmSetState) (TkWindow *winPtr, int state); /* 6 */ jpayne@69: void (*tkAboutDlg) (void); /* 7 */ jpayne@69: unsigned int (*tkMacOSXButtonKeyState) (void); /* 8 */ jpayne@69: void (*tkMacOSXClearMenubarActive) (void); /* 9 */ jpayne@69: int (*tkMacOSXDispatchMenuEvent) (int menuID, int index); /* 10 */ jpayne@69: void (*tkMacOSXInstallCursor) (int resizeOverride); /* 11 */ jpayne@69: void (*tkMacOSXHandleTearoffMenu) (void); /* 12 */ jpayne@69: void (*reserved13)(void); jpayne@69: int (*tkMacOSXDoHLEvent) (void *theEvent); /* 14 */ jpayne@69: void (*reserved15)(void); jpayne@69: Window (*tkMacOSXGetXWindow) (void *macWinPtr); /* 16 */ jpayne@69: int (*tkMacOSXGrowToplevel) (void *whichWindow, XPoint start); /* 17 */ jpayne@69: void (*tkMacOSXHandleMenuSelect) (short theMenu, unsigned short theItem, int optionKeyPressed); /* 18 */ jpayne@69: void (*reserved19)(void); jpayne@69: void (*reserved20)(void); jpayne@69: void (*tkMacOSXInvalidateWindow) (MacDrawable *macWin, int flag); /* 21 */ jpayne@69: int (*tkMacOSXIsCharacterMissing) (Tk_Font tkfont, unsigned int searchChar); /* 22 */ jpayne@69: void (*tkMacOSXMakeRealWindowExist) (TkWindow *winPtr); /* 23 */ jpayne@69: void * (*tkMacOSXMakeStippleMap) (Drawable d1, Drawable d2); /* 24 */ jpayne@69: void (*tkMacOSXMenuClick) (void); /* 25 */ jpayne@69: void (*reserved26)(void); jpayne@69: int (*tkMacOSXResizable) (TkWindow *winPtr); /* 27 */ jpayne@69: void (*tkMacOSXSetHelpMenuItemCount) (void); /* 28 */ jpayne@69: void (*tkMacOSXSetScrollbarGrow) (TkWindow *winPtr, int flag); /* 29 */ jpayne@69: void (*tkMacOSXSetUpClippingRgn) (Drawable drawable); /* 30 */ jpayne@69: void (*tkMacOSXSetUpGraphicsPort) (GC gc, void *destPort); /* 31 */ jpayne@69: void (*tkMacOSXUpdateClipRgn) (TkWindow *winPtr); /* 32 */ jpayne@69: void (*reserved33)(void); jpayne@69: int (*tkMacOSXUseMenuID) (short macID); /* 34 */ jpayne@69: TkRegion (*tkMacOSXVisableClipRgn) (TkWindow *winPtr); /* 35 */ jpayne@69: void (*tkMacOSXWinBounds) (TkWindow *winPtr, void *geometry); /* 36 */ jpayne@69: void (*tkMacOSXWindowOffset) (void *wRef, int *xOffset, int *yOffset); /* 37 */ jpayne@69: int (*tkSetMacColor) (unsigned long pixel, void *macColor); /* 38 */ jpayne@69: void (*tkSetWMName) (TkWindow *winPtr, Tk_Uid titleUid); /* 39 */ jpayne@69: void (*reserved40)(void); jpayne@69: int (*tkMacOSXZoomToplevel) (void *whichWindow, short zoomPart); /* 41 */ jpayne@69: Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int *newX, int *newY); /* 42 */ jpayne@69: MacDrawable * (*tkMacOSXContainerId) (TkWindow *winPtr); /* 43 */ jpayne@69: MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow *winPtr); /* 44 */ jpayne@69: void (*tkMacOSXPreprocessMenu) (void); /* 45 */ jpayne@69: int (*tkpIsWindowFloating) (void *window); /* 46 */ jpayne@69: Tk_Window (*tkMacOSXGetCapture) (void); /* 47 */ jpayne@69: void (*reserved48)(void); jpayne@69: Tk_Window (*tkGetTransientMaster) (TkWindow *winPtr); /* 49 */ jpayne@69: int (*tkGenerateButtonEvent) (int x, int y, Window window, unsigned int state); /* 50 */ jpayne@69: void (*tkGenWMDestroyEvent) (Tk_Window tkwin); /* 51 */ jpayne@69: void (*tkMacOSXSetDrawingEnabled) (TkWindow *winPtr, int flag); /* 52 */ jpayne@69: unsigned long (*tkpGetMS) (void); /* 53 */ jpayne@69: void * (*tkMacOSXDrawable) (Drawable drawable); /* 54 */ jpayne@69: int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr); /* 55 */ jpayne@69: #endif /* AQUA */ jpayne@69: #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK)) /* X11 */ jpayne@69: void (*tkCreateXEventSource) (void); /* 0 */ jpayne@69: void (*reserved1)(void); jpayne@69: void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active); /* 2 */ jpayne@69: int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap); /* 3 */ jpayne@69: void (*tkpSync) (Display *display); /* 4 */ jpayne@69: Window (*tkUnixContainerId) (TkWindow *winPtr); /* 5 */ jpayne@69: int (*tkUnixDoOneXEvent) (Tcl_Time *timePtr); /* 6 */ jpayne@69: void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar); /* 7 */ jpayne@69: int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr); /* 8 */ jpayne@69: void (*tkWmCleanup) (TkDisplay *dispPtr); /* 9 */ jpayne@69: void (*tkSendCleanup) (TkDisplay *dispPtr); /* 10 */ jpayne@69: void (*reserved11)(void); jpayne@69: int (*tkpWmSetState) (TkWindow *winPtr, int state); /* 12 */ jpayne@69: int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 13 */ jpayne@69: void (*reserved14)(void); jpayne@69: void (*reserved15)(void); jpayne@69: void (*reserved16)(void); jpayne@69: void (*reserved17)(void); jpayne@69: void (*reserved18)(void); jpayne@69: void (*reserved19)(void); jpayne@69: void (*reserved20)(void); jpayne@69: void (*reserved21)(void); jpayne@69: void (*reserved22)(void); jpayne@69: void (*reserved23)(void); jpayne@69: void (*reserved24)(void); jpayne@69: void (*reserved25)(void); jpayne@69: void (*reserved26)(void); jpayne@69: void (*reserved27)(void); jpayne@69: void (*reserved28)(void); jpayne@69: void (*reserved29)(void); jpayne@69: void (*reserved30)(void); jpayne@69: void (*reserved31)(void); jpayne@69: void (*reserved32)(void); jpayne@69: void (*reserved33)(void); jpayne@69: void (*reserved34)(void); jpayne@69: void (*reserved35)(void); jpayne@69: void (*reserved36)(void); jpayne@69: void (*reserved37)(void); jpayne@69: int (*tkpCmapStressed_) (Tk_Window tkwin, Colormap colormap); /* 38 */ jpayne@69: void (*tkpSync_) (Display *display); /* 39 */ jpayne@69: Window (*tkUnixContainerId_) (TkWindow *winPtr); /* 40 */ jpayne@69: int (*tkUnixDoOneXEvent_) (Tcl_Time *timePtr); /* 41 */ jpayne@69: void (*tkUnixSetMenubar_) (Tk_Window tkwin, Tk_Window menubar); /* 42 */ jpayne@69: void (*tkWmCleanup_) (TkDisplay *dispPtr); /* 43 */ jpayne@69: void (*tkSendCleanup_) (TkDisplay *dispPtr); /* 44 */ jpayne@69: int (*tkpTestsendCmd_) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 45 */ jpayne@69: #endif /* X11 */ jpayne@69: } TkIntPlatStubs; jpayne@69: jpayne@69: extern const TkIntPlatStubs *tkIntPlatStubsPtr; jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #if defined(USE_TK_STUBS) jpayne@69: jpayne@69: /* jpayne@69: * Inline function declarations: jpayne@69: */ jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: #define TkAlignImageData \ jpayne@69: (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ jpayne@69: /* Slot 1 is reserved */ jpayne@69: #define TkGenerateActivateEvents \ jpayne@69: (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ jpayne@69: #define TkpGetMS \ jpayne@69: (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ jpayne@69: #define TkPointerDeadWindow \ jpayne@69: (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ jpayne@69: #define TkpPrintWindowId \ jpayne@69: (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ jpayne@69: #define TkpScanWindowId \ jpayne@69: (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ jpayne@69: #define TkpSetCapture \ jpayne@69: (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ jpayne@69: #define TkpSetCursor \ jpayne@69: (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ jpayne@69: #define TkpWmSetState \ jpayne@69: (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ jpayne@69: #define TkSetPixmapColormap \ jpayne@69: (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ jpayne@69: #define TkWinCancelMouseTimer \ jpayne@69: (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ jpayne@69: #define TkWinClipboardRender \ jpayne@69: (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ jpayne@69: #define TkWinEmbeddedEventProc \ jpayne@69: (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ jpayne@69: #define TkWinFillRect \ jpayne@69: (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ jpayne@69: #define TkWinGetBorderPixels \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ jpayne@69: #define TkWinGetDrawableDC \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ jpayne@69: #define TkWinGetModifierState \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ jpayne@69: #define TkWinGetSystemPalette \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ jpayne@69: #define TkWinGetWrapperWindow \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ jpayne@69: #define TkWinHandleMenuEvent \ jpayne@69: (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ jpayne@69: #define TkWinIndexOfColor \ jpayne@69: (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ jpayne@69: #define TkWinReleaseDrawableDC \ jpayne@69: (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ jpayne@69: #define TkWinResendEvent \ jpayne@69: (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ jpayne@69: #define TkWinSelectPalette \ jpayne@69: (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ jpayne@69: #define TkWinSetMenu \ jpayne@69: (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ jpayne@69: #define TkWinSetWindowPos \ jpayne@69: (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ jpayne@69: #define TkWinWmCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ jpayne@69: #define TkWinXCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ jpayne@69: #define TkWinXInit \ jpayne@69: (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ jpayne@69: #define TkWinSetForegroundWindow \ jpayne@69: (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ jpayne@69: #define TkWinDialogDebug \ jpayne@69: (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ jpayne@69: #define TkWinGetMenuSystemDefault \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ jpayne@69: #define TkWinGetPlatformId \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ jpayne@69: #define TkWinSetHINSTANCE \ jpayne@69: (tkIntPlatStubsPtr->tkWinSetHINSTANCE) /* 34 */ jpayne@69: #define TkWinGetPlatformTheme \ jpayne@69: (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ jpayne@69: #define TkWinChildProc \ jpayne@69: (tkIntPlatStubsPtr->tkWinChildProc) /* 36 */ jpayne@69: #define TkCreateXEventSource \ jpayne@69: (tkIntPlatStubsPtr->tkCreateXEventSource) /* 37 */ jpayne@69: #define TkpCmapStressed \ jpayne@69: (tkIntPlatStubsPtr->tkpCmapStressed) /* 38 */ jpayne@69: #define TkpSync \ jpayne@69: (tkIntPlatStubsPtr->tkpSync) /* 39 */ jpayne@69: #define TkUnixContainerId \ jpayne@69: (tkIntPlatStubsPtr->tkUnixContainerId) /* 40 */ jpayne@69: #define TkUnixDoOneXEvent \ jpayne@69: (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 41 */ jpayne@69: #define TkUnixSetMenubar \ jpayne@69: (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 42 */ jpayne@69: #define TkWmCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkWmCleanup) /* 43 */ jpayne@69: #define TkSendCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkSendCleanup) /* 44 */ jpayne@69: #define TkpTestsendCmd \ jpayne@69: (tkIntPlatStubsPtr->tkpTestsendCmd) /* 45 */ jpayne@69: /* Slot 46 is reserved */ jpayne@69: #define TkpGetCapture \ jpayne@69: (tkIntPlatStubsPtr->tkpGetCapture) /* 47 */ jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: #define TkGenerateActivateEvents \ jpayne@69: (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ jpayne@69: /* Slot 1 is reserved */ jpayne@69: #define TkGenerateActivateEvents_ \ jpayne@69: (tkIntPlatStubsPtr->tkGenerateActivateEvents_) /* 2 */ jpayne@69: #define TkPointerDeadWindow \ jpayne@69: (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 3 */ jpayne@69: #define TkpSetCapture \ jpayne@69: (tkIntPlatStubsPtr->tkpSetCapture) /* 4 */ jpayne@69: #define TkpSetCursor \ jpayne@69: (tkIntPlatStubsPtr->tkpSetCursor) /* 5 */ jpayne@69: #define TkpWmSetState \ jpayne@69: (tkIntPlatStubsPtr->tkpWmSetState) /* 6 */ jpayne@69: #define TkAboutDlg \ jpayne@69: (tkIntPlatStubsPtr->tkAboutDlg) /* 7 */ jpayne@69: #define TkMacOSXButtonKeyState \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXButtonKeyState) /* 8 */ jpayne@69: #define TkMacOSXClearMenubarActive \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive) /* 9 */ jpayne@69: #define TkMacOSXDispatchMenuEvent \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent) /* 10 */ jpayne@69: #define TkMacOSXInstallCursor \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXInstallCursor) /* 11 */ jpayne@69: #define TkMacOSXHandleTearoffMenu \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu) /* 12 */ jpayne@69: /* Slot 13 is reserved */ jpayne@69: #define TkMacOSXDoHLEvent \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXDoHLEvent) /* 14 */ jpayne@69: /* Slot 15 is reserved */ jpayne@69: #define TkMacOSXGetXWindow \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXGetXWindow) /* 16 */ jpayne@69: #define TkMacOSXGrowToplevel \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXGrowToplevel) /* 17 */ jpayne@69: #define TkMacOSXHandleMenuSelect \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect) /* 18 */ jpayne@69: /* Slot 19 is reserved */ jpayne@69: /* Slot 20 is reserved */ jpayne@69: #define TkMacOSXInvalidateWindow \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow) /* 21 */ jpayne@69: #define TkMacOSXIsCharacterMissing \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing) /* 22 */ jpayne@69: #define TkMacOSXMakeRealWindowExist \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist) /* 23 */ jpayne@69: #define TkMacOSXMakeStippleMap \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap) /* 24 */ jpayne@69: #define TkMacOSXMenuClick \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXMenuClick) /* 25 */ jpayne@69: /* Slot 26 is reserved */ jpayne@69: #define TkMacOSXResizable \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXResizable) /* 27 */ jpayne@69: #define TkMacOSXSetHelpMenuItemCount \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount) /* 28 */ jpayne@69: #define TkMacOSXSetScrollbarGrow \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow) /* 29 */ jpayne@69: #define TkMacOSXSetUpClippingRgn \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn) /* 30 */ jpayne@69: #define TkMacOSXSetUpGraphicsPort \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort) /* 31 */ jpayne@69: #define TkMacOSXUpdateClipRgn \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn) /* 32 */ jpayne@69: /* Slot 33 is reserved */ jpayne@69: #define TkMacOSXUseMenuID \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXUseMenuID) /* 34 */ jpayne@69: #define TkMacOSXVisableClipRgn \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn) /* 35 */ jpayne@69: #define TkMacOSXWinBounds \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXWinBounds) /* 36 */ jpayne@69: #define TkMacOSXWindowOffset \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXWindowOffset) /* 37 */ jpayne@69: #define TkSetMacColor \ jpayne@69: (tkIntPlatStubsPtr->tkSetMacColor) /* 38 */ jpayne@69: #define TkSetWMName \ jpayne@69: (tkIntPlatStubsPtr->tkSetWMName) /* 39 */ jpayne@69: /* Slot 40 is reserved */ jpayne@69: #define TkMacOSXZoomToplevel \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXZoomToplevel) /* 41 */ jpayne@69: #define Tk_TopCoordsToWindow \ jpayne@69: (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 42 */ jpayne@69: #define TkMacOSXContainerId \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXContainerId) /* 43 */ jpayne@69: #define TkMacOSXGetHostToplevel \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel) /* 44 */ jpayne@69: #define TkMacOSXPreprocessMenu \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu) /* 45 */ jpayne@69: #define TkpIsWindowFloating \ jpayne@69: (tkIntPlatStubsPtr->tkpIsWindowFloating) /* 46 */ jpayne@69: #define TkMacOSXGetCapture \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXGetCapture) /* 47 */ jpayne@69: /* Slot 48 is reserved */ jpayne@69: #define TkGetTransientMaster \ jpayne@69: (tkIntPlatStubsPtr->tkGetTransientMaster) /* 49 */ jpayne@69: #define TkGenerateButtonEvent \ jpayne@69: (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 50 */ jpayne@69: #define TkGenWMDestroyEvent \ jpayne@69: (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 51 */ jpayne@69: #define TkMacOSXSetDrawingEnabled \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXSetDrawingEnabled) /* 52 */ jpayne@69: #define TkpGetMS \ jpayne@69: (tkIntPlatStubsPtr->tkpGetMS) /* 53 */ jpayne@69: #define TkMacOSXDrawable \ jpayne@69: (tkIntPlatStubsPtr->tkMacOSXDrawable) /* 54 */ jpayne@69: #define TkpScanWindowId \ jpayne@69: (tkIntPlatStubsPtr->tkpScanWindowId) /* 55 */ jpayne@69: #endif /* AQUA */ jpayne@69: #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK)) /* X11 */ jpayne@69: #define TkCreateXEventSource \ jpayne@69: (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ jpayne@69: /* Slot 1 is reserved */ jpayne@69: #define TkGenerateActivateEvents \ jpayne@69: (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ jpayne@69: #define TkpCmapStressed \ jpayne@69: (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ jpayne@69: #define TkpSync \ jpayne@69: (tkIntPlatStubsPtr->tkpSync) /* 4 */ jpayne@69: #define TkUnixContainerId \ jpayne@69: (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ jpayne@69: #define TkUnixDoOneXEvent \ jpayne@69: (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ jpayne@69: #define TkUnixSetMenubar \ jpayne@69: (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ jpayne@69: #define TkpScanWindowId \ jpayne@69: (tkIntPlatStubsPtr->tkpScanWindowId) /* 8 */ jpayne@69: #define TkWmCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkWmCleanup) /* 9 */ jpayne@69: #define TkSendCleanup \ jpayne@69: (tkIntPlatStubsPtr->tkSendCleanup) /* 10 */ jpayne@69: /* Slot 11 is reserved */ jpayne@69: #define TkpWmSetState \ jpayne@69: (tkIntPlatStubsPtr->tkpWmSetState) /* 12 */ jpayne@69: #define TkpTestsendCmd \ jpayne@69: (tkIntPlatStubsPtr->tkpTestsendCmd) /* 13 */ jpayne@69: /* Slot 14 is reserved */ jpayne@69: /* Slot 15 is reserved */ jpayne@69: /* Slot 16 is reserved */ jpayne@69: /* Slot 17 is reserved */ jpayne@69: /* Slot 18 is reserved */ jpayne@69: /* Slot 19 is reserved */ jpayne@69: /* Slot 20 is reserved */ jpayne@69: /* Slot 21 is reserved */ jpayne@69: /* Slot 22 is reserved */ jpayne@69: /* Slot 23 is reserved */ jpayne@69: /* Slot 24 is reserved */ jpayne@69: /* Slot 25 is reserved */ jpayne@69: /* Slot 26 is reserved */ jpayne@69: /* Slot 27 is reserved */ jpayne@69: /* Slot 28 is reserved */ jpayne@69: /* Slot 29 is reserved */ jpayne@69: /* Slot 30 is reserved */ jpayne@69: /* Slot 31 is reserved */ jpayne@69: /* Slot 32 is reserved */ jpayne@69: /* Slot 33 is reserved */ jpayne@69: /* Slot 34 is reserved */ jpayne@69: /* Slot 35 is reserved */ jpayne@69: /* Slot 36 is reserved */ jpayne@69: /* Slot 37 is reserved */ jpayne@69: #define TkpCmapStressed_ \ jpayne@69: (tkIntPlatStubsPtr->tkpCmapStressed_) /* 38 */ jpayne@69: #define TkpSync_ \ jpayne@69: (tkIntPlatStubsPtr->tkpSync_) /* 39 */ jpayne@69: #define TkUnixContainerId_ \ jpayne@69: (tkIntPlatStubsPtr->tkUnixContainerId_) /* 40 */ jpayne@69: #define TkUnixDoOneXEvent_ \ jpayne@69: (tkIntPlatStubsPtr->tkUnixDoOneXEvent_) /* 41 */ jpayne@69: #define TkUnixSetMenubar_ \ jpayne@69: (tkIntPlatStubsPtr->tkUnixSetMenubar_) /* 42 */ jpayne@69: #define TkWmCleanup_ \ jpayne@69: (tkIntPlatStubsPtr->tkWmCleanup_) /* 43 */ jpayne@69: #define TkSendCleanup_ \ jpayne@69: (tkIntPlatStubsPtr->tkSendCleanup_) /* 44 */ jpayne@69: #define TkpTestsendCmd_ \ jpayne@69: (tkIntPlatStubsPtr->tkpTestsendCmd_) /* 45 */ jpayne@69: #endif /* X11 */ jpayne@69: jpayne@69: #endif /* defined(USE_TK_STUBS) */ jpayne@69: jpayne@69: /* !END!: Do not edit above this line. */ jpayne@69: jpayne@69: #undef TkpCmapStressed_ jpayne@69: #undef TkpSync_ jpayne@69: #undef TkUnixContainerId_ jpayne@69: #undef TkUnixDoOneXEvent_ jpayne@69: #undef TkUnixSetMenubar_ jpayne@69: #undef TkWmCleanup_ jpayne@69: #undef TkSendCleanup_ jpayne@69: #undef TkpTestsendCmd_ jpayne@69: #undef TkGenerateActivateEvents_ jpayne@69: jpayne@69: #define TkMacOSXGetContainer TkGetTransientMaster jpayne@69: jpayne@69: #undef TCL_STORAGE_CLASS jpayne@69: #define TCL_STORAGE_CLASS DLLIMPORT jpayne@69: jpayne@69: #endif /* _TKINTPLATDECLS */