File indexing completed on 2025-01-17 09:56:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef _TKINTPLATDECLS
0014 #define _TKINTPLATDECLS
0015
0016 #ifdef BUILD_tk
0017 #undef TCL_STORAGE_CLASS
0018 #define TCL_STORAGE_CLASS DLLEXPORT
0019 #endif
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032
0033
0034
0035
0036
0037 #if defined(_WIN32) || defined(__CYGWIN__)
0038
0039 EXTERN char * TkAlignImageData(XImage *image, int alignment,
0040 int bitOrder);
0041
0042
0043 EXTERN void TkGenerateActivateEvents(TkWindow *winPtr,
0044 int active);
0045
0046 EXTERN unsigned long TkpGetMS(void);
0047
0048 EXTERN void TkPointerDeadWindow(TkWindow *winPtr);
0049
0050 EXTERN void TkpPrintWindowId(char *buf, Window window);
0051
0052 EXTERN int TkpScanWindowId(Tcl_Interp *interp,
0053 const char *string, Window *idPtr);
0054
0055 EXTERN void TkpSetCapture(TkWindow *winPtr);
0056
0057 EXTERN void TkpSetCursor(TkpCursor cursor);
0058
0059 EXTERN int TkpWmSetState(TkWindow *winPtr, int state);
0060
0061 EXTERN void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap);
0062
0063 EXTERN void TkWinCancelMouseTimer(void);
0064
0065 EXTERN void TkWinClipboardRender(TkDisplay *dispPtr, UINT format);
0066
0067 EXTERN LRESULT TkWinEmbeddedEventProc(HWND hwnd, UINT message,
0068 WPARAM wParam, LPARAM lParam);
0069
0070 EXTERN void TkWinFillRect(HDC dc, int x, int y, int width,
0071 int height, int pixel);
0072
0073 EXTERN COLORREF TkWinGetBorderPixels(Tk_Window tkwin,
0074 Tk_3DBorder border, int which);
0075
0076 EXTERN HDC TkWinGetDrawableDC(Display *display, Drawable d,
0077 TkWinDCState *state);
0078
0079 EXTERN int TkWinGetModifierState(void);
0080
0081 EXTERN HPALETTE TkWinGetSystemPalette(void);
0082
0083 EXTERN HWND TkWinGetWrapperWindow(Tk_Window tkwin);
0084
0085 EXTERN int TkWinHandleMenuEvent(HWND *phwnd, UINT *pMessage,
0086 WPARAM *pwParam, LPARAM *plParam,
0087 LRESULT *plResult);
0088
0089 EXTERN int TkWinIndexOfColor(XColor *colorPtr);
0090
0091 EXTERN void TkWinReleaseDrawableDC(Drawable d, HDC hdc,
0092 TkWinDCState *state);
0093
0094 EXTERN LRESULT TkWinResendEvent(WNDPROC wndproc, HWND hwnd,
0095 XEvent *eventPtr);
0096
0097 EXTERN HPALETTE TkWinSelectPalette(HDC dc, Colormap colormap);
0098
0099 EXTERN void TkWinSetMenu(Tk_Window tkwin, HMENU hMenu);
0100
0101 EXTERN void TkWinSetWindowPos(HWND hwnd, HWND siblingHwnd,
0102 int pos);
0103
0104 EXTERN void TkWinWmCleanup(HINSTANCE hInstance);
0105
0106 EXTERN void TkWinXCleanup(ClientData clientData);
0107
0108 EXTERN void TkWinXInit(HINSTANCE hInstance);
0109
0110 EXTERN void TkWinSetForegroundWindow(TkWindow *winPtr);
0111
0112 EXTERN void TkWinDialogDebug(int debug);
0113
0114 EXTERN Tcl_Obj * TkWinGetMenuSystemDefault(Tk_Window tkwin,
0115 const char *dbName, const char *className);
0116
0117 EXTERN int TkWinGetPlatformId(void);
0118
0119 EXTERN void TkWinSetHINSTANCE(HINSTANCE hInstance);
0120
0121 EXTERN int TkWinGetPlatformTheme(void);
0122
0123 EXTERN LRESULT __stdcall TkWinChildProc(HWND hwnd, UINT message,
0124 WPARAM wParam, LPARAM lParam);
0125
0126 EXTERN void TkCreateXEventSource(void);
0127
0128 EXTERN int TkpCmapStressed(Tk_Window tkwin, Colormap colormap);
0129
0130 EXTERN void TkpSync(Display *display);
0131
0132 EXTERN Window TkUnixContainerId(TkWindow *winPtr);
0133
0134 EXTERN int TkUnixDoOneXEvent(Tcl_Time *timePtr);
0135
0136 EXTERN void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar);
0137
0138 EXTERN void TkWmCleanup(TkDisplay *dispPtr);
0139
0140 EXTERN void TkSendCleanup(TkDisplay *dispPtr);
0141
0142 EXTERN int TkpTestsendCmd(ClientData clientData,
0143 Tcl_Interp *interp, int objc,
0144 Tcl_Obj *const objv[]);
0145
0146
0147 EXTERN Tk_Window TkpGetCapture(void);
0148 #endif
0149 #ifdef MAC_OSX_TK
0150
0151 EXTERN void TkGenerateActivateEvents(TkWindow *winPtr,
0152 int active);
0153
0154
0155 EXTERN void TkGenerateActivateEvents_(TkWindow *winPtr,
0156 int active);
0157
0158 EXTERN void TkPointerDeadWindow(TkWindow *winPtr);
0159
0160 EXTERN void TkpSetCapture(TkWindow *winPtr);
0161
0162 EXTERN void TkpSetCursor(TkpCursor cursor);
0163
0164 EXTERN void TkpWmSetState(TkWindow *winPtr, int state);
0165
0166 EXTERN void TkAboutDlg(void);
0167
0168 EXTERN unsigned int TkMacOSXButtonKeyState(void);
0169
0170 EXTERN void TkMacOSXClearMenubarActive(void);
0171
0172 EXTERN int TkMacOSXDispatchMenuEvent(int menuID, int index);
0173
0174 EXTERN void TkMacOSXInstallCursor(int resizeOverride);
0175
0176 EXTERN void TkMacOSXHandleTearoffMenu(void);
0177
0178
0179 EXTERN int TkMacOSXDoHLEvent(void *theEvent);
0180
0181
0182 EXTERN Window TkMacOSXGetXWindow(void *macWinPtr);
0183
0184 EXTERN int TkMacOSXGrowToplevel(void *whichWindow, XPoint start);
0185
0186 EXTERN void TkMacOSXHandleMenuSelect(short theMenu,
0187 unsigned short theItem, int optionKeyPressed);
0188
0189
0190
0191 EXTERN void TkMacOSXInvalidateWindow(MacDrawable *macWin,
0192 int flag);
0193
0194 EXTERN int TkMacOSXIsCharacterMissing(Tk_Font tkfont,
0195 unsigned int searchChar);
0196
0197 EXTERN void TkMacOSXMakeRealWindowExist(TkWindow *winPtr);
0198
0199 EXTERN void * TkMacOSXMakeStippleMap(Drawable d1, Drawable d2);
0200
0201 EXTERN void TkMacOSXMenuClick(void);
0202
0203
0204 EXTERN int TkMacOSXResizable(TkWindow *winPtr);
0205
0206 EXTERN void TkMacOSXSetHelpMenuItemCount(void);
0207
0208 EXTERN void TkMacOSXSetScrollbarGrow(TkWindow *winPtr, int flag);
0209
0210 EXTERN void TkMacOSXSetUpClippingRgn(Drawable drawable);
0211
0212 EXTERN void TkMacOSXSetUpGraphicsPort(GC gc, void *destPort);
0213
0214 EXTERN void TkMacOSXUpdateClipRgn(TkWindow *winPtr);
0215
0216
0217 EXTERN int TkMacOSXUseMenuID(short macID);
0218
0219 EXTERN TkRegion TkMacOSXVisableClipRgn(TkWindow *winPtr);
0220
0221 EXTERN void TkMacOSXWinBounds(TkWindow *winPtr, void *geometry);
0222
0223 EXTERN void TkMacOSXWindowOffset(void *wRef, int *xOffset,
0224 int *yOffset);
0225
0226 EXTERN int TkSetMacColor(unsigned long pixel, void *macColor);
0227
0228 EXTERN void TkSetWMName(TkWindow *winPtr, Tk_Uid titleUid);
0229
0230
0231 EXTERN int TkMacOSXZoomToplevel(void *whichWindow,
0232 short zoomPart);
0233
0234 EXTERN Tk_Window Tk_TopCoordsToWindow(Tk_Window tkwin, int rootX,
0235 int rootY, int *newX, int *newY);
0236
0237 EXTERN MacDrawable * TkMacOSXContainerId(TkWindow *winPtr);
0238
0239 EXTERN MacDrawable * TkMacOSXGetHostToplevel(TkWindow *winPtr);
0240
0241 EXTERN void TkMacOSXPreprocessMenu(void);
0242
0243 EXTERN int TkpIsWindowFloating(void *window);
0244
0245 EXTERN Tk_Window TkMacOSXGetCapture(void);
0246
0247
0248 EXTERN Tk_Window TkGetTransientMaster(TkWindow *winPtr);
0249
0250 EXTERN int TkGenerateButtonEvent(int x, int y, Window window,
0251 unsigned int state);
0252
0253 EXTERN void TkGenWMDestroyEvent(Tk_Window tkwin);
0254
0255 EXTERN void TkMacOSXSetDrawingEnabled(TkWindow *winPtr, int flag);
0256
0257 EXTERN unsigned long TkpGetMS(void);
0258
0259 EXTERN void * TkMacOSXDrawable(Drawable drawable);
0260
0261 EXTERN int TkpScanWindowId(Tcl_Interp *interp,
0262 const char *string, Window *idPtr);
0263 #endif
0264 #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK))
0265
0266 EXTERN void TkCreateXEventSource(void);
0267
0268
0269 EXTERN void TkGenerateActivateEvents(TkWindow *winPtr,
0270 int active);
0271
0272 EXTERN int TkpCmapStressed(Tk_Window tkwin, Colormap colormap);
0273
0274 EXTERN void TkpSync(Display *display);
0275
0276 EXTERN Window TkUnixContainerId(TkWindow *winPtr);
0277
0278 EXTERN int TkUnixDoOneXEvent(Tcl_Time *timePtr);
0279
0280 EXTERN void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar);
0281
0282 EXTERN int TkpScanWindowId(Tcl_Interp *interp,
0283 const char *string, Window *idPtr);
0284
0285 EXTERN void TkWmCleanup(TkDisplay *dispPtr);
0286
0287 EXTERN void TkSendCleanup(TkDisplay *dispPtr);
0288
0289
0290 EXTERN int TkpWmSetState(TkWindow *winPtr, int state);
0291
0292 EXTERN int TkpTestsendCmd(ClientData clientData,
0293 Tcl_Interp *interp, int objc,
0294 Tcl_Obj *const objv[]);
0295
0296
0297
0298
0299
0300
0301
0302
0303
0304
0305
0306
0307
0308
0309
0310
0311
0312
0313
0314
0315
0316
0317
0318
0319
0320 EXTERN int TkpCmapStressed_(Tk_Window tkwin, Colormap colormap);
0321
0322 EXTERN void TkpSync_(Display *display);
0323
0324 EXTERN Window TkUnixContainerId_(TkWindow *winPtr);
0325
0326 EXTERN int TkUnixDoOneXEvent_(Tcl_Time *timePtr);
0327
0328 EXTERN void TkUnixSetMenubar_(Tk_Window tkwin, Tk_Window menubar);
0329
0330 EXTERN void TkWmCleanup_(TkDisplay *dispPtr);
0331
0332 EXTERN void TkSendCleanup_(TkDisplay *dispPtr);
0333
0334 EXTERN int TkpTestsendCmd_(ClientData clientData,
0335 Tcl_Interp *interp, int objc,
0336 Tcl_Obj *const objv[]);
0337 #endif
0338
0339 typedef struct TkIntPlatStubs {
0340 int magic;
0341 void *hooks;
0342
0343 #if defined(_WIN32) || defined(__CYGWIN__)
0344 char * (*tkAlignImageData) (XImage *image, int alignment, int bitOrder);
0345 void (*reserved1)(void);
0346 void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active);
0347 unsigned long (*tkpGetMS) (void);
0348 void (*tkPointerDeadWindow) (TkWindow *winPtr);
0349 void (*tkpPrintWindowId) (char *buf, Window window);
0350 int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr);
0351 void (*tkpSetCapture) (TkWindow *winPtr);
0352 void (*tkpSetCursor) (TkpCursor cursor);
0353 int (*tkpWmSetState) (TkWindow *winPtr, int state);
0354 void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap);
0355 void (*tkWinCancelMouseTimer) (void);
0356 void (*tkWinClipboardRender) (TkDisplay *dispPtr, UINT format);
0357 LRESULT (*tkWinEmbeddedEventProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
0358 void (*tkWinFillRect) (HDC dc, int x, int y, int width, int height, int pixel);
0359 COLORREF (*tkWinGetBorderPixels) (Tk_Window tkwin, Tk_3DBorder border, int which);
0360 HDC (*tkWinGetDrawableDC) (Display *display, Drawable d, TkWinDCState *state);
0361 int (*tkWinGetModifierState) (void);
0362 HPALETTE (*tkWinGetSystemPalette) (void);
0363 HWND (*tkWinGetWrapperWindow) (Tk_Window tkwin);
0364 int (*tkWinHandleMenuEvent) (HWND *phwnd, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, LRESULT *plResult);
0365 int (*tkWinIndexOfColor) (XColor *colorPtr);
0366 void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState *state);
0367 LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr);
0368 HPALETTE (*tkWinSelectPalette) (HDC dc, Colormap colormap);
0369 void (*tkWinSetMenu) (Tk_Window tkwin, HMENU hMenu);
0370 void (*tkWinSetWindowPos) (HWND hwnd, HWND siblingHwnd, int pos);
0371 void (*tkWinWmCleanup) (HINSTANCE hInstance);
0372 void (*tkWinXCleanup) (ClientData clientData);
0373 void (*tkWinXInit) (HINSTANCE hInstance);
0374 void (*tkWinSetForegroundWindow) (TkWindow *winPtr);
0375 void (*tkWinDialogDebug) (int debug);
0376 Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, const char *dbName, const char *className);
0377 int (*tkWinGetPlatformId) (void);
0378 void (*tkWinSetHINSTANCE) (HINSTANCE hInstance);
0379 int (*tkWinGetPlatformTheme) (void);
0380 LRESULT (__stdcall *tkWinChildProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
0381 void (*tkCreateXEventSource) (void);
0382 int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap);
0383 void (*tkpSync) (Display *display);
0384 Window (*tkUnixContainerId) (TkWindow *winPtr);
0385 int (*tkUnixDoOneXEvent) (Tcl_Time *timePtr);
0386 void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar);
0387 void (*tkWmCleanup) (TkDisplay *dispPtr);
0388 void (*tkSendCleanup) (TkDisplay *dispPtr);
0389 int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]);
0390 void (*reserved46)(void);
0391 Tk_Window (*tkpGetCapture) (void);
0392 #endif
0393 #ifdef MAC_OSX_TK
0394 void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active);
0395 void (*reserved1)(void);
0396 void (*tkGenerateActivateEvents_) (TkWindow *winPtr, int active);
0397 void (*tkPointerDeadWindow) (TkWindow *winPtr);
0398 void (*tkpSetCapture) (TkWindow *winPtr);
0399 void (*tkpSetCursor) (TkpCursor cursor);
0400 void (*tkpWmSetState) (TkWindow *winPtr, int state);
0401 void (*tkAboutDlg) (void);
0402 unsigned int (*tkMacOSXButtonKeyState) (void);
0403 void (*tkMacOSXClearMenubarActive) (void);
0404 int (*tkMacOSXDispatchMenuEvent) (int menuID, int index);
0405 void (*tkMacOSXInstallCursor) (int resizeOverride);
0406 void (*tkMacOSXHandleTearoffMenu) (void);
0407 void (*reserved13)(void);
0408 int (*tkMacOSXDoHLEvent) (void *theEvent);
0409 void (*reserved15)(void);
0410 Window (*tkMacOSXGetXWindow) (void *macWinPtr);
0411 int (*tkMacOSXGrowToplevel) (void *whichWindow, XPoint start);
0412 void (*tkMacOSXHandleMenuSelect) (short theMenu, unsigned short theItem, int optionKeyPressed);
0413 void (*reserved19)(void);
0414 void (*reserved20)(void);
0415 void (*tkMacOSXInvalidateWindow) (MacDrawable *macWin, int flag);
0416 int (*tkMacOSXIsCharacterMissing) (Tk_Font tkfont, unsigned int searchChar);
0417 void (*tkMacOSXMakeRealWindowExist) (TkWindow *winPtr);
0418 void * (*tkMacOSXMakeStippleMap) (Drawable d1, Drawable d2);
0419 void (*tkMacOSXMenuClick) (void);
0420 void (*reserved26)(void);
0421 int (*tkMacOSXResizable) (TkWindow *winPtr);
0422 void (*tkMacOSXSetHelpMenuItemCount) (void);
0423 void (*tkMacOSXSetScrollbarGrow) (TkWindow *winPtr, int flag);
0424 void (*tkMacOSXSetUpClippingRgn) (Drawable drawable);
0425 void (*tkMacOSXSetUpGraphicsPort) (GC gc, void *destPort);
0426 void (*tkMacOSXUpdateClipRgn) (TkWindow *winPtr);
0427 void (*reserved33)(void);
0428 int (*tkMacOSXUseMenuID) (short macID);
0429 TkRegion (*tkMacOSXVisableClipRgn) (TkWindow *winPtr);
0430 void (*tkMacOSXWinBounds) (TkWindow *winPtr, void *geometry);
0431 void (*tkMacOSXWindowOffset) (void *wRef, int *xOffset, int *yOffset);
0432 int (*tkSetMacColor) (unsigned long pixel, void *macColor);
0433 void (*tkSetWMName) (TkWindow *winPtr, Tk_Uid titleUid);
0434 void (*reserved40)(void);
0435 int (*tkMacOSXZoomToplevel) (void *whichWindow, short zoomPart);
0436 Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int *newX, int *newY);
0437 MacDrawable * (*tkMacOSXContainerId) (TkWindow *winPtr);
0438 MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow *winPtr);
0439 void (*tkMacOSXPreprocessMenu) (void);
0440 int (*tkpIsWindowFloating) (void *window);
0441 Tk_Window (*tkMacOSXGetCapture) (void);
0442 void (*reserved48)(void);
0443 Tk_Window (*tkGetTransientMaster) (TkWindow *winPtr);
0444 int (*tkGenerateButtonEvent) (int x, int y, Window window, unsigned int state);
0445 void (*tkGenWMDestroyEvent) (Tk_Window tkwin);
0446 void (*tkMacOSXSetDrawingEnabled) (TkWindow *winPtr, int flag);
0447 unsigned long (*tkpGetMS) (void);
0448 void * (*tkMacOSXDrawable) (Drawable drawable);
0449 int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr);
0450 #endif
0451 #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK))
0452 void (*tkCreateXEventSource) (void);
0453 void (*reserved1)(void);
0454 void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active);
0455 int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap);
0456 void (*tkpSync) (Display *display);
0457 Window (*tkUnixContainerId) (TkWindow *winPtr);
0458 int (*tkUnixDoOneXEvent) (Tcl_Time *timePtr);
0459 void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar);
0460 int (*tkpScanWindowId) (Tcl_Interp *interp, const char *string, Window *idPtr);
0461 void (*tkWmCleanup) (TkDisplay *dispPtr);
0462 void (*tkSendCleanup) (TkDisplay *dispPtr);
0463 void (*reserved11)(void);
0464 int (*tkpWmSetState) (TkWindow *winPtr, int state);
0465 int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]);
0466 void (*reserved14)(void);
0467 void (*reserved15)(void);
0468 void (*reserved16)(void);
0469 void (*reserved17)(void);
0470 void (*reserved18)(void);
0471 void (*reserved19)(void);
0472 void (*reserved20)(void);
0473 void (*reserved21)(void);
0474 void (*reserved22)(void);
0475 void (*reserved23)(void);
0476 void (*reserved24)(void);
0477 void (*reserved25)(void);
0478 void (*reserved26)(void);
0479 void (*reserved27)(void);
0480 void (*reserved28)(void);
0481 void (*reserved29)(void);
0482 void (*reserved30)(void);
0483 void (*reserved31)(void);
0484 void (*reserved32)(void);
0485 void (*reserved33)(void);
0486 void (*reserved34)(void);
0487 void (*reserved35)(void);
0488 void (*reserved36)(void);
0489 void (*reserved37)(void);
0490 int (*tkpCmapStressed_) (Tk_Window tkwin, Colormap colormap);
0491 void (*tkpSync_) (Display *display);
0492 Window (*tkUnixContainerId_) (TkWindow *winPtr);
0493 int (*tkUnixDoOneXEvent_) (Tcl_Time *timePtr);
0494 void (*tkUnixSetMenubar_) (Tk_Window tkwin, Tk_Window menubar);
0495 void (*tkWmCleanup_) (TkDisplay *dispPtr);
0496 void (*tkSendCleanup_) (TkDisplay *dispPtr);
0497 int (*tkpTestsendCmd_) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]);
0498 #endif
0499 } TkIntPlatStubs;
0500
0501 extern const TkIntPlatStubs *tkIntPlatStubsPtr;
0502
0503 #ifdef __cplusplus
0504 }
0505 #endif
0506
0507 #if defined(USE_TK_STUBS)
0508
0509
0510
0511
0512
0513 #if defined(_WIN32) || defined(__CYGWIN__)
0514 #define TkAlignImageData \
0515 (tkIntPlatStubsPtr->tkAlignImageData)
0516
0517 #define TkGenerateActivateEvents \
0518 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
0519 #define TkpGetMS \
0520 (tkIntPlatStubsPtr->tkpGetMS)
0521 #define TkPointerDeadWindow \
0522 (tkIntPlatStubsPtr->tkPointerDeadWindow)
0523 #define TkpPrintWindowId \
0524 (tkIntPlatStubsPtr->tkpPrintWindowId)
0525 #define TkpScanWindowId \
0526 (tkIntPlatStubsPtr->tkpScanWindowId)
0527 #define TkpSetCapture \
0528 (tkIntPlatStubsPtr->tkpSetCapture)
0529 #define TkpSetCursor \
0530 (tkIntPlatStubsPtr->tkpSetCursor)
0531 #define TkpWmSetState \
0532 (tkIntPlatStubsPtr->tkpWmSetState)
0533 #define TkSetPixmapColormap \
0534 (tkIntPlatStubsPtr->tkSetPixmapColormap)
0535 #define TkWinCancelMouseTimer \
0536 (tkIntPlatStubsPtr->tkWinCancelMouseTimer)
0537 #define TkWinClipboardRender \
0538 (tkIntPlatStubsPtr->tkWinClipboardRender)
0539 #define TkWinEmbeddedEventProc \
0540 (tkIntPlatStubsPtr->tkWinEmbeddedEventProc)
0541 #define TkWinFillRect \
0542 (tkIntPlatStubsPtr->tkWinFillRect)
0543 #define TkWinGetBorderPixels \
0544 (tkIntPlatStubsPtr->tkWinGetBorderPixels)
0545 #define TkWinGetDrawableDC \
0546 (tkIntPlatStubsPtr->tkWinGetDrawableDC)
0547 #define TkWinGetModifierState \
0548 (tkIntPlatStubsPtr->tkWinGetModifierState)
0549 #define TkWinGetSystemPalette \
0550 (tkIntPlatStubsPtr->tkWinGetSystemPalette)
0551 #define TkWinGetWrapperWindow \
0552 (tkIntPlatStubsPtr->tkWinGetWrapperWindow)
0553 #define TkWinHandleMenuEvent \
0554 (tkIntPlatStubsPtr->tkWinHandleMenuEvent)
0555 #define TkWinIndexOfColor \
0556 (tkIntPlatStubsPtr->tkWinIndexOfColor)
0557 #define TkWinReleaseDrawableDC \
0558 (tkIntPlatStubsPtr->tkWinReleaseDrawableDC)
0559 #define TkWinResendEvent \
0560 (tkIntPlatStubsPtr->tkWinResendEvent)
0561 #define TkWinSelectPalette \
0562 (tkIntPlatStubsPtr->tkWinSelectPalette)
0563 #define TkWinSetMenu \
0564 (tkIntPlatStubsPtr->tkWinSetMenu)
0565 #define TkWinSetWindowPos \
0566 (tkIntPlatStubsPtr->tkWinSetWindowPos)
0567 #define TkWinWmCleanup \
0568 (tkIntPlatStubsPtr->tkWinWmCleanup)
0569 #define TkWinXCleanup \
0570 (tkIntPlatStubsPtr->tkWinXCleanup)
0571 #define TkWinXInit \
0572 (tkIntPlatStubsPtr->tkWinXInit)
0573 #define TkWinSetForegroundWindow \
0574 (tkIntPlatStubsPtr->tkWinSetForegroundWindow)
0575 #define TkWinDialogDebug \
0576 (tkIntPlatStubsPtr->tkWinDialogDebug)
0577 #define TkWinGetMenuSystemDefault \
0578 (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault)
0579 #define TkWinGetPlatformId \
0580 (tkIntPlatStubsPtr->tkWinGetPlatformId)
0581 #define TkWinSetHINSTANCE \
0582 (tkIntPlatStubsPtr->tkWinSetHINSTANCE)
0583 #define TkWinGetPlatformTheme \
0584 (tkIntPlatStubsPtr->tkWinGetPlatformTheme)
0585 #define TkWinChildProc \
0586 (tkIntPlatStubsPtr->tkWinChildProc)
0587 #define TkCreateXEventSource \
0588 (tkIntPlatStubsPtr->tkCreateXEventSource)
0589 #define TkpCmapStressed \
0590 (tkIntPlatStubsPtr->tkpCmapStressed)
0591 #define TkpSync \
0592 (tkIntPlatStubsPtr->tkpSync)
0593 #define TkUnixContainerId \
0594 (tkIntPlatStubsPtr->tkUnixContainerId)
0595 #define TkUnixDoOneXEvent \
0596 (tkIntPlatStubsPtr->tkUnixDoOneXEvent)
0597 #define TkUnixSetMenubar \
0598 (tkIntPlatStubsPtr->tkUnixSetMenubar)
0599 #define TkWmCleanup \
0600 (tkIntPlatStubsPtr->tkWmCleanup)
0601 #define TkSendCleanup \
0602 (tkIntPlatStubsPtr->tkSendCleanup)
0603 #define TkpTestsendCmd \
0604 (tkIntPlatStubsPtr->tkpTestsendCmd)
0605
0606 #define TkpGetCapture \
0607 (tkIntPlatStubsPtr->tkpGetCapture)
0608 #endif
0609 #ifdef MAC_OSX_TK
0610 #define TkGenerateActivateEvents \
0611 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
0612
0613 #define TkGenerateActivateEvents_ \
0614 (tkIntPlatStubsPtr->tkGenerateActivateEvents_)
0615 #define TkPointerDeadWindow \
0616 (tkIntPlatStubsPtr->tkPointerDeadWindow)
0617 #define TkpSetCapture \
0618 (tkIntPlatStubsPtr->tkpSetCapture)
0619 #define TkpSetCursor \
0620 (tkIntPlatStubsPtr->tkpSetCursor)
0621 #define TkpWmSetState \
0622 (tkIntPlatStubsPtr->tkpWmSetState)
0623 #define TkAboutDlg \
0624 (tkIntPlatStubsPtr->tkAboutDlg)
0625 #define TkMacOSXButtonKeyState \
0626 (tkIntPlatStubsPtr->tkMacOSXButtonKeyState)
0627 #define TkMacOSXClearMenubarActive \
0628 (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive)
0629 #define TkMacOSXDispatchMenuEvent \
0630 (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent)
0631 #define TkMacOSXInstallCursor \
0632 (tkIntPlatStubsPtr->tkMacOSXInstallCursor)
0633 #define TkMacOSXHandleTearoffMenu \
0634 (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu)
0635
0636 #define TkMacOSXDoHLEvent \
0637 (tkIntPlatStubsPtr->tkMacOSXDoHLEvent)
0638
0639 #define TkMacOSXGetXWindow \
0640 (tkIntPlatStubsPtr->tkMacOSXGetXWindow)
0641 #define TkMacOSXGrowToplevel \
0642 (tkIntPlatStubsPtr->tkMacOSXGrowToplevel)
0643 #define TkMacOSXHandleMenuSelect \
0644 (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect)
0645
0646
0647 #define TkMacOSXInvalidateWindow \
0648 (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow)
0649 #define TkMacOSXIsCharacterMissing \
0650 (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing)
0651 #define TkMacOSXMakeRealWindowExist \
0652 (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist)
0653 #define TkMacOSXMakeStippleMap \
0654 (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap)
0655 #define TkMacOSXMenuClick \
0656 (tkIntPlatStubsPtr->tkMacOSXMenuClick)
0657
0658 #define TkMacOSXResizable \
0659 (tkIntPlatStubsPtr->tkMacOSXResizable)
0660 #define TkMacOSXSetHelpMenuItemCount \
0661 (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount)
0662 #define TkMacOSXSetScrollbarGrow \
0663 (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow)
0664 #define TkMacOSXSetUpClippingRgn \
0665 (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn)
0666 #define TkMacOSXSetUpGraphicsPort \
0667 (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort)
0668 #define TkMacOSXUpdateClipRgn \
0669 (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn)
0670
0671 #define TkMacOSXUseMenuID \
0672 (tkIntPlatStubsPtr->tkMacOSXUseMenuID)
0673 #define TkMacOSXVisableClipRgn \
0674 (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn)
0675 #define TkMacOSXWinBounds \
0676 (tkIntPlatStubsPtr->tkMacOSXWinBounds)
0677 #define TkMacOSXWindowOffset \
0678 (tkIntPlatStubsPtr->tkMacOSXWindowOffset)
0679 #define TkSetMacColor \
0680 (tkIntPlatStubsPtr->tkSetMacColor)
0681 #define TkSetWMName \
0682 (tkIntPlatStubsPtr->tkSetWMName)
0683
0684 #define TkMacOSXZoomToplevel \
0685 (tkIntPlatStubsPtr->tkMacOSXZoomToplevel)
0686 #define Tk_TopCoordsToWindow \
0687 (tkIntPlatStubsPtr->tk_TopCoordsToWindow)
0688 #define TkMacOSXContainerId \
0689 (tkIntPlatStubsPtr->tkMacOSXContainerId)
0690 #define TkMacOSXGetHostToplevel \
0691 (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel)
0692 #define TkMacOSXPreprocessMenu \
0693 (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu)
0694 #define TkpIsWindowFloating \
0695 (tkIntPlatStubsPtr->tkpIsWindowFloating)
0696 #define TkMacOSXGetCapture \
0697 (tkIntPlatStubsPtr->tkMacOSXGetCapture)
0698
0699 #define TkGetTransientMaster \
0700 (tkIntPlatStubsPtr->tkGetTransientMaster)
0701 #define TkGenerateButtonEvent \
0702 (tkIntPlatStubsPtr->tkGenerateButtonEvent)
0703 #define TkGenWMDestroyEvent \
0704 (tkIntPlatStubsPtr->tkGenWMDestroyEvent)
0705 #define TkMacOSXSetDrawingEnabled \
0706 (tkIntPlatStubsPtr->tkMacOSXSetDrawingEnabled)
0707 #define TkpGetMS \
0708 (tkIntPlatStubsPtr->tkpGetMS)
0709 #define TkMacOSXDrawable \
0710 (tkIntPlatStubsPtr->tkMacOSXDrawable)
0711 #define TkpScanWindowId \
0712 (tkIntPlatStubsPtr->tkpScanWindowId)
0713 #endif
0714 #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK))
0715 #define TkCreateXEventSource \
0716 (tkIntPlatStubsPtr->tkCreateXEventSource)
0717
0718 #define TkGenerateActivateEvents \
0719 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
0720 #define TkpCmapStressed \
0721 (tkIntPlatStubsPtr->tkpCmapStressed)
0722 #define TkpSync \
0723 (tkIntPlatStubsPtr->tkpSync)
0724 #define TkUnixContainerId \
0725 (tkIntPlatStubsPtr->tkUnixContainerId)
0726 #define TkUnixDoOneXEvent \
0727 (tkIntPlatStubsPtr->tkUnixDoOneXEvent)
0728 #define TkUnixSetMenubar \
0729 (tkIntPlatStubsPtr->tkUnixSetMenubar)
0730 #define TkpScanWindowId \
0731 (tkIntPlatStubsPtr->tkpScanWindowId)
0732 #define TkWmCleanup \
0733 (tkIntPlatStubsPtr->tkWmCleanup)
0734 #define TkSendCleanup \
0735 (tkIntPlatStubsPtr->tkSendCleanup)
0736
0737 #define TkpWmSetState \
0738 (tkIntPlatStubsPtr->tkpWmSetState)
0739 #define TkpTestsendCmd \
0740 (tkIntPlatStubsPtr->tkpTestsendCmd)
0741
0742
0743
0744
0745
0746
0747
0748
0749
0750
0751
0752
0753
0754
0755
0756
0757
0758
0759
0760
0761
0762
0763
0764
0765 #define TkpCmapStressed_ \
0766 (tkIntPlatStubsPtr->tkpCmapStressed_)
0767 #define TkpSync_ \
0768 (tkIntPlatStubsPtr->tkpSync_)
0769 #define TkUnixContainerId_ \
0770 (tkIntPlatStubsPtr->tkUnixContainerId_)
0771 #define TkUnixDoOneXEvent_ \
0772 (tkIntPlatStubsPtr->tkUnixDoOneXEvent_)
0773 #define TkUnixSetMenubar_ \
0774 (tkIntPlatStubsPtr->tkUnixSetMenubar_)
0775 #define TkWmCleanup_ \
0776 (tkIntPlatStubsPtr->tkWmCleanup_)
0777 #define TkSendCleanup_ \
0778 (tkIntPlatStubsPtr->tkSendCleanup_)
0779 #define TkpTestsendCmd_ \
0780 (tkIntPlatStubsPtr->tkpTestsendCmd_)
0781 #endif
0782
0783 #endif
0784
0785
0786
0787 #undef TkpCmapStressed_
0788 #undef TkpSync_
0789 #undef TkUnixContainerId_
0790 #undef TkUnixDoOneXEvent_
0791 #undef TkUnixSetMenubar_
0792 #undef TkWmCleanup_
0793 #undef TkSendCleanup_
0794 #undef TkpTestsendCmd_
0795 #undef TkGenerateActivateEvents_
0796
0797 #define TkMacOSXGetContainer TkGetTransientMaster
0798
0799 #undef TCL_STORAGE_CLASS
0800 #define TCL_STORAGE_CLASS DLLIMPORT
0801
0802 #endif