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

Annotation of /projs/trunk/shared_source/c_tk_base_7_5_w_mods/tkintplatdecls.h

Parent Directory Parent Directory | Revision Log Revision Log


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

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25