/[dtapublic]/projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/tkintplatdecls.h
ViewVC logotype

Diff of /projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/tkintplatdecls.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 69 by dashley, Sat Nov 5 10:54:17 2016 UTC revision 71 by dashley, Sat Nov 5 11:07:06 2016 UTC
# Line 1  Line 1 
1  /* $Header$ */  /* $Header$ */
2    
3  /*  /*
4   * tkIntPlatDecls.h --   * tkIntPlatDecls.h --
5   *   *
6   *      This file contains the declarations for all platform dependent   *      This file contains the declarations for all platform dependent
7   *      unsupported functions that are exported by the Tk library.  These   *      unsupported functions that are exported by the Tk library.  These
8   *      interfaces are not guaranteed to remain the same between   *      interfaces are not guaranteed to remain the same between
9   *      versions.  Use at your own risk.   *      versions.  Use at your own risk.
10   *   *
11   * Copyright (c) 1998-1999 by Scriptics Corporation.   * Copyright (c) 1998-1999 by Scriptics Corporation.
12   * All rights reserved.   * All rights reserved.
13   *   *
14   * RCS: @(#) $Id: tkintplatdecls.h,v 1.1.1.1 2001/06/13 05:04:09 dtashley Exp $   * RCS: @(#) $Id: tkintplatdecls.h,v 1.1.1.1 2001/06/13 05:04:09 dtashley Exp $
15   */   */
16    
17  #ifndef _TKINTPLATDECLS  #ifndef _TKINTPLATDECLS
18  #define _TKINTPLATDECLS  #define _TKINTPLATDECLS
19    
20  #ifdef BUILD_tk  #ifdef BUILD_tk
21  #undef TCL_STORAGE_CLASS  #undef TCL_STORAGE_CLASS
22  #define TCL_STORAGE_CLASS DLLEXPORT  #define TCL_STORAGE_CLASS DLLEXPORT
23  #endif  #endif
24    
25  /*  /*
26   * WARNING: This file is automatically generated by the tools/genStubs.tcl   * WARNING: This file is automatically generated by the tools/genStubs.tcl
27   * script.  Any modifications to the function declarations below should be made   * script.  Any modifications to the function declarations below should be made
28   * in the generic/tkInt.decls script.   * in the generic/tkInt.decls script.
29   */   */
30    
31  /* !BEGIN!: Do not edit below this line. */  /* !BEGIN!: Do not edit below this line. */
32    
33  /*  /*
34   * Exported function declarations:   * Exported function declarations:
35   */   */
36    
37  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
38  /* 0 */  /* 0 */
39  extern void             TkCreateXEventSource _ANSI_ARGS_((void));  extern void             TkCreateXEventSource _ANSI_ARGS_((void));
40  /* 1 */  /* 1 */
41  extern void             TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr,  extern void             TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr,
42                                  Window w));                                  Window w));
43  /* 2 */  /* 2 */
44  extern void             TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr));  extern void             TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr));
45  /* 3 */  /* 3 */
46  extern int              TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,  extern int              TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,
47                                  Colormap colormap));                                  Colormap colormap));
48  /* 4 */  /* 4 */
49  extern void             TkpSync _ANSI_ARGS_((Display * display));  extern void             TkpSync _ANSI_ARGS_((Display * display));
50  /* 5 */  /* 5 */
51  extern Window           TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr));  extern Window           TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr));
52  /* 6 */  /* 6 */
53  extern int              TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr));  extern int              TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr));
54  /* 7 */  /* 7 */
55  extern void             TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,  extern void             TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,
56                                  Tk_Window menubar));                                  Tk_Window menubar));
57  #endif /* UNIX */  #endif /* UNIX */
58  #ifdef __WIN32__  #ifdef __WIN32__
59  /* 0 */  /* 0 */
60  extern char *           TkAlignImageData _ANSI_ARGS_((XImage * image,  extern char *           TkAlignImageData _ANSI_ARGS_((XImage * image,
61                                  int alignment, int bitOrder));                                  int alignment, int bitOrder));
62  /* Slot 1 is reserved */  /* Slot 1 is reserved */
63  /* 2 */  /* 2 */
64  extern void             TkGenerateActivateEvents _ANSI_ARGS_((  extern void             TkGenerateActivateEvents _ANSI_ARGS_((
65                                  TkWindow * winPtr, int active));                                  TkWindow * winPtr, int active));
66  /* 3 */  /* 3 */
67  extern unsigned long    TkpGetMS _ANSI_ARGS_((void));  extern unsigned long    TkpGetMS _ANSI_ARGS_((void));
68  /* 4 */  /* 4 */
69  extern void             TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
70  /* 5 */  /* 5 */
71  extern void             TkpPrintWindowId _ANSI_ARGS_((char * buf,  extern void             TkpPrintWindowId _ANSI_ARGS_((char * buf,
72                                  Window window));                                  Window window));
73  /* 6 */  /* 6 */
74  extern int              TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,  extern int              TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
75                                  char * string, int * idPtr));                                  char * string, int * idPtr));
76  /* 7 */  /* 7 */
77  extern void             TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
78  /* 8 */  /* 8 */
79  extern void             TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));  extern void             TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
80  /* 9 */  /* 9 */
81  extern void             TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,  extern void             TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
82                                  int state));                                  int state));
83  /* 10 */  /* 10 */
84  extern void             TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,  extern void             TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
85                                  Colormap colormap));                                  Colormap colormap));
86  /* 11 */  /* 11 */
87  extern void             TkWinCancelMouseTimer _ANSI_ARGS_((void));  extern void             TkWinCancelMouseTimer _ANSI_ARGS_((void));
88  /* 12 */  /* 12 */
89  extern void             TkWinClipboardRender _ANSI_ARGS_((  extern void             TkWinClipboardRender _ANSI_ARGS_((
90                                  TkDisplay * dispPtr, UINT format));                                  TkDisplay * dispPtr, UINT format));
91  /* 13 */  /* 13 */
92  extern LRESULT          TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,  extern LRESULT          TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,
93                                  UINT message, WPARAM wParam, LPARAM lParam));                                  UINT message, WPARAM wParam, LPARAM lParam));
94  /* 14 */  /* 14 */
95  extern void             TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,  extern void             TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,
96                                  int width, int height, int pixel));                                  int width, int height, int pixel));
97  /* 15 */  /* 15 */
98  extern COLORREF         TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,  extern COLORREF         TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,
99                                  Tk_3DBorder border, int which));                                  Tk_3DBorder border, int which));
100  /* 16 */  /* 16 */
101  extern HDC              TkWinGetDrawableDC _ANSI_ARGS_((Display * display,  extern HDC              TkWinGetDrawableDC _ANSI_ARGS_((Display * display,
102                                  Drawable d, TkWinDCState* state));                                  Drawable d, TkWinDCState* state));
103  /* 17 */  /* 17 */
104  extern int              TkWinGetModifierState _ANSI_ARGS_((void));  extern int              TkWinGetModifierState _ANSI_ARGS_((void));
105  /* 18 */  /* 18 */
106  extern HPALETTE         TkWinGetSystemPalette _ANSI_ARGS_((void));  extern HPALETTE         TkWinGetSystemPalette _ANSI_ARGS_((void));
107  /* 19 */  /* 19 */
108  extern HWND             TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin));  extern HWND             TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin));
109  /* 20 */  /* 20 */
110  extern int              TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd,  extern int              TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd,
111                                  UINT * pMessage, WPARAM * pwParam,                                  UINT * pMessage, WPARAM * pwParam,
112                                  LPARAM * plParam, LRESULT * plResult));                                  LPARAM * plParam, LRESULT * plResult));
113  /* 21 */  /* 21 */
114  extern int              TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr));  extern int              TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr));
115  /* 22 */  /* 22 */
116  extern void             TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,  extern void             TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,
117                                  HDC hdc, TkWinDCState* state));                                  HDC hdc, TkWinDCState* state));
118  /* 23 */  /* 23 */
119  extern LRESULT          TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,  extern LRESULT          TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,
120                                  HWND hwnd, XEvent * eventPtr));                                  HWND hwnd, XEvent * eventPtr));
121  /* 24 */  /* 24 */
122  extern HPALETTE         TkWinSelectPalette _ANSI_ARGS_((HDC dc,  extern HPALETTE         TkWinSelectPalette _ANSI_ARGS_((HDC dc,
123                                  Colormap colormap));                                  Colormap colormap));
124  /* 25 */  /* 25 */
125  extern void             TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,  extern void             TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,
126                                  HMENU hMenu));                                  HMENU hMenu));
127  /* 26 */  /* 26 */
128  extern void             TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,  extern void             TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,
129                                  HWND siblingHwnd, int pos));                                  HWND siblingHwnd, int pos));
130  /* 27 */  /* 27 */
131  extern void             TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance));  extern void             TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance));
132  /* 28 */  /* 28 */
133  extern void             TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance));  extern void             TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance));
134  /* 29 */  /* 29 */
135  extern void             TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance));  extern void             TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance));
136  /* 30 */  /* 30 */
137  extern void             TkWinSetForegroundWindow _ANSI_ARGS_((  extern void             TkWinSetForegroundWindow _ANSI_ARGS_((
138                                  TkWindow * winPtr));                                  TkWindow * winPtr));
139  /* 31 */  /* 31 */
140  extern void             TkWinDialogDebug _ANSI_ARGS_((int debug));  extern void             TkWinDialogDebug _ANSI_ARGS_((int debug));
141  /* 32 */  /* 32 */
142  extern Tcl_Obj *        TkWinGetMenuSystemDefault _ANSI_ARGS_((  extern Tcl_Obj *        TkWinGetMenuSystemDefault _ANSI_ARGS_((
143                                  Tk_Window tkwin, char * dbName,                                  Tk_Window tkwin, char * dbName,
144                                  char * className));                                  char * className));
145  /* 33 */  /* 33 */
146  extern int              TkWinGetPlatformId _ANSI_ARGS_((void));  extern int              TkWinGetPlatformId _ANSI_ARGS_((void));
147  #endif /* __WIN32__ */  #endif /* __WIN32__ */
148  #ifdef MAC_TCL  #ifdef MAC_TCL
149  /* 0 */  /* 0 */
150  extern void             TkGenerateActivateEvents _ANSI_ARGS_((  extern void             TkGenerateActivateEvents _ANSI_ARGS_((
151                                  TkWindow * winPtr, int active));                                  TkWindow * winPtr, int active));
152  /* 1 */  /* 1 */
153  extern Pixmap           TkpCreateNativeBitmap _ANSI_ARGS_((Display * display,  extern Pixmap           TkpCreateNativeBitmap _ANSI_ARGS_((Display * display,
154                                  char * source));                                  char * source));
155  /* 2 */  /* 2 */
156  extern void             TkpDefineNativeBitmaps _ANSI_ARGS_((void));  extern void             TkpDefineNativeBitmaps _ANSI_ARGS_((void));
157  /* 3 */  /* 3 */
158  extern unsigned long    TkpGetMS _ANSI_ARGS_((void));  extern unsigned long    TkpGetMS _ANSI_ARGS_((void));
159  /* Slot 4 is reserved */  /* Slot 4 is reserved */
160  /* 5 */  /* 5 */
161  extern void             TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
162  /* 6 */  /* 6 */
163  extern void             TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
164  /* 7 */  /* 7 */
165  extern void             TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));  extern void             TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
166  /* 8 */  /* 8 */
167  extern void             TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,  extern void             TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
168                                  int state));                                  int state));
169  /* Slot 9 is reserved */  /* Slot 9 is reserved */
170  /* 10 */  /* 10 */
171  extern void             TkAboutDlg _ANSI_ARGS_((void));  extern void             TkAboutDlg _ANSI_ARGS_((void));
172  /* Slot 11 is reserved */  /* Slot 11 is reserved */
173  /* Slot 12 is reserved */  /* Slot 12 is reserved */
174  /* 13 */  /* 13 */
175  extern Window           TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));  extern Window           TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
176  /* 14 */  /* 14 */
177  extern int              TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,  extern int              TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
178                                  Window window, unsigned int state));                                  Window window, unsigned int state));
179  /* Slot 15 is reserved */  /* Slot 15 is reserved */
180  /* 16 */  /* 16 */
181  extern void             TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));  extern void             TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));
182  /* 17 */  /* 17 */
183  extern void             TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,  extern void             TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
184                                  int x, int y, int width, int height,                                  int x, int y, int width, int height,
185                                  int flags));                                  int flags));
186  /* 18 */  /* 18 */
187  extern unsigned int     TkMacButtonKeyState _ANSI_ARGS_((void));  extern unsigned int     TkMacButtonKeyState _ANSI_ARGS_((void));
188  /* 19 */  /* 19 */
189  extern void             TkMacClearMenubarActive _ANSI_ARGS_((void));  extern void             TkMacClearMenubarActive _ANSI_ARGS_((void));
190  /* 20 */  /* 20 */
191  extern int              TkMacConvertEvent _ANSI_ARGS_((  extern int              TkMacConvertEvent _ANSI_ARGS_((
192                                  EventRecord * eventPtr));                                  EventRecord * eventPtr));
193  /* 21 */  /* 21 */
194  extern int              TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,  extern int              TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,
195                                  int index));                                  int index));
196  /* 22 */  /* 22 */
197  extern void             TkMacInstallCursor _ANSI_ARGS_((int resizeOverride));  extern void             TkMacInstallCursor _ANSI_ARGS_((int resizeOverride));
198  /* 23 */  /* 23 */
199  extern int              TkMacConvertTkEvent _ANSI_ARGS_((  extern int              TkMacConvertTkEvent _ANSI_ARGS_((
200                                  EventRecord * eventPtr, Window window));                                  EventRecord * eventPtr, Window window));
201  /* 24 */  /* 24 */
202  extern void             TkMacHandleTearoffMenu _ANSI_ARGS_((void));  extern void             TkMacHandleTearoffMenu _ANSI_ARGS_((void));
203  /* Slot 25 is reserved */  /* Slot 25 is reserved */
204  /* 26 */  /* 26 */
205  extern void             TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr));
206  /* 27 */  /* 27 */
207  extern void             TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent));  extern void             TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent));
208  /* Slot 28 is reserved */  /* Slot 28 is reserved */
209  /* 29 */  /* 29 */
210  extern Time             TkMacGenerateTime _ANSI_ARGS_((void));  extern Time             TkMacGenerateTime _ANSI_ARGS_((void));
211  /* 30 */  /* 30 */
212  extern GWorldPtr        TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable));  extern GWorldPtr        TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable));
213  /* 31 */  /* 31 */
214  extern TkWindow *       TkMacGetScrollbarGrowWindow _ANSI_ARGS_((  extern TkWindow *       TkMacGetScrollbarGrowWindow _ANSI_ARGS_((
215                                  TkWindow * winPtr));                                  TkWindow * winPtr));
216  /* 32 */  /* 32 */
217  extern Window           TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));  extern Window           TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
218  /* 33 */  /* 33 */
219  extern int              TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,  extern int              TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,
220                                  Point start));                                  Point start));
221  /* 34 */  /* 34 */
222  extern void             TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,  extern void             TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,
223                                  int optionKeyPressed));                                  int optionKeyPressed));
224  /* 35 */  /* 35 */
225  extern int              TkMacHaveAppearance _ANSI_ARGS_((void));  extern int              TkMacHaveAppearance _ANSI_ARGS_((void));
226  /* 36 */  /* 36 */
227  extern void             TkMacInitAppleEvents _ANSI_ARGS_((  extern void             TkMacInitAppleEvents _ANSI_ARGS_((
228                                  Tcl_Interp * interp));                                  Tcl_Interp * interp));
229  /* 37 */  /* 37 */
230  extern void             TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp));  extern void             TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp));
231  /* 38 */  /* 38 */
232  extern void             TkMacInvalidateWindow _ANSI_ARGS_((  extern void             TkMacInvalidateWindow _ANSI_ARGS_((
233                                  MacDrawable * macWin, int flag));                                  MacDrawable * macWin, int flag));
234  /* 39 */  /* 39 */
235  extern int              TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,  extern int              TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,
236                                  unsigned int searchChar));                                  unsigned int searchChar));
237  /* 40 */  /* 40 */
238  extern void             TkMacMakeRealWindowExist _ANSI_ARGS_((  extern void             TkMacMakeRealWindowExist _ANSI_ARGS_((
239                                  TkWindow * winPtr));                                  TkWindow * winPtr));
240  /* 41 */  /* 41 */
241  extern BitMapPtr        TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,  extern BitMapPtr        TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,
242                                  Drawable d2));                                  Drawable d2));
243  /* 42 */  /* 42 */
244  extern void             TkMacMenuClick _ANSI_ARGS_((void));  extern void             TkMacMenuClick _ANSI_ARGS_((void));
245  /* 43 */  /* 43 */
246  extern void             TkMacRegisterOffScreenWindow _ANSI_ARGS_((  extern void             TkMacRegisterOffScreenWindow _ANSI_ARGS_((
247                                  Window window, GWorldPtr portPtr));                                  Window window, GWorldPtr portPtr));
248  /* 44 */  /* 44 */
249  extern int              TkMacResizable _ANSI_ARGS_((TkWindow * winPtr));  extern int              TkMacResizable _ANSI_ARGS_((TkWindow * winPtr));
250  /* Slot 45 is reserved */  /* Slot 45 is reserved */
251  /* 46 */  /* 46 */
252  extern void             TkMacSetHelpMenuItemCount _ANSI_ARGS_((void));  extern void             TkMacSetHelpMenuItemCount _ANSI_ARGS_((void));
253  /* 47 */  /* 47 */
254  extern void             TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr,  extern void             TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr,
255                                  int flag));                                  int flag));
256  /* 48 */  /* 48 */
257  extern void             TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable));  extern void             TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable));
258  /* 49 */  /* 49 */
259  extern void             TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc));  extern void             TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc));
260  /* 50 */  /* 50 */
261  extern void             TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));  extern void             TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
262  /* 51 */  /* 51 */
263  extern void             TkMacUnregisterMacWindow _ANSI_ARGS_((  extern void             TkMacUnregisterMacWindow _ANSI_ARGS_((
264                                  GWorldPtr portPtr));                                  GWorldPtr portPtr));
265  /* 52 */  /* 52 */
266  extern int              TkMacUseMenuID _ANSI_ARGS_((short macID));  extern int              TkMacUseMenuID _ANSI_ARGS_((short macID));
267  /* 53 */  /* 53 */
268  extern RgnHandle        TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr));  extern RgnHandle        TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr));
269  /* 54 */  /* 54 */
270  extern void             TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr,  extern void             TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr,
271                                  Rect * geometry));                                  Rect * geometry));
272  /* 55 */  /* 55 */
273  extern void             TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,  extern void             TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,
274                                  int * xOffset, int * yOffset));                                  int * xOffset, int * yOffset));
275  /* Slot 56 is reserved */  /* Slot 56 is reserved */
276  /* 57 */  /* 57 */
277  extern int              TkSetMacColor _ANSI_ARGS_((unsigned long pixel,  extern int              TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
278                                  RGBColor * macColor));                                  RGBColor * macColor));
279  /* 58 */  /* 58 */
280  extern void             TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,  extern void             TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
281                                  Tk_Uid titleUid));                                  Tk_Uid titleUid));
282  /* 59 */  /* 59 */
283  extern void             TkSuspendClipboard _ANSI_ARGS_((void));  extern void             TkSuspendClipboard _ANSI_ARGS_((void));
284  /* Slot 60 is reserved */  /* Slot 60 is reserved */
285  /* 61 */  /* 61 */
286  extern int              TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,  extern int              TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,
287                                  Point where, short zoomPart));                                  Point where, short zoomPart));
288  /* 62 */  /* 62 */
289  extern Tk_Window        Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,  extern Tk_Window        Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
290                                  int rootX, int rootY, int * newX, int * newY));                                  int rootX, int rootY, int * newX, int * newY));
291  /* 63 */  /* 63 */
292  extern MacDrawable *    TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr));  extern MacDrawable *    TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr));
293  /* 64 */  /* 64 */
294  extern MacDrawable *    TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr));  extern MacDrawable *    TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr));
295  /* 65 */  /* 65 */
296  extern void             TkMacPreprocessMenu _ANSI_ARGS_((void));  extern void             TkMacPreprocessMenu _ANSI_ARGS_((void));
297  #endif /* MAC_TCL */  #endif /* MAC_TCL */
298    
299  typedef struct TkIntPlatStubs {  typedef struct TkIntPlatStubs {
300      int magic;      int magic;
301      struct TkIntPlatStubHooks *hooks;      struct TkIntPlatStubHooks *hooks;
302    
303  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
304      void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */      void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */
305      void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */      void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */
306      void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */      void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */
307      int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */      int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */
308      void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */      void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */
309      Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */      Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */
310      int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */      int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */
311      void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */      void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */
312  #endif /* UNIX */  #endif /* UNIX */
313  #ifdef __WIN32__  #ifdef __WIN32__
314      char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */      char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */
315      void *reserved1;      void *reserved1;
316      void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */      void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */
317      unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */      unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */
318      void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */      void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */
319      void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */      void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */
320      int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int * idPtr)); /* 6 */      int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int * idPtr)); /* 6 */
321      void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */      void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */
322      void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */      void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */
323      void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */      void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */
324      void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */      void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */
325      void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */      void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */
326      void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */      void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */
327      LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */      LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */
328      void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */      void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */
329      COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */      COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */
330      HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */      HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */
331      int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */      int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */
332      HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */      HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */
333      HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */      HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */
334      int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */      int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */
335      int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */      int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */
336      void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */      void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */
337      LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */      LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */
338      HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */      HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */
339      void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */      void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */
340      void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */      void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */
341      void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */      void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */
342      void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */      void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */
343      void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */      void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */
344      void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */      void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */
345      void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */      void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */
346      Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 32 */      Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 32 */
347      int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */      int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */
348  #endif /* __WIN32__ */  #endif /* __WIN32__ */
349  #ifdef MAC_TCL  #ifdef MAC_TCL
350      void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */      void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */
351      Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 1 */      Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 1 */
352      void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 2 */      void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 2 */
353      unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */      unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */
354      void *reserved4;      void *reserved4;
355      void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */      void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */
356      void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */      void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */
357      void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */      void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */
358      void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */      void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */
359      void *reserved9;      void *reserved9;
360      void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */      void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */
361      void *reserved11;      void *reserved11;
362      void *reserved12;      void *reserved12;
363      Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */      Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */
364      int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */      int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */
365      void *reserved15;      void *reserved15;
366      void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */      void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */
367      void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 17 */      void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 17 */
368      unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */      unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */
369      void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */      void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */
370      int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 20 */      int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 20 */
371      int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */      int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */
372      void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */      void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */
373      int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 23 */      int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 23 */
374      void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */      void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */
375      void *reserved25;      void *reserved25;
376      void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 26 */      void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 26 */
377      void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */      void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */
378      void *reserved28;      void *reserved28;
379      Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */      Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */
380      GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 30 */      GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 30 */
381      TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */      TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */
382      Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */      Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */
383      int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */      int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */
384      void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */      void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */
385      int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 35 */      int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 35 */
386      void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 36 */      void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 36 */
387      void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 37 */      void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 37 */
388      void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */      void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */
389      int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */      int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */
390      void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */      void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */
391      BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */      BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */
392      void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */      void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */
393      void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */      void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */
394      int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */      int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */
395      void *reserved45;      void *reserved45;
396      void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */      void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */
397      void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */      void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */
398      void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */      void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */
399      void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */      void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */
400      void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */      void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */
401      void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */      void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */
402      int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */      int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */
403      RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */      RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */
404      void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */      void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */
405      void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */      void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */
406      void *reserved56;      void *reserved56;
407      int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */      int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */
408      void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */      void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */
409      void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */      void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */
410      void *reserved60;      void *reserved60;
411      int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */      int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */
412      Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */      Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */
413      MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */      MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */
414      MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */      MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */
415      void (*tkMacPreprocessMenu) _ANSI_ARGS_((void)); /* 65 */      void (*tkMacPreprocessMenu) _ANSI_ARGS_((void)); /* 65 */
416  #endif /* MAC_TCL */  #endif /* MAC_TCL */
417  } TkIntPlatStubs;  } TkIntPlatStubs;
418    
419  #ifdef __cplusplus  #ifdef __cplusplus
420  extern "C" {  extern "C" {
421  #endif  #endif
422  extern TkIntPlatStubs *tkIntPlatStubsPtr;  extern TkIntPlatStubs *tkIntPlatStubsPtr;
423  #ifdef __cplusplus  #ifdef __cplusplus
424  }  }
425  #endif  #endif
426    
427  #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)  #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
428    
429  /*  /*
430   * Inline function declarations:   * Inline function declarations:
431   */   */
432    
433  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */  #if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
434  #ifndef TkCreateXEventSource  #ifndef TkCreateXEventSource
435  #define TkCreateXEventSource \  #define TkCreateXEventSource \
436          (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */          (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */
437  #endif  #endif
438  #ifndef TkFreeWindowId  #ifndef TkFreeWindowId
439  #define TkFreeWindowId \  #define TkFreeWindowId \
440          (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */          (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */
441  #endif  #endif
442  #ifndef TkInitXId  #ifndef TkInitXId
443  #define TkInitXId \  #define TkInitXId \
444          (tkIntPlatStubsPtr->tkInitXId) /* 2 */          (tkIntPlatStubsPtr->tkInitXId) /* 2 */
445  #endif  #endif
446  #ifndef TkpCmapStressed  #ifndef TkpCmapStressed
447  #define TkpCmapStressed \  #define TkpCmapStressed \
448          (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */          (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */
449  #endif  #endif
450  #ifndef TkpSync  #ifndef TkpSync
451  #define TkpSync \  #define TkpSync \
452          (tkIntPlatStubsPtr->tkpSync) /* 4 */          (tkIntPlatStubsPtr->tkpSync) /* 4 */
453  #endif  #endif
454  #ifndef TkUnixContainerId  #ifndef TkUnixContainerId
455  #define TkUnixContainerId \  #define TkUnixContainerId \
456          (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */          (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */
457  #endif  #endif
458  #ifndef TkUnixDoOneXEvent  #ifndef TkUnixDoOneXEvent
459  #define TkUnixDoOneXEvent \  #define TkUnixDoOneXEvent \
460          (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */          (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */
461  #endif  #endif
462  #ifndef TkUnixSetMenubar  #ifndef TkUnixSetMenubar
463  #define TkUnixSetMenubar \  #define TkUnixSetMenubar \
464          (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */          (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */
465  #endif  #endif
466  #endif /* UNIX */  #endif /* UNIX */
467  #ifdef __WIN32__  #ifdef __WIN32__
468  #ifndef TkAlignImageData  #ifndef TkAlignImageData
469  #define TkAlignImageData \  #define TkAlignImageData \
470          (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */          (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */
471  #endif  #endif
472  /* Slot 1 is reserved */  /* Slot 1 is reserved */
473  #ifndef TkGenerateActivateEvents  #ifndef TkGenerateActivateEvents
474  #define TkGenerateActivateEvents \  #define TkGenerateActivateEvents \
475          (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */          (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */
476  #endif  #endif
477  #ifndef TkpGetMS  #ifndef TkpGetMS
478  #define TkpGetMS \  #define TkpGetMS \
479          (tkIntPlatStubsPtr->tkpGetMS) /* 3 */          (tkIntPlatStubsPtr->tkpGetMS) /* 3 */
480  #endif  #endif
481  #ifndef TkPointerDeadWindow  #ifndef TkPointerDeadWindow
482  #define TkPointerDeadWindow \  #define TkPointerDeadWindow \
483          (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */          (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */
484  #endif  #endif
485  #ifndef TkpPrintWindowId  #ifndef TkpPrintWindowId
486  #define TkpPrintWindowId \  #define TkpPrintWindowId \
487          (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */          (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */
488  #endif  #endif
489  #ifndef TkpScanWindowId  #ifndef TkpScanWindowId
490  #define TkpScanWindowId \  #define TkpScanWindowId \
491          (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */          (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */
492  #endif  #endif
493  #ifndef TkpSetCapture  #ifndef TkpSetCapture
494  #define TkpSetCapture \  #define TkpSetCapture \
495          (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */          (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */
496  #endif  #endif
497  #ifndef TkpSetCursor  #ifndef TkpSetCursor
498  #define TkpSetCursor \  #define TkpSetCursor \
499          (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */          (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */
500  #endif  #endif
501  #ifndef TkpWmSetState  #ifndef TkpWmSetState
502  #define TkpWmSetState \  #define TkpWmSetState \
503          (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */          (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */
504  #endif  #endif
505  #ifndef TkSetPixmapColormap  #ifndef TkSetPixmapColormap
506  #define TkSetPixmapColormap \  #define TkSetPixmapColormap \
507          (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */          (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */
508  #endif  #endif
509  #ifndef TkWinCancelMouseTimer  #ifndef TkWinCancelMouseTimer
510  #define TkWinCancelMouseTimer \  #define TkWinCancelMouseTimer \
511          (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */          (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */
512  #endif  #endif
513  #ifndef TkWinClipboardRender  #ifndef TkWinClipboardRender
514  #define TkWinClipboardRender \  #define TkWinClipboardRender \
515          (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */          (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */
516  #endif  #endif
517  #ifndef TkWinEmbeddedEventProc  #ifndef TkWinEmbeddedEventProc
518  #define TkWinEmbeddedEventProc \  #define TkWinEmbeddedEventProc \
519          (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */          (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */
520  #endif  #endif
521  #ifndef TkWinFillRect  #ifndef TkWinFillRect
522  #define TkWinFillRect \  #define TkWinFillRect \
523          (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */          (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */
524  #endif  #endif
525  #ifndef TkWinGetBorderPixels  #ifndef TkWinGetBorderPixels
526  #define TkWinGetBorderPixels \  #define TkWinGetBorderPixels \
527          (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */          (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */
528  #endif  #endif
529  #ifndef TkWinGetDrawableDC  #ifndef TkWinGetDrawableDC
530  #define TkWinGetDrawableDC \  #define TkWinGetDrawableDC \
531          (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */          (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */
532  #endif  #endif
533  #ifndef TkWinGetModifierState  #ifndef TkWinGetModifierState
534  #define TkWinGetModifierState \  #define TkWinGetModifierState \
535          (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */          (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */
536  #endif  #endif
537  #ifndef TkWinGetSystemPalette  #ifndef TkWinGetSystemPalette
538  #define TkWinGetSystemPalette \  #define TkWinGetSystemPalette \
539          (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */          (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */
540  #endif  #endif
541  #ifndef TkWinGetWrapperWindow  #ifndef TkWinGetWrapperWindow
542  #define TkWinGetWrapperWindow \  #define TkWinGetWrapperWindow \
543          (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */          (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */
544  #endif  #endif
545  #ifndef TkWinHandleMenuEvent  #ifndef TkWinHandleMenuEvent
546  #define TkWinHandleMenuEvent \  #define TkWinHandleMenuEvent \
547          (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */          (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */
548  #endif  #endif
549  #ifndef TkWinIndexOfColor  #ifndef TkWinIndexOfColor
550  #define TkWinIndexOfColor \  #define TkWinIndexOfColor \
551          (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */          (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */
552  #endif  #endif
553  #ifndef TkWinReleaseDrawableDC  #ifndef TkWinReleaseDrawableDC
554  #define TkWinReleaseDrawableDC \  #define TkWinReleaseDrawableDC \
555          (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */          (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */
556  #endif  #endif
557  #ifndef TkWinResendEvent  #ifndef TkWinResendEvent
558  #define TkWinResendEvent \  #define TkWinResendEvent \
559          (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */          (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */
560  #endif  #endif
561  #ifndef TkWinSelectPalette  #ifndef TkWinSelectPalette
562  #define TkWinSelectPalette \  #define TkWinSelectPalette \
563          (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */          (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */
564  #endif  #endif
565  #ifndef TkWinSetMenu  #ifndef TkWinSetMenu
566  #define TkWinSetMenu \  #define TkWinSetMenu \
567          (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */          (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */
568  #endif  #endif
569  #ifndef TkWinSetWindowPos  #ifndef TkWinSetWindowPos
570  #define TkWinSetWindowPos \  #define TkWinSetWindowPos \
571          (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */          (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */
572  #endif  #endif
573  #ifndef TkWinWmCleanup  #ifndef TkWinWmCleanup
574  #define TkWinWmCleanup \  #define TkWinWmCleanup \
575          (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */          (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */
576  #endif  #endif
577  #ifndef TkWinXCleanup  #ifndef TkWinXCleanup
578  #define TkWinXCleanup \  #define TkWinXCleanup \
579          (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */          (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */
580  #endif  #endif
581  #ifndef TkWinXInit  #ifndef TkWinXInit
582  #define TkWinXInit \  #define TkWinXInit \
583          (tkIntPlatStubsPtr->tkWinXInit) /* 29 */          (tkIntPlatStubsPtr->tkWinXInit) /* 29 */
584  #endif  #endif
585  #ifndef TkWinSetForegroundWindow  #ifndef TkWinSetForegroundWindow
586  #define TkWinSetForegroundWindow \  #define TkWinSetForegroundWindow \
587          (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */          (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */
588  #endif  #endif
589  #ifndef TkWinDialogDebug  #ifndef TkWinDialogDebug
590  #define TkWinDialogDebug \  #define TkWinDialogDebug \
591          (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */          (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */
592  #endif  #endif
593  #ifndef TkWinGetMenuSystemDefault  #ifndef TkWinGetMenuSystemDefault
594  #define TkWinGetMenuSystemDefault \  #define TkWinGetMenuSystemDefault \
595          (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */          (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */
596  #endif  #endif
597  #ifndef TkWinGetPlatformId  #ifndef TkWinGetPlatformId
598  #define TkWinGetPlatformId \  #define TkWinGetPlatformId \
599          (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */          (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */
600  #endif  #endif
601  #endif /* __WIN32__ */  #endif /* __WIN32__ */
602  #ifdef MAC_TCL  #ifdef MAC_TCL
603  #ifndef TkGenerateActivateEvents  #ifndef TkGenerateActivateEvents
604  #define TkGenerateActivateEvents \  #define TkGenerateActivateEvents \
605          (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */          (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */
606  #endif  #endif
607  #ifndef TkpCreateNativeBitmap  #ifndef TkpCreateNativeBitmap
608  #define TkpCreateNativeBitmap \  #define TkpCreateNativeBitmap \
609          (tkIntPlatStubsPtr->tkpCreateNativeBitmap) /* 1 */          (tkIntPlatStubsPtr->tkpCreateNativeBitmap) /* 1 */
610  #endif  #endif
611  #ifndef TkpDefineNativeBitmaps  #ifndef TkpDefineNativeBitmaps
612  #define TkpDefineNativeBitmaps \  #define TkpDefineNativeBitmaps \
613          (tkIntPlatStubsPtr->tkpDefineNativeBitmaps) /* 2 */          (tkIntPlatStubsPtr->tkpDefineNativeBitmaps) /* 2 */
614  #endif  #endif
615  #ifndef TkpGetMS  #ifndef TkpGetMS
616  #define TkpGetMS \  #define TkpGetMS \
617          (tkIntPlatStubsPtr->tkpGetMS) /* 3 */          (tkIntPlatStubsPtr->tkpGetMS) /* 3 */
618  #endif  #endif
619  /* Slot 4 is reserved */  /* Slot 4 is reserved */
620  #ifndef TkPointerDeadWindow  #ifndef TkPointerDeadWindow
621  #define TkPointerDeadWindow \  #define TkPointerDeadWindow \
622          (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 5 */          (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 5 */
623  #endif  #endif
624  #ifndef TkpSetCapture  #ifndef TkpSetCapture
625  #define TkpSetCapture \  #define TkpSetCapture \
626          (tkIntPlatStubsPtr->tkpSetCapture) /* 6 */          (tkIntPlatStubsPtr->tkpSetCapture) /* 6 */
627  #endif  #endif
628  #ifndef TkpSetCursor  #ifndef TkpSetCursor
629  #define TkpSetCursor \  #define TkpSetCursor \
630          (tkIntPlatStubsPtr->tkpSetCursor) /* 7 */          (tkIntPlatStubsPtr->tkpSetCursor) /* 7 */
631  #endif  #endif
632  #ifndef TkpWmSetState  #ifndef TkpWmSetState
633  #define TkpWmSetState \  #define TkpWmSetState \
634          (tkIntPlatStubsPtr->tkpWmSetState) /* 8 */          (tkIntPlatStubsPtr->tkpWmSetState) /* 8 */
635  #endif  #endif
636  /* Slot 9 is reserved */  /* Slot 9 is reserved */
637  #ifndef TkAboutDlg  #ifndef TkAboutDlg
638  #define TkAboutDlg \  #define TkAboutDlg \
639          (tkIntPlatStubsPtr->tkAboutDlg) /* 10 */          (tkIntPlatStubsPtr->tkAboutDlg) /* 10 */
640  #endif  #endif
641  /* Slot 11 is reserved */  /* Slot 11 is reserved */
642  /* Slot 12 is reserved */  /* Slot 12 is reserved */
643  #ifndef TkGetTransientMaster  #ifndef TkGetTransientMaster
644  #define TkGetTransientMaster \  #define TkGetTransientMaster \
645          (tkIntPlatStubsPtr->tkGetTransientMaster) /* 13 */          (tkIntPlatStubsPtr->tkGetTransientMaster) /* 13 */
646  #endif  #endif
647  #ifndef TkGenerateButtonEvent  #ifndef TkGenerateButtonEvent
648  #define TkGenerateButtonEvent \  #define TkGenerateButtonEvent \
649          (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 14 */          (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 14 */
650  #endif  #endif
651  /* Slot 15 is reserved */  /* Slot 15 is reserved */
652  #ifndef TkGenWMDestroyEvent  #ifndef TkGenWMDestroyEvent
653  #define TkGenWMDestroyEvent \  #define TkGenWMDestroyEvent \
654          (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 16 */          (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 16 */
655  #endif  #endif
656  #ifndef TkGenWMConfigureEvent  #ifndef TkGenWMConfigureEvent
657  #define TkGenWMConfigureEvent \  #define TkGenWMConfigureEvent \
658          (tkIntPlatStubsPtr->tkGenWMConfigureEvent) /* 17 */          (tkIntPlatStubsPtr->tkGenWMConfigureEvent) /* 17 */
659  #endif  #endif
660  #ifndef TkMacButtonKeyState  #ifndef TkMacButtonKeyState
661  #define TkMacButtonKeyState \  #define TkMacButtonKeyState \
662          (tkIntPlatStubsPtr->tkMacButtonKeyState) /* 18 */          (tkIntPlatStubsPtr->tkMacButtonKeyState) /* 18 */
663  #endif  #endif
664  #ifndef TkMacClearMenubarActive  #ifndef TkMacClearMenubarActive
665  #define TkMacClearMenubarActive \  #define TkMacClearMenubarActive \
666          (tkIntPlatStubsPtr->tkMacClearMenubarActive) /* 19 */          (tkIntPlatStubsPtr->tkMacClearMenubarActive) /* 19 */
667  #endif  #endif
668  #ifndef TkMacConvertEvent  #ifndef TkMacConvertEvent
669  #define TkMacConvertEvent \  #define TkMacConvertEvent \
670          (tkIntPlatStubsPtr->tkMacConvertEvent) /* 20 */          (tkIntPlatStubsPtr->tkMacConvertEvent) /* 20 */
671  #endif  #endif
672  #ifndef TkMacDispatchMenuEvent  #ifndef TkMacDispatchMenuEvent
673  #define TkMacDispatchMenuEvent \  #define TkMacDispatchMenuEvent \
674          (tkIntPlatStubsPtr->tkMacDispatchMenuEvent) /* 21 */          (tkIntPlatStubsPtr->tkMacDispatchMenuEvent) /* 21 */
675  #endif  #endif
676  #ifndef TkMacInstallCursor  #ifndef TkMacInstallCursor
677  #define TkMacInstallCursor \  #define TkMacInstallCursor \
678          (tkIntPlatStubsPtr->tkMacInstallCursor) /* 22 */          (tkIntPlatStubsPtr->tkMacInstallCursor) /* 22 */
679  #endif  #endif
680  #ifndef TkMacConvertTkEvent  #ifndef TkMacConvertTkEvent
681  #define TkMacConvertTkEvent \  #define TkMacConvertTkEvent \
682          (tkIntPlatStubsPtr->tkMacConvertTkEvent) /* 23 */          (tkIntPlatStubsPtr->tkMacConvertTkEvent) /* 23 */
683  #endif  #endif
684  #ifndef TkMacHandleTearoffMenu  #ifndef TkMacHandleTearoffMenu
685  #define TkMacHandleTearoffMenu \  #define TkMacHandleTearoffMenu \
686          (tkIntPlatStubsPtr->tkMacHandleTearoffMenu) /* 24 */          (tkIntPlatStubsPtr->tkMacHandleTearoffMenu) /* 24 */
687  #endif  #endif
688  /* Slot 25 is reserved */  /* Slot 25 is reserved */
689  #ifndef TkMacInvalClipRgns  #ifndef TkMacInvalClipRgns
690  #define TkMacInvalClipRgns \  #define TkMacInvalClipRgns \
691          (tkIntPlatStubsPtr->tkMacInvalClipRgns) /* 26 */          (tkIntPlatStubsPtr->tkMacInvalClipRgns) /* 26 */
692  #endif  #endif
693  #ifndef TkMacDoHLEvent  #ifndef TkMacDoHLEvent
694  #define TkMacDoHLEvent \  #define TkMacDoHLEvent \
695          (tkIntPlatStubsPtr->tkMacDoHLEvent) /* 27 */          (tkIntPlatStubsPtr->tkMacDoHLEvent) /* 27 */
696  #endif  #endif
697  /* Slot 28 is reserved */  /* Slot 28 is reserved */
698  #ifndef TkMacGenerateTime  #ifndef TkMacGenerateTime
699  #define TkMacGenerateTime \  #define TkMacGenerateTime \
700          (tkIntPlatStubsPtr->tkMacGenerateTime) /* 29 */          (tkIntPlatStubsPtr->tkMacGenerateTime) /* 29 */
701  #endif  #endif
702  #ifndef TkMacGetDrawablePort  #ifndef TkMacGetDrawablePort
703  #define TkMacGetDrawablePort \  #define TkMacGetDrawablePort \
704          (tkIntPlatStubsPtr->tkMacGetDrawablePort) /* 30 */          (tkIntPlatStubsPtr->tkMacGetDrawablePort) /* 30 */
705  #endif  #endif
706  #ifndef TkMacGetScrollbarGrowWindow  #ifndef TkMacGetScrollbarGrowWindow
707  #define TkMacGetScrollbarGrowWindow \  #define TkMacGetScrollbarGrowWindow \
708          (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow) /* 31 */          (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow) /* 31 */
709  #endif  #endif
710  #ifndef TkMacGetXWindow  #ifndef TkMacGetXWindow
711  #define TkMacGetXWindow \  #define TkMacGetXWindow \
712          (tkIntPlatStubsPtr->tkMacGetXWindow) /* 32 */          (tkIntPlatStubsPtr->tkMacGetXWindow) /* 32 */
713  #endif  #endif
714  #ifndef TkMacGrowToplevel  #ifndef TkMacGrowToplevel
715  #define TkMacGrowToplevel \  #define TkMacGrowToplevel \
716          (tkIntPlatStubsPtr->tkMacGrowToplevel) /* 33 */          (tkIntPlatStubsPtr->tkMacGrowToplevel) /* 33 */
717  #endif  #endif
718  #ifndef TkMacHandleMenuSelect  #ifndef TkMacHandleMenuSelect
719  #define TkMacHandleMenuSelect \  #define TkMacHandleMenuSelect \
720          (tkIntPlatStubsPtr->tkMacHandleMenuSelect) /* 34 */          (tkIntPlatStubsPtr->tkMacHandleMenuSelect) /* 34 */
721  #endif  #endif
722  #ifndef TkMacHaveAppearance  #ifndef TkMacHaveAppearance
723  #define TkMacHaveAppearance \  #define TkMacHaveAppearance \
724          (tkIntPlatStubsPtr->tkMacHaveAppearance) /* 35 */          (tkIntPlatStubsPtr->tkMacHaveAppearance) /* 35 */
725  #endif  #endif
726  #ifndef TkMacInitAppleEvents  #ifndef TkMacInitAppleEvents
727  #define TkMacInitAppleEvents \  #define TkMacInitAppleEvents \
728          (tkIntPlatStubsPtr->tkMacInitAppleEvents) /* 36 */          (tkIntPlatStubsPtr->tkMacInitAppleEvents) /* 36 */
729  #endif  #endif
730  #ifndef TkMacInitMenus  #ifndef TkMacInitMenus
731  #define TkMacInitMenus \  #define TkMacInitMenus \
732          (tkIntPlatStubsPtr->tkMacInitMenus) /* 37 */          (tkIntPlatStubsPtr->tkMacInitMenus) /* 37 */
733  #endif  #endif
734  #ifndef TkMacInvalidateWindow  #ifndef TkMacInvalidateWindow
735  #define TkMacInvalidateWindow \  #define TkMacInvalidateWindow \
736          (tkIntPlatStubsPtr->tkMacInvalidateWindow) /* 38 */          (tkIntPlatStubsPtr->tkMacInvalidateWindow) /* 38 */
737  #endif  #endif
738  #ifndef TkMacIsCharacterMissing  #ifndef TkMacIsCharacterMissing
739  #define TkMacIsCharacterMissing \  #define TkMacIsCharacterMissing \
740          (tkIntPlatStubsPtr->tkMacIsCharacterMissing) /* 39 */          (tkIntPlatStubsPtr->tkMacIsCharacterMissing) /* 39 */
741  #endif  #endif
742  #ifndef TkMacMakeRealWindowExist  #ifndef TkMacMakeRealWindowExist
743  #define TkMacMakeRealWindowExist \  #define TkMacMakeRealWindowExist \
744          (tkIntPlatStubsPtr->tkMacMakeRealWindowExist) /* 40 */          (tkIntPlatStubsPtr->tkMacMakeRealWindowExist) /* 40 */
745  #endif  #endif
746  #ifndef TkMacMakeStippleMap  #ifndef TkMacMakeStippleMap
747  #define TkMacMakeStippleMap \  #define TkMacMakeStippleMap \
748          (tkIntPlatStubsPtr->tkMacMakeStippleMap) /* 41 */          (tkIntPlatStubsPtr->tkMacMakeStippleMap) /* 41 */
749  #endif  #endif
750  #ifndef TkMacMenuClick  #ifndef TkMacMenuClick
751  #define TkMacMenuClick \  #define TkMacMenuClick \
752          (tkIntPlatStubsPtr->tkMacMenuClick) /* 42 */          (tkIntPlatStubsPtr->tkMacMenuClick) /* 42 */
753  #endif  #endif
754  #ifndef TkMacRegisterOffScreenWindow  #ifndef TkMacRegisterOffScreenWindow
755  #define TkMacRegisterOffScreenWindow \  #define TkMacRegisterOffScreenWindow \
756          (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow) /* 43 */          (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow) /* 43 */
757  #endif  #endif
758  #ifndef TkMacResizable  #ifndef TkMacResizable
759  #define TkMacResizable \  #define TkMacResizable \
760          (tkIntPlatStubsPtr->tkMacResizable) /* 44 */          (tkIntPlatStubsPtr->tkMacResizable) /* 44 */
761  #endif  #endif
762  /* Slot 45 is reserved */  /* Slot 45 is reserved */
763  #ifndef TkMacSetHelpMenuItemCount  #ifndef TkMacSetHelpMenuItemCount
764  #define TkMacSetHelpMenuItemCount \  #define TkMacSetHelpMenuItemCount \
765          (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount) /* 46 */          (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount) /* 46 */
766  #endif  #endif
767  #ifndef TkMacSetScrollbarGrow  #ifndef TkMacSetScrollbarGrow
768  #define TkMacSetScrollbarGrow \  #define TkMacSetScrollbarGrow \
769          (tkIntPlatStubsPtr->tkMacSetScrollbarGrow) /* 47 */          (tkIntPlatStubsPtr->tkMacSetScrollbarGrow) /* 47 */
770  #endif  #endif
771  #ifndef TkMacSetUpClippingRgn  #ifndef TkMacSetUpClippingRgn
772  #define TkMacSetUpClippingRgn \  #define TkMacSetUpClippingRgn \
773          (tkIntPlatStubsPtr->tkMacSetUpClippingRgn) /* 48 */          (tkIntPlatStubsPtr->tkMacSetUpClippingRgn) /* 48 */
774  #endif  #endif
775  #ifndef TkMacSetUpGraphicsPort  #ifndef TkMacSetUpGraphicsPort
776  #define TkMacSetUpGraphicsPort \  #define TkMacSetUpGraphicsPort \
777          (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort) /* 49 */          (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort) /* 49 */
778  #endif  #endif
779  #ifndef TkMacUpdateClipRgn  #ifndef TkMacUpdateClipRgn
780  #define TkMacUpdateClipRgn \  #define TkMacUpdateClipRgn \
781          (tkIntPlatStubsPtr->tkMacUpdateClipRgn) /* 50 */          (tkIntPlatStubsPtr->tkMacUpdateClipRgn) /* 50 */
782  #endif  #endif
783  #ifndef TkMacUnregisterMacWindow  #ifndef TkMacUnregisterMacWindow
784  #define TkMacUnregisterMacWindow \  #define TkMacUnregisterMacWindow \
785          (tkIntPlatStubsPtr->tkMacUnregisterMacWindow) /* 51 */          (tkIntPlatStubsPtr->tkMacUnregisterMacWindow) /* 51 */
786  #endif  #endif
787  #ifndef TkMacUseMenuID  #ifndef TkMacUseMenuID
788  #define TkMacUseMenuID \  #define TkMacUseMenuID \
789          (tkIntPlatStubsPtr->tkMacUseMenuID) /* 52 */          (tkIntPlatStubsPtr->tkMacUseMenuID) /* 52 */
790  #endif  #endif
791  #ifndef TkMacVisableClipRgn  #ifndef TkMacVisableClipRgn
792  #define TkMacVisableClipRgn \  #define TkMacVisableClipRgn \
793          (tkIntPlatStubsPtr->tkMacVisableClipRgn) /* 53 */          (tkIntPlatStubsPtr->tkMacVisableClipRgn) /* 53 */
794  #endif  #endif
795  #ifndef TkMacWinBounds  #ifndef TkMacWinBounds
796  #define TkMacWinBounds \  #define TkMacWinBounds \
797          (tkIntPlatStubsPtr->tkMacWinBounds) /* 54 */          (tkIntPlatStubsPtr->tkMacWinBounds) /* 54 */
798  #endif  #endif
799  #ifndef TkMacWindowOffset  #ifndef TkMacWindowOffset
800  #define TkMacWindowOffset \  #define TkMacWindowOffset \
801          (tkIntPlatStubsPtr->tkMacWindowOffset) /* 55 */          (tkIntPlatStubsPtr->tkMacWindowOffset) /* 55 */
802  #endif  #endif
803  /* Slot 56 is reserved */  /* Slot 56 is reserved */
804  #ifndef TkSetMacColor  #ifndef TkSetMacColor
805  #define TkSetMacColor \  #define TkSetMacColor \
806          (tkIntPlatStubsPtr->tkSetMacColor) /* 57 */          (tkIntPlatStubsPtr->tkSetMacColor) /* 57 */
807  #endif  #endif
808  #ifndef TkSetWMName  #ifndef TkSetWMName
809  #define TkSetWMName \  #define TkSetWMName \
810          (tkIntPlatStubsPtr->tkSetWMName) /* 58 */          (tkIntPlatStubsPtr->tkSetWMName) /* 58 */
811  #endif  #endif
812  #ifndef TkSuspendClipboard  #ifndef TkSuspendClipboard
813  #define TkSuspendClipboard \  #define TkSuspendClipboard \
814          (tkIntPlatStubsPtr->tkSuspendClipboard) /* 59 */          (tkIntPlatStubsPtr->tkSuspendClipboard) /* 59 */
815  #endif  #endif
816  /* Slot 60 is reserved */  /* Slot 60 is reserved */
817  #ifndef TkMacZoomToplevel  #ifndef TkMacZoomToplevel
818  #define TkMacZoomToplevel \  #define TkMacZoomToplevel \
819          (tkIntPlatStubsPtr->tkMacZoomToplevel) /* 61 */          (tkIntPlatStubsPtr->tkMacZoomToplevel) /* 61 */
820  #endif  #endif
821  #ifndef Tk_TopCoordsToWindow  #ifndef Tk_TopCoordsToWindow
822  #define Tk_TopCoordsToWindow \  #define Tk_TopCoordsToWindow \
823          (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 62 */          (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 62 */
824  #endif  #endif
825  #ifndef TkMacContainerId  #ifndef TkMacContainerId
826  #define TkMacContainerId \  #define TkMacContainerId \
827          (tkIntPlatStubsPtr->tkMacContainerId) /* 63 */          (tkIntPlatStubsPtr->tkMacContainerId) /* 63 */
828  #endif  #endif
829  #ifndef TkMacGetHostToplevel  #ifndef TkMacGetHostToplevel
830  #define TkMacGetHostToplevel \  #define TkMacGetHostToplevel \
831          (tkIntPlatStubsPtr->tkMacGetHostToplevel) /* 64 */          (tkIntPlatStubsPtr->tkMacGetHostToplevel) /* 64 */
832  #endif  #endif
833  #ifndef TkMacPreprocessMenu  #ifndef TkMacPreprocessMenu
834  #define TkMacPreprocessMenu \  #define TkMacPreprocessMenu \
835          (tkIntPlatStubsPtr->tkMacPreprocessMenu) /* 65 */          (tkIntPlatStubsPtr->tkMacPreprocessMenu) /* 65 */
836  #endif  #endif
837  #endif /* MAC_TCL */  #endif /* MAC_TCL */
838    
839  #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */  #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
840    
841  /* !END!: Do not edit above this line. */  /* !END!: Do not edit above this line. */
842    
843  #undef TCL_STORAGE_CLASS  #undef TCL_STORAGE_CLASS
844  #define TCL_STORAGE_CLASS DLLIMPORT  #define TCL_STORAGE_CLASS DLLIMPORT
845    
846  #endif /* _TKINTPLATDECLS */  #endif /* _TKINTPLATDECLS */
847    
848  /* End of tkintplatdecls.h */  /* End of tkintplatdecls.h */

Legend:
Removed from v.69  
changed lines
  Added in v.71

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25