tkIntPlatDecls.h

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

Generated on Mon Sep 18 01:24:46 2006 for BRL-CAD by  doxygen 1.4.6