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 #if !defined(__WIN32__) && !defined(MAC_TCL)
00036
00037 EXTERN void TkCreateXEventSource _ANSI_ARGS_((void));
00038
00039 EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr,
00040 Window w));
00041
00042 EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr));
00043
00044 EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,
00045 Colormap colormap));
00046
00047 EXTERN void TkpSync _ANSI_ARGS_((Display * display));
00048
00049 EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr));
00050
00051 EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr));
00052
00053 EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,
00054 Tk_Window menubar));
00055 #endif
00056 #ifdef __WIN32__
00057
00058 EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image,
00059 int alignment, int bitOrder));
00060
00061
00062 EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
00063 TkWindow * winPtr, int active));
00064
00065 EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
00066
00067 EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
00068
00069 EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf,
00070 Window window));
00071
00072 EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
00073 char * string, int * idPtr));
00074
00075 EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
00076
00077 EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
00078
00079 EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00080 int state));
00081
00082 EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
00083 Colormap colormap));
00084
00085 EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void));
00086
00087 EXTERN void TkWinClipboardRender _ANSI_ARGS_((
00088 TkDisplay * dispPtr, UINT format));
00089
00090 EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,
00091 UINT message, WPARAM wParam, LPARAM lParam));
00092
00093 EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,
00094 int width, int height, int pixel));
00095
00096 EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,
00097 Tk_3DBorder border, int which));
00098
00099 EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display,
00100 Drawable d, TkWinDCState* state));
00101
00102 EXTERN int TkWinGetModifierState _ANSI_ARGS_((void));
00103
00104 EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void));
00105
00106 EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin));
00107
00108 EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd,
00109 UINT * pMessage, WPARAM * pwParam,
00110 LPARAM * plParam, LRESULT * plResult));
00111
00112 EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr));
00113
00114 EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,
00115 HDC hdc, TkWinDCState* state));
00116
00117 EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,
00118 HWND hwnd, XEvent * eventPtr));
00119
00120 EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc,
00121 Colormap colormap));
00122
00123 EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,
00124 HMENU hMenu));
00125
00126 EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,
00127 HWND siblingHwnd, int pos));
00128
00129 EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance));
00130
00131 EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance));
00132
00133 EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance));
00134
00135 EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_((
00136 TkWindow * winPtr));
00137
00138 EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug));
00139
00140 EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_((
00141 Tk_Window tkwin, char * dbName,
00142 char * className));
00143
00144 EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void));
00145 #endif
00146 #ifdef MAC_TCL
00147
00148 EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
00149 TkWindow * winPtr, int active));
00150
00151 EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display,
00152 char * source));
00153
00154 EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void));
00155
00156 EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
00157
00158
00159 EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
00160
00161 EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
00162
00163 EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
00164
00165 EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
00166 int state));
00167
00168
00169 EXTERN void TkAboutDlg _ANSI_ARGS_((void));
00170
00171
00172
00173 EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
00174
00175 EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
00176 Window window, unsigned int state));
00177
00178
00179 EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));
00180
00181 EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
00182 int x, int y, int width, int height,
00183 int flags));
00184
00185 EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void));
00186
00187 EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void));
00188
00189 EXTERN int TkMacConvertEvent _ANSI_ARGS_((
00190 EventRecord * eventPtr));
00191
00192 EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,
00193 int index));
00194
00195 EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride));
00196
00197 EXTERN int TkMacConvertTkEvent _ANSI_ARGS_((
00198 EventRecord * eventPtr, Window window));
00199
00200 EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void));
00201
00202
00203 EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr));
00204
00205 EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent));
00206
00207
00208 EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void));
00209
00210 EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable));
00211
00212 EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_((
00213 TkWindow * winPtr));
00214
00215 EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
00216
00217 EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,
00218 Point start));
00219
00220 EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,
00221 int optionKeyPressed));
00222
00223 EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void));
00224
00225 EXTERN void TkMacInitAppleEvents _ANSI_ARGS_((
00226 Tcl_Interp * interp));
00227
00228 EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp));
00229
00230 EXTERN void TkMacInvalidateWindow _ANSI_ARGS_((
00231 MacDrawable * macWin, int flag));
00232
00233 EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,
00234 unsigned int searchChar));
00235
00236 EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_((
00237 TkWindow * winPtr));
00238
00239 EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,
00240 Drawable d2));
00241
00242 EXTERN void TkMacMenuClick _ANSI_ARGS_((void));
00243
00244 EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_((
00245 Window window, GWorldPtr portPtr));
00246
00247 EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr));
00248
00249
00250 EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void));
00251
00252 EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr,
00253 int flag));
00254
00255 EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable));
00256
00257 EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc));
00258
00259 EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
00260
00261 EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_((
00262 GWorldPtr portPtr));
00263
00264 EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID));
00265
00266 EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr));
00267
00268 EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr,
00269 Rect * geometry));
00270
00271 EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,
00272 int * xOffset, int * yOffset));
00273
00274
00275 EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
00276 RGBColor * macColor));
00277
00278 EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
00279 Tk_Uid titleUid));
00280
00281 EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
00282
00283
00284 EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,
00285 Point where, short zoomPart));
00286
00287 EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
00288 int rootX, int rootY, int * newX, int * newY));
00289
00290 EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr));
00291
00292 EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr));
00293
00294 EXTERN void TkMacPreprocessMenu _ANSI_ARGS_((void));
00295 #endif
00296
00297 typedef struct TkIntPlatStubs {
00298 int magic;
00299 struct TkIntPlatStubHooks *hooks;
00300
00301 #if !defined(__WIN32__) && !defined(MAC_TCL)
00302 void (*tkCreateXEventSource) _ANSI_ARGS_((void));
00303 void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w));
00304 void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr));
00305 int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap));
00306 void (*tkpSync) _ANSI_ARGS_((Display * display));
00307 Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr));
00308 int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr));
00309 void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar));
00310 #endif
00311 #ifdef __WIN32__
00312 char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder));
00313 void *reserved1;
00314 void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active));
00315 unsigned long (*tkpGetMS) _ANSI_ARGS_((void));
00316 void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr));
00317 void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window));
00318 int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int * idPtr));
00319 void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr));
00320 void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor));
00321 void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00322 void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap));
00323 void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void));
00324 void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format));
00325 LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam));
00326 void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel));
00327 COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which));
00328 HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state));
00329 int (*tkWinGetModifierState) _ANSI_ARGS_((void));
00330 HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void));
00331 HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin));
00332 int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult));
00333 int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr));
00334 void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state));
00335 LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr));
00336 HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap));
00337 void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu));
00338 void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos));
00339 void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance));
00340 void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance));
00341 void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance));
00342 void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr));
00343 void (*tkWinDialogDebug) _ANSI_ARGS_((int debug));
00344 Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className));
00345 int (*tkWinGetPlatformId) _ANSI_ARGS_((void));
00346 #endif
00347 #ifdef MAC_TCL
00348 void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active));
00349 Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source));
00350 void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void));
00351 unsigned long (*tkpGetMS) _ANSI_ARGS_((void));
00352 void *reserved4;
00353 void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr));
00354 void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr));
00355 void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor));
00356 void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state));
00357 void *reserved9;
00358 void (*tkAboutDlg) _ANSI_ARGS_((void));
00359 void *reserved11;
00360 void *reserved12;
00361 Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr));
00362 int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state));
00363 void *reserved15;
00364 void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin));
00365 void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags));
00366 unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void));
00367 void (*tkMacClearMenubarActive) _ANSI_ARGS_((void));
00368 int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr));
00369 int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index));
00370 void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride));
00371 int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window));
00372 void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void));
00373 void *reserved25;
00374 void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr));
00375 void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent));
00376 void *reserved28;
00377 Time (*tkMacGenerateTime) _ANSI_ARGS_((void));
00378 GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable));
00379 TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr));
00380 Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr));
00381 int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start));
00382 void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed));
00383 int (*tkMacHaveAppearance) _ANSI_ARGS_((void));
00384 void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp));
00385 void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp));
00386 void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag));
00387 int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar));
00388 void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr));
00389 BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2));
00390 void (*tkMacMenuClick) _ANSI_ARGS_((void));
00391 void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr));
00392 int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr));
00393 void *reserved45;
00394 void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void));
00395 void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag));
00396 void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable));
00397 void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc));
00398 void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00399 void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr));
00400 int (*tkMacUseMenuID) _ANSI_ARGS_((short macID));
00401 RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr));
00402 void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry));
00403 void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset));
00404 void *reserved56;
00405 int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor));
00406 void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid));
00407 void (*tkSuspendClipboard) _ANSI_ARGS_((void));
00408 void *reserved60;
00409 int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart));
00410 Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY));
00411 MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr));
00412 MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr));
00413 void (*tkMacPreprocessMenu) _ANSI_ARGS_((void));
00414 #endif
00415 } TkIntPlatStubs;
00416
00417 #ifdef __cplusplus
00418 extern "C" {
00419 #endif
00420 extern TkIntPlatStubs *tkIntPlatStubsPtr;
00421 #ifdef __cplusplus
00422 }
00423 #endif
00424
00425 #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
00426
00427
00428
00429
00430
00431 #if !defined(__WIN32__) && !defined(MAC_TCL)
00432 #ifndef TkCreateXEventSource
00433 #define TkCreateXEventSource \
00434 (tkIntPlatStubsPtr->tkCreateXEventSource)
00435 #endif
00436 #ifndef TkFreeWindowId
00437 #define TkFreeWindowId \
00438 (tkIntPlatStubsPtr->tkFreeWindowId)
00439 #endif
00440 #ifndef TkInitXId
00441 #define TkInitXId \
00442 (tkIntPlatStubsPtr->tkInitXId)
00443 #endif
00444 #ifndef TkpCmapStressed
00445 #define TkpCmapStressed \
00446 (tkIntPlatStubsPtr->tkpCmapStressed)
00447 #endif
00448 #ifndef TkpSync
00449 #define TkpSync \
00450 (tkIntPlatStubsPtr->tkpSync)
00451 #endif
00452 #ifndef TkUnixContainerId
00453 #define TkUnixContainerId \
00454 (tkIntPlatStubsPtr->tkUnixContainerId)
00455 #endif
00456 #ifndef TkUnixDoOneXEvent
00457 #define TkUnixDoOneXEvent \
00458 (tkIntPlatStubsPtr->tkUnixDoOneXEvent)
00459 #endif
00460 #ifndef TkUnixSetMenubar
00461 #define TkUnixSetMenubar \
00462 (tkIntPlatStubsPtr->tkUnixSetMenubar)
00463 #endif
00464 #endif
00465 #ifdef __WIN32__
00466 #ifndef TkAlignImageData
00467 #define TkAlignImageData \
00468 (tkIntPlatStubsPtr->tkAlignImageData)
00469 #endif
00470
00471 #ifndef TkGenerateActivateEvents
00472 #define TkGenerateActivateEvents \
00473 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
00474 #endif
00475 #ifndef TkpGetMS
00476 #define TkpGetMS \
00477 (tkIntPlatStubsPtr->tkpGetMS)
00478 #endif
00479 #ifndef TkPointerDeadWindow
00480 #define TkPointerDeadWindow \
00481 (tkIntPlatStubsPtr->tkPointerDeadWindow)
00482 #endif
00483 #ifndef TkpPrintWindowId
00484 #define TkpPrintWindowId \
00485 (tkIntPlatStubsPtr->tkpPrintWindowId)
00486 #endif
00487 #ifndef TkpScanWindowId
00488 #define TkpScanWindowId \
00489 (tkIntPlatStubsPtr->tkpScanWindowId)
00490 #endif
00491 #ifndef TkpSetCapture
00492 #define TkpSetCapture \
00493 (tkIntPlatStubsPtr->tkpSetCapture)
00494 #endif
00495 #ifndef TkpSetCursor
00496 #define TkpSetCursor \
00497 (tkIntPlatStubsPtr->tkpSetCursor)
00498 #endif
00499 #ifndef TkpWmSetState
00500 #define TkpWmSetState \
00501 (tkIntPlatStubsPtr->tkpWmSetState)
00502 #endif
00503 #ifndef TkSetPixmapColormap
00504 #define TkSetPixmapColormap \
00505 (tkIntPlatStubsPtr->tkSetPixmapColormap)
00506 #endif
00507 #ifndef TkWinCancelMouseTimer
00508 #define TkWinCancelMouseTimer \
00509 (tkIntPlatStubsPtr->tkWinCancelMouseTimer)
00510 #endif
00511 #ifndef TkWinClipboardRender
00512 #define TkWinClipboardRender \
00513 (tkIntPlatStubsPtr->tkWinClipboardRender)
00514 #endif
00515 #ifndef TkWinEmbeddedEventProc
00516 #define TkWinEmbeddedEventProc \
00517 (tkIntPlatStubsPtr->tkWinEmbeddedEventProc)
00518 #endif
00519 #ifndef TkWinFillRect
00520 #define TkWinFillRect \
00521 (tkIntPlatStubsPtr->tkWinFillRect)
00522 #endif
00523 #ifndef TkWinGetBorderPixels
00524 #define TkWinGetBorderPixels \
00525 (tkIntPlatStubsPtr->tkWinGetBorderPixels)
00526 #endif
00527 #ifndef TkWinGetDrawableDC
00528 #define TkWinGetDrawableDC \
00529 (tkIntPlatStubsPtr->tkWinGetDrawableDC)
00530 #endif
00531 #ifndef TkWinGetModifierState
00532 #define TkWinGetModifierState \
00533 (tkIntPlatStubsPtr->tkWinGetModifierState)
00534 #endif
00535 #ifndef TkWinGetSystemPalette
00536 #define TkWinGetSystemPalette \
00537 (tkIntPlatStubsPtr->tkWinGetSystemPalette)
00538 #endif
00539 #ifndef TkWinGetWrapperWindow
00540 #define TkWinGetWrapperWindow \
00541 (tkIntPlatStubsPtr->tkWinGetWrapperWindow)
00542 #endif
00543 #ifndef TkWinHandleMenuEvent
00544 #define TkWinHandleMenuEvent \
00545 (tkIntPlatStubsPtr->tkWinHandleMenuEvent)
00546 #endif
00547 #ifndef TkWinIndexOfColor
00548 #define TkWinIndexOfColor \
00549 (tkIntPlatStubsPtr->tkWinIndexOfColor)
00550 #endif
00551 #ifndef TkWinReleaseDrawableDC
00552 #define TkWinReleaseDrawableDC \
00553 (tkIntPlatStubsPtr->tkWinReleaseDrawableDC)
00554 #endif
00555 #ifndef TkWinResendEvent
00556 #define TkWinResendEvent \
00557 (tkIntPlatStubsPtr->tkWinResendEvent)
00558 #endif
00559 #ifndef TkWinSelectPalette
00560 #define TkWinSelectPalette \
00561 (tkIntPlatStubsPtr->tkWinSelectPalette)
00562 #endif
00563 #ifndef TkWinSetMenu
00564 #define TkWinSetMenu \
00565 (tkIntPlatStubsPtr->tkWinSetMenu)
00566 #endif
00567 #ifndef TkWinSetWindowPos
00568 #define TkWinSetWindowPos \
00569 (tkIntPlatStubsPtr->tkWinSetWindowPos)
00570 #endif
00571 #ifndef TkWinWmCleanup
00572 #define TkWinWmCleanup \
00573 (tkIntPlatStubsPtr->tkWinWmCleanup)
00574 #endif
00575 #ifndef TkWinXCleanup
00576 #define TkWinXCleanup \
00577 (tkIntPlatStubsPtr->tkWinXCleanup)
00578 #endif
00579 #ifndef TkWinXInit
00580 #define TkWinXInit \
00581 (tkIntPlatStubsPtr->tkWinXInit)
00582 #endif
00583 #ifndef TkWinSetForegroundWindow
00584 #define TkWinSetForegroundWindow \
00585 (tkIntPlatStubsPtr->tkWinSetForegroundWindow)
00586 #endif
00587 #ifndef TkWinDialogDebug
00588 #define TkWinDialogDebug \
00589 (tkIntPlatStubsPtr->tkWinDialogDebug)
00590 #endif
00591 #ifndef TkWinGetMenuSystemDefault
00592 #define TkWinGetMenuSystemDefault \
00593 (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault)
00594 #endif
00595 #ifndef TkWinGetPlatformId
00596 #define TkWinGetPlatformId \
00597 (tkIntPlatStubsPtr->tkWinGetPlatformId)
00598 #endif
00599 #endif
00600 #ifdef MAC_TCL
00601 #ifndef TkGenerateActivateEvents
00602 #define TkGenerateActivateEvents \
00603 (tkIntPlatStubsPtr->tkGenerateActivateEvents)
00604 #endif
00605 #ifndef TkpCreateNativeBitmap
00606 #define TkpCreateNativeBitmap \
00607 (tkIntPlatStubsPtr->tkpCreateNativeBitmap)
00608 #endif
00609 #ifndef TkpDefineNativeBitmaps
00610 #define TkpDefineNativeBitmaps \
00611 (tkIntPlatStubsPtr->tkpDefineNativeBitmaps)
00612 #endif
00613 #ifndef TkpGetMS
00614 #define TkpGetMS \
00615 (tkIntPlatStubsPtr->tkpGetMS)
00616 #endif
00617
00618 #ifndef TkPointerDeadWindow
00619 #define TkPointerDeadWindow \
00620 (tkIntPlatStubsPtr->tkPointerDeadWindow)
00621 #endif
00622 #ifndef TkpSetCapture
00623 #define TkpSetCapture \
00624 (tkIntPlatStubsPtr->tkpSetCapture)
00625 #endif
00626 #ifndef TkpSetCursor
00627 #define TkpSetCursor \
00628 (tkIntPlatStubsPtr->tkpSetCursor)
00629 #endif
00630 #ifndef TkpWmSetState
00631 #define TkpWmSetState \
00632 (tkIntPlatStubsPtr->tkpWmSetState)
00633 #endif
00634
00635 #ifndef TkAboutDlg
00636 #define TkAboutDlg \
00637 (tkIntPlatStubsPtr->tkAboutDlg)
00638 #endif
00639
00640
00641 #ifndef TkGetTransientMaster
00642 #define TkGetTransientMaster \
00643 (tkIntPlatStubsPtr->tkGetTransientMaster)
00644 #endif
00645 #ifndef TkGenerateButtonEvent
00646 #define TkGenerateButtonEvent \
00647 (tkIntPlatStubsPtr->tkGenerateButtonEvent)
00648 #endif
00649
00650 #ifndef TkGenWMDestroyEvent
00651 #define TkGenWMDestroyEvent \
00652 (tkIntPlatStubsPtr->tkGenWMDestroyEvent)
00653 #endif
00654 #ifndef TkGenWMConfigureEvent
00655 #define TkGenWMConfigureEvent \
00656 (tkIntPlatStubsPtr->tkGenWMConfigureEvent)
00657 #endif
00658 #ifndef TkMacButtonKeyState
00659 #define TkMacButtonKeyState \
00660 (tkIntPlatStubsPtr->tkMacButtonKeyState)
00661 #endif
00662 #ifndef TkMacClearMenubarActive
00663 #define TkMacClearMenubarActive \
00664 (tkIntPlatStubsPtr->tkMacClearMenubarActive)
00665 #endif
00666 #ifndef TkMacConvertEvent
00667 #define TkMacConvertEvent \
00668 (tkIntPlatStubsPtr->tkMacConvertEvent)
00669 #endif
00670 #ifndef TkMacDispatchMenuEvent
00671 #define TkMacDispatchMenuEvent \
00672 (tkIntPlatStubsPtr->tkMacDispatchMenuEvent)
00673 #endif
00674 #ifndef TkMacInstallCursor
00675 #define TkMacInstallCursor \
00676 (tkIntPlatStubsPtr->tkMacInstallCursor)
00677 #endif
00678 #ifndef TkMacConvertTkEvent
00679 #define TkMacConvertTkEvent \
00680 (tkIntPlatStubsPtr->tkMacConvertTkEvent)
00681 #endif
00682 #ifndef TkMacHandleTearoffMenu
00683 #define TkMacHandleTearoffMenu \
00684 (tkIntPlatStubsPtr->tkMacHandleTearoffMenu)
00685 #endif
00686
00687 #ifndef TkMacInvalClipRgns
00688 #define TkMacInvalClipRgns \
00689 (tkIntPlatStubsPtr->tkMacInvalClipRgns)
00690 #endif
00691 #ifndef TkMacDoHLEvent
00692 #define TkMacDoHLEvent \
00693 (tkIntPlatStubsPtr->tkMacDoHLEvent)
00694 #endif
00695
00696 #ifndef TkMacGenerateTime
00697 #define TkMacGenerateTime \
00698 (tkIntPlatStubsPtr->tkMacGenerateTime)
00699 #endif
00700 #ifndef TkMacGetDrawablePort
00701 #define TkMacGetDrawablePort \
00702 (tkIntPlatStubsPtr->tkMacGetDrawablePort)
00703 #endif
00704 #ifndef TkMacGetScrollbarGrowWindow
00705 #define TkMacGetScrollbarGrowWindow \
00706 (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow)
00707 #endif
00708 #ifndef TkMacGetXWindow
00709 #define TkMacGetXWindow \
00710 (tkIntPlatStubsPtr->tkMacGetXWindow)
00711 #endif
00712 #ifndef TkMacGrowToplevel
00713 #define TkMacGrowToplevel \
00714 (tkIntPlatStubsPtr->tkMacGrowToplevel)
00715 #endif
00716 #ifndef TkMacHandleMenuSelect
00717 #define TkMacHandleMenuSelect \
00718 (tkIntPlatStubsPtr->tkMacHandleMenuSelect)
00719 #endif
00720 #ifndef TkMacHaveAppearance
00721 #define TkMacHaveAppearance \
00722 (tkIntPlatStubsPtr->tkMacHaveAppearance)
00723 #endif
00724 #ifndef TkMacInitAppleEvents
00725 #define TkMacInitAppleEvents \
00726 (tkIntPlatStubsPtr->tkMacInitAppleEvents)
00727 #endif
00728 #ifndef TkMacInitMenus
00729 #define TkMacInitMenus \
00730 (tkIntPlatStubsPtr->tkMacInitMenus)
00731 #endif
00732 #ifndef TkMacInvalidateWindow
00733 #define TkMacInvalidateWindow \
00734 (tkIntPlatStubsPtr->tkMacInvalidateWindow)
00735 #endif
00736 #ifndef TkMacIsCharacterMissing
00737 #define TkMacIsCharacterMissing \
00738 (tkIntPlatStubsPtr->tkMacIsCharacterMissing)
00739 #endif
00740 #ifndef TkMacMakeRealWindowExist
00741 #define TkMacMakeRealWindowExist \
00742 (tkIntPlatStubsPtr->tkMacMakeRealWindowExist)
00743 #endif
00744 #ifndef TkMacMakeStippleMap
00745 #define TkMacMakeStippleMap \
00746 (tkIntPlatStubsPtr->tkMacMakeStippleMap)
00747 #endif
00748 #ifndef TkMacMenuClick
00749 #define TkMacMenuClick \
00750 (tkIntPlatStubsPtr->tkMacMenuClick)
00751 #endif
00752 #ifndef TkMacRegisterOffScreenWindow
00753 #define TkMacRegisterOffScreenWindow \
00754 (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow)
00755 #endif
00756 #ifndef TkMacResizable
00757 #define TkMacResizable \
00758 (tkIntPlatStubsPtr->tkMacResizable)
00759 #endif
00760
00761 #ifndef TkMacSetHelpMenuItemCount
00762 #define TkMacSetHelpMenuItemCount \
00763 (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount)
00764 #endif
00765 #ifndef TkMacSetScrollbarGrow
00766 #define TkMacSetScrollbarGrow \
00767 (tkIntPlatStubsPtr->tkMacSetScrollbarGrow)
00768 #endif
00769 #ifndef TkMacSetUpClippingRgn
00770 #define TkMacSetUpClippingRgn \
00771 (tkIntPlatStubsPtr->tkMacSetUpClippingRgn)
00772 #endif
00773 #ifndef TkMacSetUpGraphicsPort
00774 #define TkMacSetUpGraphicsPort \
00775 (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort)
00776 #endif
00777 #ifndef TkMacUpdateClipRgn
00778 #define TkMacUpdateClipRgn \
00779 (tkIntPlatStubsPtr->tkMacUpdateClipRgn)
00780 #endif
00781 #ifndef TkMacUnregisterMacWindow
00782 #define TkMacUnregisterMacWindow \
00783 (tkIntPlatStubsPtr->tkMacUnregisterMacWindow)
00784 #endif
00785 #ifndef TkMacUseMenuID
00786 #define TkMacUseMenuID \
00787 (tkIntPlatStubsPtr->tkMacUseMenuID)
00788 #endif
00789 #ifndef TkMacVisableClipRgn
00790 #define TkMacVisableClipRgn \
00791 (tkIntPlatStubsPtr->tkMacVisableClipRgn)
00792 #endif
00793 #ifndef TkMacWinBounds
00794 #define TkMacWinBounds \
00795 (tkIntPlatStubsPtr->tkMacWinBounds)
00796 #endif
00797 #ifndef TkMacWindowOffset
00798 #define TkMacWindowOffset \
00799 (tkIntPlatStubsPtr->tkMacWindowOffset)
00800 #endif
00801
00802 #ifndef TkSetMacColor
00803 #define TkSetMacColor \
00804 (tkIntPlatStubsPtr->tkSetMacColor)
00805 #endif
00806 #ifndef TkSetWMName
00807 #define TkSetWMName \
00808 (tkIntPlatStubsPtr->tkSetWMName)
00809 #endif
00810 #ifndef TkSuspendClipboard
00811 #define TkSuspendClipboard \
00812 (tkIntPlatStubsPtr->tkSuspendClipboard)
00813 #endif
00814
00815 #ifndef TkMacZoomToplevel
00816 #define TkMacZoomToplevel \
00817 (tkIntPlatStubsPtr->tkMacZoomToplevel)
00818 #endif
00819 #ifndef Tk_TopCoordsToWindow
00820 #define Tk_TopCoordsToWindow \
00821 (tkIntPlatStubsPtr->tk_TopCoordsToWindow)
00822 #endif
00823 #ifndef TkMacContainerId
00824 #define TkMacContainerId \
00825 (tkIntPlatStubsPtr->tkMacContainerId)
00826 #endif
00827 #ifndef TkMacGetHostToplevel
00828 #define TkMacGetHostToplevel \
00829 (tkIntPlatStubsPtr->tkMacGetHostToplevel)
00830 #endif
00831 #ifndef TkMacPreprocessMenu
00832 #define TkMacPreprocessMenu \
00833 (tkIntPlatStubsPtr->tkMacPreprocessMenu)
00834 #endif
00835 #endif
00836
00837 #endif
00838
00839
00840
00841 #undef TCL_STORAGE_CLASS
00842 #define TCL_STORAGE_CLASS DLLIMPORT
00843
00844 #endif