00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _TKINTPLATDECLS
00016 #define _TKINTPLATDECLS
00017
00018 #ifdef BUILD_tk
00019 #undef TCL_STORAGE_CLASS
00020 #define TCL_STORAGE_CLASS DLLEXPORT
00021 #endif
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifdef __WIN32__
00036
00037 EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image,
00038 int alignment, int bitOrder));
00039
00040
00041 EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
00042 TkWindow * winPtr, int active));
00043
00044 EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
00045
00046 EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
00047
00048 EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf,
00049 Window window));
00050
00051 EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
00052 CONST char * string, Window * idPtr));
00053
00054 EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
00055
00056 EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
00057
00058 EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00059 int state));
00060
00061 EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
00062 Colormap colormap));
00063
00064 EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void));
00065
00066 EXTERN void TkWinClipboardRender _ANSI_ARGS_((
00067 TkDisplay * dispPtr, UINT format));
00068
00069 EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,
00070 UINT message, WPARAM wParam, LPARAM lParam));
00071
00072 EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,
00073 int width, int height, int pixel));
00074
00075 EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,
00076 Tk_3DBorder border, int which));
00077
00078 EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display,
00079 Drawable d, TkWinDCState* state));
00080
00081 EXTERN int TkWinGetModifierState _ANSI_ARGS_((void));
00082
00083 EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void));
00084
00085 EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin));
00086
00087 EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd,
00088 UINT * pMessage, WPARAM * pwParam,
00089 LPARAM * plParam, LRESULT * plResult));
00090
00091 EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr));
00092
00093 EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,
00094 HDC hdc, TkWinDCState* state));
00095
00096 EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,
00097 HWND hwnd, XEvent * eventPtr));
00098
00099 EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc,
00100 Colormap colormap));
00101
00102 EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,
00103 HMENU hMenu));
00104
00105 EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,
00106 HWND siblingHwnd, int pos));
00107
00108 EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance));
00109
00110 EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance));
00111
00112 EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance));
00113
00114 EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_((
00115 TkWindow * winPtr));
00116
00117 EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug));
00118
00119 EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_((
00120 Tk_Window tkwin, CONST char * dbName,
00121 CONST char * className));
00122
00123 EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void));
00124
00125 EXTERN void TkWinSetHINSTANCE _ANSI_ARGS_((HINSTANCE hInstance));
00126 #endif
00127 #ifdef MAC_TCL
00128
00129 EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
00130 TkWindow * winPtr, int active));
00131
00132
00133
00134 EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
00135
00136
00137 EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
00138
00139 EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
00140
00141 EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
00142
00143 EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00144 int state));
00145
00146
00147 EXTERN void TkAboutDlg _ANSI_ARGS_((void));
00148
00149
00150
00151 EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
00152
00153 EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
00154 Window window, unsigned int state));
00155
00156
00157 EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));
00158
00159
00160 EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void));
00161
00162 EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void));
00163
00164
00165 EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,
00166 int index));
00167
00168 EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride));
00169
00170
00171 EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void));
00172
00173
00174
00175 EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent));
00176
00177
00178 EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void));
00179
00180
00181 EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_((
00182 TkWindow * winPtr));
00183
00184 EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
00185
00186 EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,
00187 Point start));
00188
00189 EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,
00190 int optionKeyPressed));
00191
00192
00193
00194
00195 EXTERN void TkMacInvalidateWindow _ANSI_ARGS_((
00196 MacDrawable * macWin, int flag));
00197
00198 EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,
00199 unsigned int searchChar));
00200
00201 EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_((
00202 TkWindow * winPtr));
00203
00204 EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,
00205 Drawable d2));
00206
00207 EXTERN void TkMacMenuClick _ANSI_ARGS_((void));
00208
00209 EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_((
00210 Window window, GWorldPtr portPtr));
00211
00212 EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr));
00213
00214
00215 EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void));
00216
00217 EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr,
00218 int flag));
00219
00220 EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable));
00221
00222 EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc));
00223
00224 EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
00225
00226 EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_((
00227 GWorldPtr portPtr));
00228
00229 EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID));
00230
00231 EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr));
00232
00233 EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr,
00234 Rect * geometry));
00235
00236 EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,
00237 int * xOffset, int * yOffset));
00238
00239
00240 EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
00241 RGBColor * macColor));
00242
00243 EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
00244 Tk_Uid titleUid));
00245
00246 EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
00247
00248
00249 EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,
00250 Point where, short zoomPart));
00251
00252 EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
00253 int rootX, int rootY, int * newX, int * newY));
00254
00255 EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr));
00256
00257 EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr));
00258
00259 EXTERN void TkMacPreprocessMenu _ANSI_ARGS_((void));
00260
00261 EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window));
00262 #endif
00263 #ifdef MAC_OSX_TK
00264
00265 EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
00266 TkWindow * winPtr, int active));
00267
00268
00269
00270 EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
00271
00272 EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
00273
00274 EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
00275
00276 EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00277 int state));
00278
00279 EXTERN void TkAboutDlg _ANSI_ARGS_((void));
00280
00281 EXTERN unsigned int TkMacOSXButtonKeyState _ANSI_ARGS_((void));
00282
00283 EXTERN void TkMacOSXClearMenubarActive _ANSI_ARGS_((void));
00284
00285 EXTERN int TkMacOSXDispatchMenuEvent _ANSI_ARGS_((int menuID,
00286 int index));
00287
00288 EXTERN void TkMacOSXInstallCursor _ANSI_ARGS_((
00289 int resizeOverride));
00290
00291 EXTERN void TkMacOSXHandleTearoffMenu _ANSI_ARGS_((void));
00292
00293
00294 EXTERN int TkMacOSXDoHLEvent _ANSI_ARGS_((
00295 EventRecord * theEvent));
00296
00297
00298 EXTERN Window TkMacOSXGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
00299
00300 EXTERN int TkMacOSXGrowToplevel _ANSI_ARGS_((
00301 WindowRef whichWindow, Point start));
00302
00303 EXTERN void TkMacOSXHandleMenuSelect _ANSI_ARGS_((long mResult,
00304 int optionKeyPressed));
00305
00306
00307
00308 EXTERN void TkMacOSXInvalidateWindow _ANSI_ARGS_((
00309 MacDrawable * macWin, int flag));
00310
00311 EXTERN int TkMacOSXIsCharacterMissing _ANSI_ARGS_((
00312 Tk_Font tkfont, unsigned int searchChar));
00313
00314 EXTERN void TkMacOSXMakeRealWindowExist _ANSI_ARGS_((
00315 TkWindow * winPtr));
00316
00317 EXTERN BitMapPtr TkMacOSXMakeStippleMap _ANSI_ARGS_((Drawable d1,
00318 Drawable d2));
00319
00320 EXTERN void TkMacOSXMenuClick _ANSI_ARGS_((void));
00321
00322 EXTERN void TkMacOSXRegisterOffScreenWindow _ANSI_ARGS_((
00323 Window window, GWorldPtr portPtr));
00324
00325 EXTERN int TkMacOSXResizable _ANSI_ARGS_((TkWindow * winPtr));
00326
00327 EXTERN void TkMacOSXSetHelpMenuItemCount _ANSI_ARGS_((void));
00328
00329 EXTERN void TkMacOSXSetScrollbarGrow _ANSI_ARGS_((
00330 TkWindow * winPtr, int flag));
00331
00332 EXTERN void TkMacOSXSetUpClippingRgn _ANSI_ARGS_((
00333 Drawable drawable));
00334
00335 EXTERN void TkMacOSXSetUpGraphicsPort _ANSI_ARGS_((GC gc,
00336 GWorldPtr destPort));
00337
00338 EXTERN void TkMacOSXUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
00339
00340 EXTERN void TkMacOSXUnregisterMacWindow _ANSI_ARGS_((
00341 WindowRef portPtr));
00342
00343 EXTERN int TkMacOSXUseMenuID _ANSI_ARGS_((short macID));
00344
00345 EXTERN RgnHandle TkMacOSXVisableClipRgn _ANSI_ARGS_((
00346 TkWindow * winPtr));
00347
00348 EXTERN void TkMacOSXWinBounds _ANSI_ARGS_((TkWindow * winPtr,
00349 Rect * geometry));
00350
00351 EXTERN void TkMacOSXWindowOffset _ANSI_ARGS_((WindowRef wRef,
00352 int * xOffset, int * yOffset));
00353
00354 EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
00355 RGBColor * macColor));
00356
00357 EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
00358 Tk_Uid titleUid));
00359
00360 EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
00361
00362 EXTERN int TkMacOSXZoomToplevel _ANSI_ARGS_((
00363 WindowPtr whichWindow, Point where,
00364 short zoomPart));
00365
00366 EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
00367 int rootX, int rootY, int * newX, int * newY));
00368
00369 EXTERN MacDrawable * TkMacOSXContainerId _ANSI_ARGS_((TkWindow * winPtr));
00370
00371 EXTERN MacDrawable * TkMacOSXGetHostToplevel _ANSI_ARGS_((
00372 TkWindow * winPtr));
00373
00374 EXTERN void TkMacOSXPreprocessMenu _ANSI_ARGS_((void));
00375
00376 EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window));
00377
00378 EXTERN Tk_Window TkMacOSXGetCapture _ANSI_ARGS_((void));
00379
00380
00381 EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
00382
00383 EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
00384 Window window, unsigned int state));
00385
00386 EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));
00387
00388
00389 EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
00390 #endif
00391 #if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
00392
00393 EXTERN void TkCreateXEventSource _ANSI_ARGS_((void));
00394
00395 EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr,
00396 Window w));
00397
00398 EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr));
00399
00400 EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,
00401 Colormap colormap));
00402
00403 EXTERN void TkpSync _ANSI_ARGS_((Display * display));
00404
00405 EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr));
00406
00407 EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr));
00408
00409 EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,
00410 Tk_Window menubar));
00411
00412 EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
00413 CONST char * string, Window * idPtr));
00414
00415 EXTERN void TkWmCleanup _ANSI_ARGS_((TkDisplay * dispPtr));
00416
00417 EXTERN void TkSendCleanup _ANSI_ARGS_((TkDisplay * dispPtr));
00418
00419 EXTERN void TkFreeXId _ANSI_ARGS_((TkDisplay * dispPtr));
00420
00421 EXTERN int TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00422 int state));
00423 #endif
00424
00425 typedef struct TkIntPlatStubs {
00426 int magic;
00427 struct TkIntPlatStubHooks *hooks;
00428
00429 #ifdef __WIN32__
00430 char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder));
00431 void *reserved1;
00432 void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active));
00433 unsigned long (*tkpGetMS) _ANSI_ARGS_((void));
00434 void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr));
00435 void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window));
00436 int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr));
00437 void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr));
00438 void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor));
00439 void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00440 void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap));
00441 void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void));
00442 void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format));
00443 LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam));
00444 void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel));
00445 COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which));
00446 HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state));
00447 int (*tkWinGetModifierState) _ANSI_ARGS_((void));
00448 HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void));
00449 HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin));
00450 int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult));
00451 int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr));
00452 void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state));
00453 LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr));
00454 HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap));
00455 void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu));
00456 void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos));
00457 void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance));
00458 void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance));
00459 void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance));
00460 void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr));
00461 void (*tkWinDialogDebug) _ANSI_ARGS_((int debug));
00462 Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, CONST char * dbName, CONST char * className));
00463 int (*tkWinGetPlatformId) _ANSI_ARGS_((void));
00464 void (*tkWinSetHINSTANCE) _ANSI_ARGS_((HINSTANCE hInstance));
00465 #endif
00466 #ifdef MAC_TCL
00467 void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active));
00468 void *reserved1;
00469 void *reserved2;
00470 unsigned long (*tkpGetMS) _ANSI_ARGS_((void));
00471 void *reserved4;
00472 void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr));
00473 void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr));
00474 void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor));
00475 void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00476 void *reserved9;
00477 void (*tkAboutDlg) _ANSI_ARGS_((void));
00478 void *reserved11;
00479 void *reserved12;
00480 Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr));
00481 int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state));
00482 void *reserved15;
00483 void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin));
00484 void *reserved17;
00485 unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void));
00486 void (*tkMacClearMenubarActive) _ANSI_ARGS_((void));
00487 void *reserved20;
00488 int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index));
00489 void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride));
00490 void *reserved23;
00491 void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void));
00492 void *reserved25;
00493 void *reserved26;
00494 void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent));
00495 void *reserved28;
00496 Time (*tkMacGenerateTime) _ANSI_ARGS_((void));
00497 void *reserved30;
00498 TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr));
00499 Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr));
00500 int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start));
00501 void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed));
00502 void *reserved35;
00503 void *reserved36;
00504 void *reserved37;
00505 void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag));
00506 int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar));
00507 void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr));
00508 BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2));
00509 void (*tkMacMenuClick) _ANSI_ARGS_((void));
00510 void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr));
00511 int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr));
00512 void *reserved45;
00513 void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void));
00514 void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag));
00515 void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable));
00516 void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc));
00517 void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00518 void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr));
00519 int (*tkMacUseMenuID) _ANSI_ARGS_((short macID));
00520 RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00521 void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry));
00522 void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset));
00523 void *reserved56;
00524 int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor));
00525 void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid));
00526 void (*tkSuspendClipboard) _ANSI_ARGS_((void));
00527 void *reserved60;
00528 int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart));
00529 Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY));
00530 MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr));
00531 MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr));
00532 void (*tkMacPreprocessMenu) _ANSI_ARGS_((void));
00533 int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window));
00534 #endif
00535 #ifdef MAC_OSX_TK
00536 void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active));
00537 void *reserved1;
00538 void *reserved2;
00539 void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr));
00540 void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr));
00541 void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor));
00542 void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00543 void (*tkAboutDlg) _ANSI_ARGS_((void));
00544 unsigned int (*tkMacOSXButtonKeyState) _ANSI_ARGS_((void));
00545 void (*tkMacOSXClearMenubarActive) _ANSI_ARGS_((void));
00546 int (*tkMacOSXDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index));
00547 void (*tkMacOSXInstallCursor) _ANSI_ARGS_((int resizeOverride));
00548 void (*tkMacOSXHandleTearoffMenu) _ANSI_ARGS_((void));
00549 void *reserved13;
00550 int (*tkMacOSXDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent));
00551 void *reserved15;
00552 Window (*tkMacOSXGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr));
00553 int (*tkMacOSXGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start));
00554 void (*tkMacOSXHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed));
00555 void *reserved19;
00556 void *reserved20;
00557 void (*tkMacOSXInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag));
00558 int (*tkMacOSXIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar));
00559 void (*tkMacOSXMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr));
00560 BitMapPtr (*tkMacOSXMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2));
00561 void (*tkMacOSXMenuClick) _ANSI_ARGS_((void));
00562 void (*tkMacOSXRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr));
00563 int (*tkMacOSXResizable) _ANSI_ARGS_((TkWindow * winPtr));
00564 void (*tkMacOSXSetHelpMenuItemCount) _ANSI_ARGS_((void));
00565 void (*tkMacOSXSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag));
00566 void (*tkMacOSXSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable));
00567 void (*tkMacOSXSetUpGraphicsPort) _ANSI_ARGS_((GC gc, GWorldPtr destPort));
00568 void (*tkMacOSXUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00569 void (*tkMacOSXUnregisterMacWindow) _ANSI_ARGS_((WindowRef portPtr));
00570 int (*tkMacOSXUseMenuID) _ANSI_ARGS_((short macID));
00571 RgnHandle (*tkMacOSXVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00572 void (*tkMacOSXWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry));
00573 void (*tkMacOSXWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset));
00574 int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor));
00575 void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid));
00576 void (*tkSuspendClipboard) _ANSI_ARGS_((void));
00577 int (*tkMacOSXZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart));
00578 Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY));
00579 MacDrawable * (*tkMacOSXContainerId) _ANSI_ARGS_((TkWindow * winPtr));
00580 MacDrawable * (*tkMacOSXGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr));
00581 void (*tkMacOSXPreprocessMenu) _ANSI_ARGS_((void));
00582 int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window));
00583 Tk_Window (*tkMacOSXGetCapture) _ANSI_ARGS_((void));
00584 void *reserved48;
00585 Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr));
00586 int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state));
00587 void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin));
00588 void *reserved52;
00589 unsigned long (*tkpGetMS) _ANSI_ARGS_((void));
00590 #endif
00591 #if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
00592 void (*tkCreateXEventSource) _ANSI_ARGS_((void));
00593 void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w));
00594 void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr));
00595 int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap));
00596 void (*tkpSync) _ANSI_ARGS_((Display * display));
00597 Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr));
00598 int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr));
00599 void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar));
00600 int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr));
00601 void (*tkWmCleanup) _ANSI_ARGS_((TkDisplay * dispPtr));
00602 void (*tkSendCleanup) _ANSI_ARGS_((TkDisplay * dispPtr));
00603 void (*tkFreeXId) _ANSI_ARGS_((TkDisplay * dispPtr));
00604 int (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00605 #endif
00606 } TkIntPlatStubs;
00607
00608 #ifdef __cplusplus
00609 extern "C" {
00610 #endif
00611 extern TkIntPlatStubs *tkIntPlatStubsPtr;
00612 #ifdef __cplusplus
00613 }
00614 #endif
00615
00616 #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
00617
00618
00619
00620
00621
00622 #ifdef __WIN32__
00623 #ifndef TkAlignImageData
00624 #define TkAlignImageData \
00625 (tkIntPlatStubsPtr->tkAlignImageData)
00626 #endif
00627
00628 #ifndef TkGenerateActivateEvents
00629 #define TkGenerateActivateEvents \
00630 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
00631 #endif
00632 #ifndef TkpGetMS
00633 #define TkpGetMS \
00634 (tkIntPlatStubsPtr->tkpGetMS)
00635 #endif
00636 #ifndef TkPointerDeadWindow
00637 #define TkPointerDeadWindow \
00638 (tkIntPlatStubsPtr->tkPointerDeadWindow)
00639 #endif
00640 #ifndef TkpPrintWindowId
00641 #define TkpPrintWindowId \
00642 (tkIntPlatStubsPtr->tkpPrintWindowId)
00643 #endif
00644 #ifndef TkpScanWindowId
00645 #define TkpScanWindowId \
00646 (tkIntPlatStubsPtr->tkpScanWindowId)
00647 #endif
00648 #ifndef TkpSetCapture
00649 #define TkpSetCapture \
00650 (tkIntPlatStubsPtr->tkpSetCapture)
00651 #endif
00652 #ifndef TkpSetCursor
00653 #define TkpSetCursor \
00654 (tkIntPlatStubsPtr->tkpSetCursor)
00655 #endif
00656 #ifndef TkpWmSetState
00657 #define TkpWmSetState \
00658 (tkIntPlatStubsPtr->tkpWmSetState)
00659 #endif
00660 #ifndef TkSetPixmapColormap
00661 #define TkSetPixmapColormap \
00662 (tkIntPlatStubsPtr->tkSetPixmapColormap)
00663 #endif
00664 #ifndef TkWinCancelMouseTimer
00665 #define TkWinCancelMouseTimer \
00666 (tkIntPlatStubsPtr->tkWinCancelMouseTimer)
00667 #endif
00668 #ifndef TkWinClipboardRender
00669 #define TkWinClipboardRender \
00670 (tkIntPlatStubsPtr->tkWinClipboardRender)
00671 #endif
00672 #ifndef TkWinEmbeddedEventProc
00673 #define TkWinEmbeddedEventProc \
00674 (tkIntPlatStubsPtr->tkWinEmbeddedEventProc)
00675 #endif
00676 #ifndef TkWinFillRect
00677 #define TkWinFillRect \
00678 (tkIntPlatStubsPtr->tkWinFillRect)
00679 #endif
00680 #ifndef TkWinGetBorderPixels
00681 #define TkWinGetBorderPixels \
00682 (tkIntPlatStubsPtr->tkWinGetBorderPixels)
00683 #endif
00684 #ifndef TkWinGetDrawableDC
00685 #define TkWinGetDrawableDC \
00686 (tkIntPlatStubsPtr->tkWinGetDrawableDC)
00687 #endif
00688 #ifndef TkWinGetModifierState
00689 #define TkWinGetModifierState \
00690 (tkIntPlatStubsPtr->tkWinGetModifierState)
00691 #endif
00692 #ifndef TkWinGetSystemPalette
00693 #define TkWinGetSystemPalette \
00694 (tkIntPlatStubsPtr->tkWinGetSystemPalette)
00695 #endif
00696 #ifndef TkWinGetWrapperWindow
00697 #define TkWinGetWrapperWindow \
00698 (tkIntPlatStubsPtr->tkWinGetWrapperWindow)
00699 #endif
00700 #ifndef TkWinHandleMenuEvent
00701 #define TkWinHandleMenuEvent \
00702 (tkIntPlatStubsPtr->tkWinHandleMenuEvent)
00703 #endif
00704 #ifndef TkWinIndexOfColor
00705 #define TkWinIndexOfColor \
00706 (tkIntPlatStubsPtr->tkWinIndexOfColor)
00707 #endif
00708 #ifndef TkWinReleaseDrawableDC
00709 #define TkWinReleaseDrawableDC \
00710 (tkIntPlatStubsPtr->tkWinReleaseDrawableDC)
00711 #endif
00712 #ifndef TkWinResendEvent
00713 #define TkWinResendEvent \
00714 (tkIntPlatStubsPtr->tkWinResendEvent)
00715 #endif
00716 #ifndef TkWinSelectPalette
00717 #define TkWinSelectPalette \
00718 (tkIntPlatStubsPtr->tkWinSelectPalette)
00719 #endif
00720 #ifndef TkWinSetMenu
00721 #define TkWinSetMenu \
00722 (tkIntPlatStubsPtr->tkWinSetMenu)
00723 #endif
00724 #ifndef TkWinSetWindowPos
00725 #define TkWinSetWindowPos \
00726 (tkIntPlatStubsPtr->tkWinSetWindowPos)
00727 #endif
00728 #ifndef TkWinWmCleanup
00729 #define TkWinWmCleanup \
00730 (tkIntPlatStubsPtr->tkWinWmCleanup)
00731 #endif
00732 #ifndef TkWinXCleanup
00733 #define TkWinXCleanup \
00734 (tkIntPlatStubsPtr->tkWinXCleanup)
00735 #endif
00736 #ifndef TkWinXInit
00737 #define TkWinXInit \
00738 (tkIntPlatStubsPtr->tkWinXInit)
00739 #endif
00740 #ifndef TkWinSetForegroundWindow
00741 #define TkWinSetForegroundWindow \
00742 (tkIntPlatStubsPtr->tkWinSetForegroundWindow)
00743 #endif
00744 #ifndef TkWinDialogDebug
00745 #define TkWinDialogDebug \
00746 (tkIntPlatStubsPtr->tkWinDialogDebug)
00747 #endif
00748 #ifndef TkWinGetMenuSystemDefault
00749 #define TkWinGetMenuSystemDefault \
00750 (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault)
00751 #endif
00752 #ifndef TkWinGetPlatformId
00753 #define TkWinGetPlatformId \
00754 (tkIntPlatStubsPtr->tkWinGetPlatformId)
00755 #endif
00756 #ifndef TkWinSetHINSTANCE
00757 #define TkWinSetHINSTANCE \
00758 (tkIntPlatStubsPtr->tkWinSetHINSTANCE)
00759 #endif
00760 #endif
00761 #ifdef MAC_TCL
00762 #ifndef TkGenerateActivateEvents
00763 #define TkGenerateActivateEvents \
00764 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
00765 #endif
00766
00767
00768 #ifndef TkpGetMS
00769 #define TkpGetMS \
00770 (tkIntPlatStubsPtr->tkpGetMS)
00771 #endif
00772
00773 #ifndef TkPointerDeadWindow
00774 #define TkPointerDeadWindow \
00775 (tkIntPlatStubsPtr->tkPointerDeadWindow)
00776 #endif
00777 #ifndef TkpSetCapture
00778 #define TkpSetCapture \
00779 (tkIntPlatStubsPtr->tkpSetCapture)
00780 #endif
00781 #ifndef TkpSetCursor
00782 #define TkpSetCursor \
00783 (tkIntPlatStubsPtr->tkpSetCursor)
00784 #endif
00785 #ifndef TkpWmSetState
00786 #define TkpWmSetState \
00787 (tkIntPlatStubsPtr->tkpWmSetState)
00788 #endif
00789
00790 #ifndef TkAboutDlg
00791 #define TkAboutDlg \
00792 (tkIntPlatStubsPtr->tkAboutDlg)
00793 #endif
00794
00795
00796 #ifndef TkGetTransientMaster
00797 #define TkGetTransientMaster \
00798 (tkIntPlatStubsPtr->tkGetTransientMaster)
00799 #endif
00800 #ifndef TkGenerateButtonEvent
00801 #define TkGenerateButtonEvent \
00802 (tkIntPlatStubsPtr->tkGenerateButtonEvent)
00803 #endif
00804
00805 #ifndef TkGenWMDestroyEvent
00806 #define TkGenWMDestroyEvent \
00807 (tkIntPlatStubsPtr->tkGenWMDestroyEvent)
00808 #endif
00809
00810 #ifndef TkMacButtonKeyState
00811 #define TkMacButtonKeyState \
00812 (tkIntPlatStubsPtr->tkMacButtonKeyState)
00813 #endif
00814 #ifndef TkMacClearMenubarActive
00815 #define TkMacClearMenubarActive \
00816 (tkIntPlatStubsPtr->tkMacClearMenubarActive)
00817 #endif
00818
00819 #ifndef TkMacDispatchMenuEvent
00820 #define TkMacDispatchMenuEvent \
00821 (tkIntPlatStubsPtr->tkMacDispatchMenuEvent)
00822 #endif
00823 #ifndef TkMacInstallCursor
00824 #define TkMacInstallCursor \
00825 (tkIntPlatStubsPtr->tkMacInstallCursor)
00826 #endif
00827
00828 #ifndef TkMacHandleTearoffMenu
00829 #define TkMacHandleTearoffMenu \
00830 (tkIntPlatStubsPtr->tkMacHandleTearoffMenu)
00831 #endif
00832
00833
00834 #ifndef TkMacDoHLEvent
00835 #define TkMacDoHLEvent \
00836 (tkIntPlatStubsPtr->tkMacDoHLEvent)
00837 #endif
00838
00839 #ifndef TkMacGenerateTime
00840 #define TkMacGenerateTime \
00841 (tkIntPlatStubsPtr->tkMacGenerateTime)
00842 #endif
00843
00844 #ifndef TkMacGetScrollbarGrowWindow
00845 #define TkMacGetScrollbarGrowWindow \
00846 (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow)
00847 #endif
00848 #ifndef TkMacGetXWindow
00849 #define TkMacGetXWindow \
00850 (tkIntPlatStubsPtr->tkMacGetXWindow)
00851 #endif
00852 #ifndef TkMacGrowToplevel
00853 #define TkMacGrowToplevel \
00854 (tkIntPlatStubsPtr->tkMacGrowToplevel)
00855 #endif
00856 #ifndef TkMacHandleMenuSelect
00857 #define TkMacHandleMenuSelect \
00858 (tkIntPlatStubsPtr->tkMacHandleMenuSelect)
00859 #endif
00860
00861
00862
00863 #ifndef TkMacInvalidateWindow
00864 #define TkMacInvalidateWindow \
00865 (tkIntPlatStubsPtr->tkMacInvalidateWindow)
00866 #endif
00867 #ifndef TkMacIsCharacterMissing
00868 #define TkMacIsCharacterMissing \
00869 (tkIntPlatStubsPtr->tkMacIsCharacterMissing)
00870 #endif
00871 #ifndef TkMacMakeRealWindowExist
00872 #define TkMacMakeRealWindowExist \
00873 (tkIntPlatStubsPtr->tkMacMakeRealWindowExist)
00874 #endif
00875 #ifndef TkMacMakeStippleMap
00876 #define TkMacMakeStippleMap \
00877 (tkIntPlatStubsPtr->tkMacMakeStippleMap)
00878 #endif
00879 #ifndef TkMacMenuClick
00880 #define TkMacMenuClick \
00881 (tkIntPlatStubsPtr->tkMacMenuClick)
00882 #endif
00883 #ifndef TkMacRegisterOffScreenWindow
00884 #define TkMacRegisterOffScreenWindow \
00885 (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow)
00886 #endif
00887 #ifndef TkMacResizable
00888 #define TkMacResizable \
00889 (tkIntPlatStubsPtr->tkMacResizable)
00890 #endif
00891
00892 #ifndef TkMacSetHelpMenuItemCount
00893 #define TkMacSetHelpMenuItemCount \
00894 (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount)
00895 #endif
00896 #ifndef TkMacSetScrollbarGrow
00897 #define TkMacSetScrollbarGrow \
00898 (tkIntPlatStubsPtr->tkMacSetScrollbarGrow)
00899 #endif
00900 #ifndef TkMacSetUpClippingRgn
00901 #define TkMacSetUpClippingRgn \
00902 (tkIntPlatStubsPtr->tkMacSetUpClippingRgn)
00903 #endif
00904 #ifndef TkMacSetUpGraphicsPort
00905 #define TkMacSetUpGraphicsPort \
00906 (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort)
00907 #endif
00908 #ifndef TkMacUpdateClipRgn
00909 #define TkMacUpdateClipRgn \
00910 (tkIntPlatStubsPtr->tkMacUpdateClipRgn)
00911 #endif
00912 #ifndef TkMacUnregisterMacWindow
00913 #define TkMacUnregisterMacWindow \
00914 (tkIntPlatStubsPtr->tkMacUnregisterMacWindow)
00915 #endif
00916 #ifndef TkMacUseMenuID
00917 #define TkMacUseMenuID \
00918 (tkIntPlatStubsPtr->tkMacUseMenuID)
00919 #endif
00920 #ifndef TkMacVisableClipRgn
00921 #define TkMacVisableClipRgn \
00922 (tkIntPlatStubsPtr->tkMacVisableClipRgn)
00923 #endif
00924 #ifndef TkMacWinBounds
00925 #define TkMacWinBounds \
00926 (tkIntPlatStubsPtr->tkMacWinBounds)
00927 #endif
00928 #ifndef TkMacWindowOffset
00929 #define TkMacWindowOffset \
00930 (tkIntPlatStubsPtr->tkMacWindowOffset)
00931 #endif
00932
00933 #ifndef TkSetMacColor
00934 #define TkSetMacColor \
00935 (tkIntPlatStubsPtr->tkSetMacColor)
00936 #endif
00937 #ifndef TkSetWMName
00938 #define TkSetWMName \
00939 (tkIntPlatStubsPtr->tkSetWMName)
00940 #endif
00941 #ifndef TkSuspendClipboard
00942 #define TkSuspendClipboard \
00943 (tkIntPlatStubsPtr->tkSuspendClipboard)
00944 #endif
00945
00946 #ifndef TkMacZoomToplevel
00947 #define TkMacZoomToplevel \
00948 (tkIntPlatStubsPtr->tkMacZoomToplevel)
00949 #endif
00950 #ifndef Tk_TopCoordsToWindow
00951 #define Tk_TopCoordsToWindow \
00952 (tkIntPlatStubsPtr->tk_TopCoordsToWindow)
00953 #endif
00954 #ifndef TkMacContainerId
00955 #define TkMacContainerId \
00956 (tkIntPlatStubsPtr->tkMacContainerId)
00957 #endif
00958 #ifndef TkMacGetHostToplevel
00959 #define TkMacGetHostToplevel \
00960 (tkIntPlatStubsPtr->tkMacGetHostToplevel)
00961 #endif
00962 #ifndef TkMacPreprocessMenu
00963 #define TkMacPreprocessMenu \
00964 (tkIntPlatStubsPtr->tkMacPreprocessMenu)
00965 #endif
00966 #ifndef TkpIsWindowFloating
00967 #define TkpIsWindowFloating \
00968 (tkIntPlatStubsPtr->tkpIsWindowFloating)
00969 #endif
00970 #endif
00971 #ifdef MAC_OSX_TK
00972 #ifndef TkGenerateActivateEvents
00973 #define TkGenerateActivateEvents \
00974 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
00975 #endif
00976
00977
00978 #ifndef TkPointerDeadWindow
00979 #define TkPointerDeadWindow \
00980 (tkIntPlatStubsPtr->tkPointerDeadWindow)
00981 #endif
00982 #ifndef TkpSetCapture
00983 #define TkpSetCapture \
00984 (tkIntPlatStubsPtr->tkpSetCapture)
00985 #endif
00986 #ifndef TkpSetCursor
00987 #define TkpSetCursor \
00988 (tkIntPlatStubsPtr->tkpSetCursor)
00989 #endif
00990 #ifndef TkpWmSetState
00991 #define TkpWmSetState \
00992 (tkIntPlatStubsPtr->tkpWmSetState)
00993 #endif
00994 #ifndef TkAboutDlg
00995 #define TkAboutDlg \
00996 (tkIntPlatStubsPtr->tkAboutDlg)
00997 #endif
00998 #ifndef TkMacOSXButtonKeyState
00999 #define TkMacOSXButtonKeyState \
01000 (tkIntPlatStubsPtr->tkMacOSXButtonKeyState)
01001 #endif
01002 #ifndef TkMacOSXClearMenubarActive
01003 #define TkMacOSXClearMenubarActive \
01004 (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive)
01005 #endif
01006 #ifndef TkMacOSXDispatchMenuEvent
01007 #define TkMacOSXDispatchMenuEvent \
01008 (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent)
01009 #endif
01010 #ifndef TkMacOSXInstallCursor
01011 #define TkMacOSXInstallCursor \
01012 (tkIntPlatStubsPtr->tkMacOSXInstallCursor)
01013 #endif
01014 #ifndef TkMacOSXHandleTearoffMenu
01015 #define TkMacOSXHandleTearoffMenu \
01016 (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu)
01017 #endif
01018
01019 #ifndef TkMacOSXDoHLEvent
01020 #define TkMacOSXDoHLEvent \
01021 (tkIntPlatStubsPtr->tkMacOSXDoHLEvent)
01022 #endif
01023
01024 #ifndef TkMacOSXGetXWindow
01025 #define TkMacOSXGetXWindow \
01026 (tkIntPlatStubsPtr->tkMacOSXGetXWindow)
01027 #endif
01028 #ifndef TkMacOSXGrowToplevel
01029 #define TkMacOSXGrowToplevel \
01030 (tkIntPlatStubsPtr->tkMacOSXGrowToplevel)
01031 #endif
01032 #ifndef TkMacOSXHandleMenuSelect
01033 #define TkMacOSXHandleMenuSelect \
01034 (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect)
01035 #endif
01036
01037
01038 #ifndef TkMacOSXInvalidateWindow
01039 #define TkMacOSXInvalidateWindow \
01040 (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow)
01041 #endif
01042 #ifndef TkMacOSXIsCharacterMissing
01043 #define TkMacOSXIsCharacterMissing \
01044 (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing)
01045 #endif
01046 #ifndef TkMacOSXMakeRealWindowExist
01047 #define TkMacOSXMakeRealWindowExist \
01048 (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist)
01049 #endif
01050 #ifndef TkMacOSXMakeStippleMap
01051 #define TkMacOSXMakeStippleMap \
01052 (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap)
01053 #endif
01054 #ifndef TkMacOSXMenuClick
01055 #define TkMacOSXMenuClick \
01056 (tkIntPlatStubsPtr->tkMacOSXMenuClick)
01057 #endif
01058 #ifndef TkMacOSXRegisterOffScreenWindow
01059 #define TkMacOSXRegisterOffScreenWindow \
01060 (tkIntPlatStubsPtr->tkMacOSXRegisterOffScreenWindow)
01061 #endif
01062 #ifndef TkMacOSXResizable
01063 #define TkMacOSXResizable \
01064 (tkIntPlatStubsPtr->tkMacOSXResizable)
01065 #endif
01066 #ifndef TkMacOSXSetHelpMenuItemCount
01067 #define TkMacOSXSetHelpMenuItemCount \
01068 (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount)
01069 #endif
01070 #ifndef TkMacOSXSetScrollbarGrow
01071 #define TkMacOSXSetScrollbarGrow \
01072 (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow)
01073 #endif
01074 #ifndef TkMacOSXSetUpClippingRgn
01075 #define TkMacOSXSetUpClippingRgn \
01076 (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn)
01077 #endif
01078 #ifndef TkMacOSXSetUpGraphicsPort
01079 #define TkMacOSXSetUpGraphicsPort \
01080 (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort)
01081 #endif
01082 #ifndef TkMacOSXUpdateClipRgn
01083 #define TkMacOSXUpdateClipRgn \
01084 (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn)
01085 #endif
01086 #ifndef TkMacOSXUnregisterMacWindow
01087 #define TkMacOSXUnregisterMacWindow \
01088 (tkIntPlatStubsPtr->tkMacOSXUnregisterMacWindow)
01089 #endif
01090 #ifndef TkMacOSXUseMenuID
01091 #define TkMacOSXUseMenuID \
01092 (tkIntPlatStubsPtr->tkMacOSXUseMenuID)
01093 #endif
01094 #ifndef TkMacOSXVisableClipRgn
01095 #define TkMacOSXVisableClipRgn \
01096 (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn)
01097 #endif
01098 #ifndef TkMacOSXWinBounds
01099 #define TkMacOSXWinBounds \
01100 (tkIntPlatStubsPtr->tkMacOSXWinBounds)
01101 #endif
01102 #ifndef TkMacOSXWindowOffset
01103 #define TkMacOSXWindowOffset \
01104 (tkIntPlatStubsPtr->tkMacOSXWindowOffset)
01105 #endif
01106 #ifndef TkSetMacColor
01107 #define TkSetMacColor \
01108 (tkIntPlatStubsPtr->tkSetMacColor)
01109 #endif
01110 #ifndef TkSetWMName
01111 #define TkSetWMName \
01112 (tkIntPlatStubsPtr->tkSetWMName)
01113 #endif
01114 #ifndef TkSuspendClipboard
01115 #define TkSuspendClipboard \
01116 (tkIntPlatStubsPtr->tkSuspendClipboard)
01117 #endif
01118 #ifndef TkMacOSXZoomToplevel
01119 #define TkMacOSXZoomToplevel \
01120 (tkIntPlatStubsPtr->tkMacOSXZoomToplevel)
01121 #endif
01122 #ifndef Tk_TopCoordsToWindow
01123 #define Tk_TopCoordsToWindow \
01124 (tkIntPlatStubsPtr->tk_TopCoordsToWindow)
01125 #endif
01126 #ifndef TkMacOSXContainerId
01127 #define TkMacOSXContainerId \
01128 (tkIntPlatStubsPtr->tkMacOSXContainerId)
01129 #endif
01130 #ifndef TkMacOSXGetHostToplevel
01131 #define TkMacOSXGetHostToplevel \
01132 (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel)
01133 #endif
01134 #ifndef TkMacOSXPreprocessMenu
01135 #define TkMacOSXPreprocessMenu \
01136 (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu)
01137 #endif
01138 #ifndef TkpIsWindowFloating
01139 #define TkpIsWindowFloating \
01140 (tkIntPlatStubsPtr->tkpIsWindowFloating)
01141 #endif
01142 #ifndef TkMacOSXGetCapture
01143 #define TkMacOSXGetCapture \
01144 (tkIntPlatStubsPtr->tkMacOSXGetCapture)
01145 #endif
01146
01147 #ifndef TkGetTransientMaster
01148 #define TkGetTransientMaster \
01149 (tkIntPlatStubsPtr->tkGetTransientMaster)
01150 #endif
01151 #ifndef TkGenerateButtonEvent
01152 #define TkGenerateButtonEvent \
01153 (tkIntPlatStubsPtr->tkGenerateButtonEvent)
01154 #endif
01155 #ifndef TkGenWMDestroyEvent
01156 #define TkGenWMDestroyEvent \
01157 (tkIntPlatStubsPtr->tkGenWMDestroyEvent)
01158 #endif
01159
01160 #ifndef TkpGetMS
01161 #define TkpGetMS \
01162 (tkIntPlatStubsPtr->tkpGetMS)
01163 #endif
01164 #endif
01165 #if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK))
01166 #ifndef TkCreateXEventSource
01167 #define TkCreateXEventSource \
01168 (tkIntPlatStubsPtr->tkCreateXEventSource)
01169 #endif
01170 #ifndef TkFreeWindowId
01171 #define TkFreeWindowId \
01172 (tkIntPlatStubsPtr->tkFreeWindowId)
01173 #endif
01174 #ifndef TkInitXId
01175 #define TkInitXId \
01176 (tkIntPlatStubsPtr->tkInitXId)
01177 #endif
01178 #ifndef TkpCmapStressed
01179 #define TkpCmapStressed \
01180 (tkIntPlatStubsPtr->tkpCmapStressed)
01181 #endif
01182 #ifndef TkpSync
01183 #define TkpSync \
01184 (tkIntPlatStubsPtr->tkpSync)
01185 #endif
01186 #ifndef TkUnixContainerId
01187 #define TkUnixContainerId \
01188 (tkIntPlatStubsPtr->tkUnixContainerId)
01189 #endif
01190 #ifndef TkUnixDoOneXEvent
01191 #define TkUnixDoOneXEvent \
01192 (tkIntPlatStubsPtr->tkUnixDoOneXEvent)
01193 #endif
01194 #ifndef TkUnixSetMenubar
01195 #define TkUnixSetMenubar \
01196 (tkIntPlatStubsPtr->tkUnixSetMenubar)
01197 #endif
01198 #ifndef TkpScanWindowId
01199 #define TkpScanWindowId \
01200 (tkIntPlatStubsPtr->tkpScanWindowId)
01201 #endif
01202 #ifndef TkWmCleanup
01203 #define TkWmCleanup \
01204 (tkIntPlatStubsPtr->tkWmCleanup)
01205 #endif
01206 #ifndef TkSendCleanup
01207 #define TkSendCleanup \
01208 (tkIntPlatStubsPtr->tkSendCleanup)
01209 #endif
01210 #ifndef TkFreeXId
01211 #define TkFreeXId \
01212 (tkIntPlatStubsPtr->tkFreeXId)
01213 #endif
01214 #ifndef TkpWmSetState
01215 #define TkpWmSetState \
01216 (tkIntPlatStubsPtr->tkpWmSetState)
01217 #endif
01218 #endif
01219
01220 #endif
01221
01222
01223
01224 #undef TCL_STORAGE_CLASS
01225 #define TCL_STORAGE_CLASS DLLIMPORT
01226
01227 #endif
01228
01229
01230
01231
01232
01233
01234
01235
01236
01237