jpayne@69
|
1 /*
|
jpayne@69
|
2 * tkIntDecls.h --
|
jpayne@69
|
3 *
|
jpayne@69
|
4 * This file contains the declarations for all unsupported
|
jpayne@69
|
5 * functions that are exported by the Tk library. These
|
jpayne@69
|
6 * interfaces are not guaranteed to remain the same between
|
jpayne@69
|
7 * versions. Use at your own risk.
|
jpayne@69
|
8 *
|
jpayne@69
|
9 * Copyright (c) 1998-1999 by Scriptics Corporation.
|
jpayne@69
|
10 *
|
jpayne@69
|
11 * See the file "license.terms" for information on usage and redistribution
|
jpayne@69
|
12 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
jpayne@69
|
13 */
|
jpayne@69
|
14
|
jpayne@69
|
15 #ifndef _TKINTDECLS
|
jpayne@69
|
16 #define _TKINTDECLS
|
jpayne@69
|
17
|
jpayne@69
|
18 #ifdef BUILD_tk
|
jpayne@69
|
19 #undef TCL_STORAGE_CLASS
|
jpayne@69
|
20 #define TCL_STORAGE_CLASS DLLEXPORT
|
jpayne@69
|
21 #endif
|
jpayne@69
|
22
|
jpayne@69
|
23 struct TkText;
|
jpayne@69
|
24 typedef struct TkTextBTree_ *TkTextBTree;
|
jpayne@69
|
25 struct TkTextDispChunk;
|
jpayne@69
|
26 struct TkTextIndex;
|
jpayne@69
|
27 struct TkTextSegment;
|
jpayne@69
|
28 struct TkSharedText;
|
jpayne@69
|
29
|
jpayne@69
|
30 /*
|
jpayne@69
|
31 * WARNING: This file is automatically generated by the tools/genStubs.tcl
|
jpayne@69
|
32 * script. Any modifications to the function declarations below should be made
|
jpayne@69
|
33 * in the generic/tkInt.decls script.
|
jpayne@69
|
34 */
|
jpayne@69
|
35
|
jpayne@69
|
36 /* !BEGIN!: Do not edit below this line. */
|
jpayne@69
|
37
|
jpayne@69
|
38 #ifdef __cplusplus
|
jpayne@69
|
39 extern "C" {
|
jpayne@69
|
40 #endif
|
jpayne@69
|
41
|
jpayne@69
|
42 /*
|
jpayne@69
|
43 * Exported function declarations:
|
jpayne@69
|
44 */
|
jpayne@69
|
45
|
jpayne@69
|
46 /* 0 */
|
jpayne@69
|
47 EXTERN TkWindow * TkAllocWindow(TkDisplay *dispPtr, int screenNum,
|
jpayne@69
|
48 TkWindow *parentPtr);
|
jpayne@69
|
49 /* 1 */
|
jpayne@69
|
50 EXTERN void TkBezierPoints(double control[], int numSteps,
|
jpayne@69
|
51 double *coordPtr);
|
jpayne@69
|
52 /* 2 */
|
jpayne@69
|
53 EXTERN void TkBezierScreenPoints(Tk_Canvas canvas,
|
jpayne@69
|
54 double control[], int numSteps,
|
jpayne@69
|
55 XPoint *xPointPtr);
|
jpayne@69
|
56 /* Slot 3 is reserved */
|
jpayne@69
|
57 /* 4 */
|
jpayne@69
|
58 EXTERN void TkBindEventProc(TkWindow *winPtr, XEvent *eventPtr);
|
jpayne@69
|
59 /* 5 */
|
jpayne@69
|
60 EXTERN void TkBindFree(TkMainInfo *mainPtr);
|
jpayne@69
|
61 /* 6 */
|
jpayne@69
|
62 EXTERN void TkBindInit(TkMainInfo *mainPtr);
|
jpayne@69
|
63 /* 7 */
|
jpayne@69
|
64 EXTERN void TkChangeEventWindow(XEvent *eventPtr,
|
jpayne@69
|
65 TkWindow *winPtr);
|
jpayne@69
|
66 /* 8 */
|
jpayne@69
|
67 EXTERN int TkClipInit(Tcl_Interp *interp, TkDisplay *dispPtr);
|
jpayne@69
|
68 /* 9 */
|
jpayne@69
|
69 EXTERN void TkComputeAnchor(Tk_Anchor anchor, Tk_Window tkwin,
|
jpayne@69
|
70 int padX, int padY, int innerWidth,
|
jpayne@69
|
71 int innerHeight, int *xPtr, int *yPtr);
|
jpayne@69
|
72 /* Slot 10 is reserved */
|
jpayne@69
|
73 /* Slot 11 is reserved */
|
jpayne@69
|
74 /* 12 */
|
jpayne@69
|
75 EXTERN TkCursor * TkCreateCursorFromData(Tk_Window tkwin,
|
jpayne@69
|
76 const char *source, const char *mask,
|
jpayne@69
|
77 int width, int height, int xHot, int yHot,
|
jpayne@69
|
78 XColor fg, XColor bg);
|
jpayne@69
|
79 /* 13 */
|
jpayne@69
|
80 EXTERN int TkCreateFrame(ClientData clientData,
|
jpayne@69
|
81 Tcl_Interp *interp, int argc,
|
jpayne@69
|
82 const char *const *argv, int toplevel,
|
jpayne@69
|
83 const char *appName);
|
jpayne@69
|
84 /* 14 */
|
jpayne@69
|
85 EXTERN Tk_Window TkCreateMainWindow(Tcl_Interp *interp,
|
jpayne@69
|
86 const char *screenName, const char *baseName);
|
jpayne@69
|
87 /* 15 */
|
jpayne@69
|
88 EXTERN Time TkCurrentTime(TkDisplay *dispPtr);
|
jpayne@69
|
89 /* 16 */
|
jpayne@69
|
90 EXTERN void TkDeleteAllImages(TkMainInfo *mainPtr);
|
jpayne@69
|
91 /* 17 */
|
jpayne@69
|
92 EXTERN void TkDoConfigureNotify(TkWindow *winPtr);
|
jpayne@69
|
93 /* 18 */
|
jpayne@69
|
94 EXTERN void TkDrawInsetFocusHighlight(Tk_Window tkwin, GC gc,
|
jpayne@69
|
95 int width, Drawable drawable, int padding);
|
jpayne@69
|
96 /* 19 */
|
jpayne@69
|
97 EXTERN void TkEventDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
98 /* 20 */
|
jpayne@69
|
99 EXTERN void TkFillPolygon(Tk_Canvas canvas, double *coordPtr,
|
jpayne@69
|
100 int numPoints, Display *display,
|
jpayne@69
|
101 Drawable drawable, GC gc, GC outlineGC);
|
jpayne@69
|
102 /* 21 */
|
jpayne@69
|
103 EXTERN int TkFindStateNum(Tcl_Interp *interp,
|
jpayne@69
|
104 const char *option, const TkStateMap *mapPtr,
|
jpayne@69
|
105 const char *strKey);
|
jpayne@69
|
106 /* 22 */
|
jpayne@69
|
107 EXTERN CONST86 char * TkFindStateString(const TkStateMap *mapPtr,
|
jpayne@69
|
108 int numKey);
|
jpayne@69
|
109 /* 23 */
|
jpayne@69
|
110 EXTERN void TkFocusDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
111 /* 24 */
|
jpayne@69
|
112 EXTERN int TkFocusFilterEvent(TkWindow *winPtr,
|
jpayne@69
|
113 XEvent *eventPtr);
|
jpayne@69
|
114 /* 25 */
|
jpayne@69
|
115 EXTERN TkWindow * TkFocusKeyEvent(TkWindow *winPtr, XEvent *eventPtr);
|
jpayne@69
|
116 /* 26 */
|
jpayne@69
|
117 EXTERN void TkFontPkgInit(TkMainInfo *mainPtr);
|
jpayne@69
|
118 /* 27 */
|
jpayne@69
|
119 EXTERN void TkFontPkgFree(TkMainInfo *mainPtr);
|
jpayne@69
|
120 /* 28 */
|
jpayne@69
|
121 EXTERN void TkFreeBindingTags(TkWindow *winPtr);
|
jpayne@69
|
122 /* 29 */
|
jpayne@69
|
123 EXTERN void TkpFreeCursor(TkCursor *cursorPtr);
|
jpayne@69
|
124 /* 30 */
|
jpayne@69
|
125 EXTERN char * TkGetBitmapData(Tcl_Interp *interp,
|
jpayne@69
|
126 const char *string, const char *fileName,
|
jpayne@69
|
127 int *widthPtr, int *heightPtr, int *hotXPtr,
|
jpayne@69
|
128 int *hotYPtr);
|
jpayne@69
|
129 /* 31 */
|
jpayne@69
|
130 EXTERN void TkGetButtPoints(double p1[], double p2[],
|
jpayne@69
|
131 double width, int project, double m1[],
|
jpayne@69
|
132 double m2[]);
|
jpayne@69
|
133 /* 32 */
|
jpayne@69
|
134 EXTERN TkCursor * TkGetCursorByName(Tcl_Interp *interp,
|
jpayne@69
|
135 Tk_Window tkwin, Tk_Uid string);
|
jpayne@69
|
136 /* 33 */
|
jpayne@69
|
137 EXTERN const char * TkGetDefaultScreenName(Tcl_Interp *interp,
|
jpayne@69
|
138 const char *screenName);
|
jpayne@69
|
139 /* 34 */
|
jpayne@69
|
140 EXTERN TkDisplay * TkGetDisplay(Display *display);
|
jpayne@69
|
141 /* 35 */
|
jpayne@69
|
142 EXTERN int TkGetDisplayOf(Tcl_Interp *interp, int objc,
|
jpayne@69
|
143 Tcl_Obj *const objv[], Tk_Window *tkwinPtr);
|
jpayne@69
|
144 /* 36 */
|
jpayne@69
|
145 EXTERN TkWindow * TkGetFocusWin(TkWindow *winPtr);
|
jpayne@69
|
146 /* 37 */
|
jpayne@69
|
147 EXTERN int TkGetInterpNames(Tcl_Interp *interp, Tk_Window tkwin);
|
jpayne@69
|
148 /* 38 */
|
jpayne@69
|
149 EXTERN int TkGetMiterPoints(double p1[], double p2[],
|
jpayne@69
|
150 double p3[], double width, double m1[],
|
jpayne@69
|
151 double m2[]);
|
jpayne@69
|
152 /* 39 */
|
jpayne@69
|
153 EXTERN void TkGetPointerCoords(Tk_Window tkwin, int *xPtr,
|
jpayne@69
|
154 int *yPtr);
|
jpayne@69
|
155 /* 40 */
|
jpayne@69
|
156 EXTERN void TkGetServerInfo(Tcl_Interp *interp, Tk_Window tkwin);
|
jpayne@69
|
157 /* 41 */
|
jpayne@69
|
158 EXTERN void TkGrabDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
159 /* 42 */
|
jpayne@69
|
160 EXTERN int TkGrabState(TkWindow *winPtr);
|
jpayne@69
|
161 /* 43 */
|
jpayne@69
|
162 EXTERN void TkIncludePoint(Tk_Item *itemPtr, double *pointPtr);
|
jpayne@69
|
163 /* 44 */
|
jpayne@69
|
164 EXTERN void TkInOutEvents(XEvent *eventPtr, TkWindow *sourcePtr,
|
jpayne@69
|
165 TkWindow *destPtr, int leaveType,
|
jpayne@69
|
166 int enterType, Tcl_QueuePosition position);
|
jpayne@69
|
167 /* 45 */
|
jpayne@69
|
168 EXTERN void TkInstallFrameMenu(Tk_Window tkwin);
|
jpayne@69
|
169 /* 46 */
|
jpayne@69
|
170 EXTERN CONST86 char * TkKeysymToString(KeySym keysym);
|
jpayne@69
|
171 /* 47 */
|
jpayne@69
|
172 EXTERN int TkLineToArea(double end1Ptr[], double end2Ptr[],
|
jpayne@69
|
173 double rectPtr[]);
|
jpayne@69
|
174 /* 48 */
|
jpayne@69
|
175 EXTERN double TkLineToPoint(double end1Ptr[], double end2Ptr[],
|
jpayne@69
|
176 double pointPtr[]);
|
jpayne@69
|
177 /* 49 */
|
jpayne@69
|
178 EXTERN int TkMakeBezierCurve(Tk_Canvas canvas, double *pointPtr,
|
jpayne@69
|
179 int numPoints, int numSteps,
|
jpayne@69
|
180 XPoint xPoints[], double dblPoints[]);
|
jpayne@69
|
181 /* 50 */
|
jpayne@69
|
182 EXTERN void TkMakeBezierPostscript(Tcl_Interp *interp,
|
jpayne@69
|
183 Tk_Canvas canvas, double *pointPtr,
|
jpayne@69
|
184 int numPoints);
|
jpayne@69
|
185 /* 51 */
|
jpayne@69
|
186 EXTERN void TkOptionClassChanged(TkWindow *winPtr);
|
jpayne@69
|
187 /* 52 */
|
jpayne@69
|
188 EXTERN void TkOptionDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
189 /* 53 */
|
jpayne@69
|
190 EXTERN int TkOvalToArea(double *ovalPtr, double *rectPtr);
|
jpayne@69
|
191 /* 54 */
|
jpayne@69
|
192 EXTERN double TkOvalToPoint(double ovalPtr[], double width,
|
jpayne@69
|
193 int filled, double pointPtr[]);
|
jpayne@69
|
194 /* 55 */
|
jpayne@69
|
195 EXTERN int TkpChangeFocus(TkWindow *winPtr, int force);
|
jpayne@69
|
196 /* 56 */
|
jpayne@69
|
197 EXTERN void TkpCloseDisplay(TkDisplay *dispPtr);
|
jpayne@69
|
198 /* 57 */
|
jpayne@69
|
199 EXTERN void TkpClaimFocus(TkWindow *topLevelPtr, int force);
|
jpayne@69
|
200 /* 58 */
|
jpayne@69
|
201 EXTERN void TkpDisplayWarning(const char *msg, const char *title);
|
jpayne@69
|
202 /* 59 */
|
jpayne@69
|
203 EXTERN void TkpGetAppName(Tcl_Interp *interp, Tcl_DString *name);
|
jpayne@69
|
204 /* 60 */
|
jpayne@69
|
205 EXTERN TkWindow * TkpGetOtherWindow(TkWindow *winPtr);
|
jpayne@69
|
206 /* 61 */
|
jpayne@69
|
207 EXTERN TkWindow * TkpGetWrapperWindow(TkWindow *winPtr);
|
jpayne@69
|
208 /* 62 */
|
jpayne@69
|
209 EXTERN int TkpInit(Tcl_Interp *interp);
|
jpayne@69
|
210 /* 63 */
|
jpayne@69
|
211 EXTERN void TkpInitializeMenuBindings(Tcl_Interp *interp,
|
jpayne@69
|
212 Tk_BindingTable bindingTable);
|
jpayne@69
|
213 /* 64 */
|
jpayne@69
|
214 EXTERN void TkpMakeContainer(Tk_Window tkwin);
|
jpayne@69
|
215 /* 65 */
|
jpayne@69
|
216 EXTERN void TkpMakeMenuWindow(Tk_Window tkwin, int transient);
|
jpayne@69
|
217 /* 66 */
|
jpayne@69
|
218 EXTERN Window TkpMakeWindow(TkWindow *winPtr, Window parent);
|
jpayne@69
|
219 /* 67 */
|
jpayne@69
|
220 EXTERN void TkpMenuNotifyToplevelCreate(Tcl_Interp *interp,
|
jpayne@69
|
221 const char *menuName);
|
jpayne@69
|
222 /* 68 */
|
jpayne@69
|
223 EXTERN TkDisplay * TkpOpenDisplay(const char *display_name);
|
jpayne@69
|
224 /* 69 */
|
jpayne@69
|
225 EXTERN int TkPointerEvent(XEvent *eventPtr, TkWindow *winPtr);
|
jpayne@69
|
226 /* 70 */
|
jpayne@69
|
227 EXTERN int TkPolygonToArea(double *polyPtr, int numPoints,
|
jpayne@69
|
228 double *rectPtr);
|
jpayne@69
|
229 /* 71 */
|
jpayne@69
|
230 EXTERN double TkPolygonToPoint(double *polyPtr, int numPoints,
|
jpayne@69
|
231 double *pointPtr);
|
jpayne@69
|
232 /* 72 */
|
jpayne@69
|
233 EXTERN int TkPositionInTree(TkWindow *winPtr, TkWindow *treePtr);
|
jpayne@69
|
234 /* 73 */
|
jpayne@69
|
235 EXTERN void TkpRedirectKeyEvent(TkWindow *winPtr,
|
jpayne@69
|
236 XEvent *eventPtr);
|
jpayne@69
|
237 /* 74 */
|
jpayne@69
|
238 EXTERN void TkpSetMainMenubar(Tcl_Interp *interp,
|
jpayne@69
|
239 Tk_Window tkwin, const char *menuName);
|
jpayne@69
|
240 /* 75 */
|
jpayne@69
|
241 EXTERN int TkpUseWindow(Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
242 const char *string);
|
jpayne@69
|
243 /* Slot 76 is reserved */
|
jpayne@69
|
244 /* 77 */
|
jpayne@69
|
245 EXTERN void TkQueueEventForAllChildren(TkWindow *winPtr,
|
jpayne@69
|
246 XEvent *eventPtr);
|
jpayne@69
|
247 /* 78 */
|
jpayne@69
|
248 EXTERN int TkReadBitmapFile(Display *display, Drawable d,
|
jpayne@69
|
249 const char *filename,
|
jpayne@69
|
250 unsigned int *width_return,
|
jpayne@69
|
251 unsigned int *height_return,
|
jpayne@69
|
252 Pixmap *bitmap_return, int *x_hot_return,
|
jpayne@69
|
253 int *y_hot_return);
|
jpayne@69
|
254 /* 79 */
|
jpayne@69
|
255 EXTERN int TkScrollWindow(Tk_Window tkwin, GC gc, int x, int y,
|
jpayne@69
|
256 int width, int height, int dx, int dy,
|
jpayne@69
|
257 TkRegion damageRgn);
|
jpayne@69
|
258 /* 80 */
|
jpayne@69
|
259 EXTERN void TkSelDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
260 /* 81 */
|
jpayne@69
|
261 EXTERN void TkSelEventProc(Tk_Window tkwin, XEvent *eventPtr);
|
jpayne@69
|
262 /* 82 */
|
jpayne@69
|
263 EXTERN void TkSelInit(Tk_Window tkwin);
|
jpayne@69
|
264 /* 83 */
|
jpayne@69
|
265 EXTERN void TkSelPropProc(XEvent *eventPtr);
|
jpayne@69
|
266 /* Slot 84 is reserved */
|
jpayne@69
|
267 /* 85 */
|
jpayne@69
|
268 EXTERN void TkSetWindowMenuBar(Tcl_Interp *interp,
|
jpayne@69
|
269 Tk_Window tkwin, const char *oldMenuName,
|
jpayne@69
|
270 const char *menuName);
|
jpayne@69
|
271 /* 86 */
|
jpayne@69
|
272 EXTERN KeySym TkStringToKeysym(const char *name);
|
jpayne@69
|
273 /* 87 */
|
jpayne@69
|
274 EXTERN int TkThickPolyLineToArea(double *coordPtr,
|
jpayne@69
|
275 int numPoints, double width, int capStyle,
|
jpayne@69
|
276 int joinStyle, double *rectPtr);
|
jpayne@69
|
277 /* 88 */
|
jpayne@69
|
278 EXTERN void TkWmAddToColormapWindows(TkWindow *winPtr);
|
jpayne@69
|
279 /* 89 */
|
jpayne@69
|
280 EXTERN void TkWmDeadWindow(TkWindow *winPtr);
|
jpayne@69
|
281 /* 90 */
|
jpayne@69
|
282 EXTERN TkWindow * TkWmFocusToplevel(TkWindow *winPtr);
|
jpayne@69
|
283 /* 91 */
|
jpayne@69
|
284 EXTERN void TkWmMapWindow(TkWindow *winPtr);
|
jpayne@69
|
285 /* 92 */
|
jpayne@69
|
286 EXTERN void TkWmNewWindow(TkWindow *winPtr);
|
jpayne@69
|
287 /* 93 */
|
jpayne@69
|
288 EXTERN void TkWmProtocolEventProc(TkWindow *winPtr,
|
jpayne@69
|
289 XEvent *evenvPtr);
|
jpayne@69
|
290 /* 94 */
|
jpayne@69
|
291 EXTERN void TkWmRemoveFromColormapWindows(TkWindow *winPtr);
|
jpayne@69
|
292 /* 95 */
|
jpayne@69
|
293 EXTERN void TkWmRestackToplevel(TkWindow *winPtr, int aboveBelow,
|
jpayne@69
|
294 TkWindow *otherPtr);
|
jpayne@69
|
295 /* 96 */
|
jpayne@69
|
296 EXTERN void TkWmSetClass(TkWindow *winPtr);
|
jpayne@69
|
297 /* 97 */
|
jpayne@69
|
298 EXTERN void TkWmUnmapWindow(TkWindow *winPtr);
|
jpayne@69
|
299 /* 98 */
|
jpayne@69
|
300 EXTERN Tcl_Obj * TkDebugBitmap(Tk_Window tkwin, const char *name);
|
jpayne@69
|
301 /* 99 */
|
jpayne@69
|
302 EXTERN Tcl_Obj * TkDebugBorder(Tk_Window tkwin, const char *name);
|
jpayne@69
|
303 /* 100 */
|
jpayne@69
|
304 EXTERN Tcl_Obj * TkDebugCursor(Tk_Window tkwin, const char *name);
|
jpayne@69
|
305 /* 101 */
|
jpayne@69
|
306 EXTERN Tcl_Obj * TkDebugColor(Tk_Window tkwin, const char *name);
|
jpayne@69
|
307 /* 102 */
|
jpayne@69
|
308 EXTERN Tcl_Obj * TkDebugConfig(Tcl_Interp *interp,
|
jpayne@69
|
309 Tk_OptionTable table);
|
jpayne@69
|
310 /* 103 */
|
jpayne@69
|
311 EXTERN Tcl_Obj * TkDebugFont(Tk_Window tkwin, const char *name);
|
jpayne@69
|
312 /* 104 */
|
jpayne@69
|
313 EXTERN int TkFindStateNumObj(Tcl_Interp *interp,
|
jpayne@69
|
314 Tcl_Obj *optionPtr, const TkStateMap *mapPtr,
|
jpayne@69
|
315 Tcl_Obj *keyPtr);
|
jpayne@69
|
316 /* 105 */
|
jpayne@69
|
317 EXTERN Tcl_HashTable * TkGetBitmapPredefTable(void);
|
jpayne@69
|
318 /* 106 */
|
jpayne@69
|
319 EXTERN TkDisplay * TkGetDisplayList(void);
|
jpayne@69
|
320 /* 107 */
|
jpayne@69
|
321 EXTERN TkMainInfo * TkGetMainInfoList(void);
|
jpayne@69
|
322 /* 108 */
|
jpayne@69
|
323 EXTERN int TkGetWindowFromObj(Tcl_Interp *interp,
|
jpayne@69
|
324 Tk_Window tkwin, Tcl_Obj *objPtr,
|
jpayne@69
|
325 Tk_Window *windowPtr);
|
jpayne@69
|
326 /* 109 */
|
jpayne@69
|
327 EXTERN CONST86 char * TkpGetString(TkWindow *winPtr, XEvent *eventPtr,
|
jpayne@69
|
328 Tcl_DString *dsPtr);
|
jpayne@69
|
329 /* 110 */
|
jpayne@69
|
330 EXTERN void TkpGetSubFonts(Tcl_Interp *interp, Tk_Font tkfont);
|
jpayne@69
|
331 /* 111 */
|
jpayne@69
|
332 EXTERN Tcl_Obj * TkpGetSystemDefault(Tk_Window tkwin,
|
jpayne@69
|
333 const char *dbName, const char *className);
|
jpayne@69
|
334 /* 112 */
|
jpayne@69
|
335 EXTERN void TkpMenuThreadInit(void);
|
jpayne@69
|
336 /* 113 */
|
jpayne@69
|
337 EXTERN int TkClipBox(TkRegion rgn, XRectangle *rect_return);
|
jpayne@69
|
338 /* 114 */
|
jpayne@69
|
339 EXTERN TkRegion TkCreateRegion(void);
|
jpayne@69
|
340 /* 115 */
|
jpayne@69
|
341 EXTERN int TkDestroyRegion(TkRegion rgn);
|
jpayne@69
|
342 /* 116 */
|
jpayne@69
|
343 EXTERN int TkIntersectRegion(TkRegion sra, TkRegion srcb,
|
jpayne@69
|
344 TkRegion dr_return);
|
jpayne@69
|
345 /* 117 */
|
jpayne@69
|
346 EXTERN int TkRectInRegion(TkRegion rgn, int x, int y,
|
jpayne@69
|
347 unsigned int width, unsigned int height);
|
jpayne@69
|
348 /* 118 */
|
jpayne@69
|
349 EXTERN int TkSetRegion(Display *display, GC gc, TkRegion rgn);
|
jpayne@69
|
350 /* 119 */
|
jpayne@69
|
351 EXTERN int TkUnionRectWithRegion(XRectangle *rect, TkRegion src,
|
jpayne@69
|
352 TkRegion dr_return);
|
jpayne@69
|
353 /* Slot 120 is reserved */
|
jpayne@69
|
354 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
355 /* 121 */
|
jpayne@69
|
356 EXTERN Pixmap TkpCreateNativeBitmap(Display *display,
|
jpayne@69
|
357 const void *source);
|
jpayne@69
|
358 #endif /* AQUA */
|
jpayne@69
|
359 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
360 /* 122 */
|
jpayne@69
|
361 EXTERN void TkpDefineNativeBitmaps(void);
|
jpayne@69
|
362 #endif /* AQUA */
|
jpayne@69
|
363 /* Slot 123 is reserved */
|
jpayne@69
|
364 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
365 /* 124 */
|
jpayne@69
|
366 EXTERN Pixmap TkpGetNativeAppBitmap(Display *display,
|
jpayne@69
|
367 const char *name, int *width, int *height);
|
jpayne@69
|
368 #endif /* AQUA */
|
jpayne@69
|
369 /* Slot 125 is reserved */
|
jpayne@69
|
370 /* Slot 126 is reserved */
|
jpayne@69
|
371 /* Slot 127 is reserved */
|
jpayne@69
|
372 /* Slot 128 is reserved */
|
jpayne@69
|
373 /* Slot 129 is reserved */
|
jpayne@69
|
374 /* Slot 130 is reserved */
|
jpayne@69
|
375 /* Slot 131 is reserved */
|
jpayne@69
|
376 /* Slot 132 is reserved */
|
jpayne@69
|
377 /* Slot 133 is reserved */
|
jpayne@69
|
378 /* Slot 134 is reserved */
|
jpayne@69
|
379 /* 135 */
|
jpayne@69
|
380 EXTERN void TkpDrawHighlightBorder(Tk_Window tkwin, GC fgGC,
|
jpayne@69
|
381 GC bgGC, int highlightWidth,
|
jpayne@69
|
382 Drawable drawable);
|
jpayne@69
|
383 /* 136 */
|
jpayne@69
|
384 EXTERN void TkSetFocusWin(TkWindow *winPtr, int force);
|
jpayne@69
|
385 /* 137 */
|
jpayne@69
|
386 EXTERN void TkpSetKeycodeAndState(Tk_Window tkwin, KeySym keySym,
|
jpayne@69
|
387 XEvent *eventPtr);
|
jpayne@69
|
388 /* 138 */
|
jpayne@69
|
389 EXTERN KeySym TkpGetKeySym(TkDisplay *dispPtr, XEvent *eventPtr);
|
jpayne@69
|
390 /* 139 */
|
jpayne@69
|
391 EXTERN void TkpInitKeymapInfo(TkDisplay *dispPtr);
|
jpayne@69
|
392 /* 140 */
|
jpayne@69
|
393 EXTERN TkRegion TkPhotoGetValidRegion(Tk_PhotoHandle handle);
|
jpayne@69
|
394 /* 141 */
|
jpayne@69
|
395 EXTERN TkWindow ** TkWmStackorderToplevel(TkWindow *parentPtr);
|
jpayne@69
|
396 /* 142 */
|
jpayne@69
|
397 EXTERN void TkFocusFree(TkMainInfo *mainPtr);
|
jpayne@69
|
398 /* 143 */
|
jpayne@69
|
399 EXTERN void TkClipCleanup(TkDisplay *dispPtr);
|
jpayne@69
|
400 /* 144 */
|
jpayne@69
|
401 EXTERN void TkGCCleanup(TkDisplay *dispPtr);
|
jpayne@69
|
402 /* 145 */
|
jpayne@69
|
403 EXTERN int TkSubtractRegion(TkRegion sra, TkRegion srcb,
|
jpayne@69
|
404 TkRegion dr_return);
|
jpayne@69
|
405 /* 146 */
|
jpayne@69
|
406 EXTERN void TkStylePkgInit(TkMainInfo *mainPtr);
|
jpayne@69
|
407 /* 147 */
|
jpayne@69
|
408 EXTERN void TkStylePkgFree(TkMainInfo *mainPtr);
|
jpayne@69
|
409 /* 148 */
|
jpayne@69
|
410 EXTERN Tk_Window TkToplevelWindowForCommand(Tcl_Interp *interp,
|
jpayne@69
|
411 const char *cmdName);
|
jpayne@69
|
412 /* 149 */
|
jpayne@69
|
413 EXTERN const Tk_OptionSpec * TkGetOptionSpec(const char *name,
|
jpayne@69
|
414 Tk_OptionTable optionTable);
|
jpayne@69
|
415 /* 150 */
|
jpayne@69
|
416 EXTERN int TkMakeRawCurve(Tk_Canvas canvas, double *pointPtr,
|
jpayne@69
|
417 int numPoints, int numSteps,
|
jpayne@69
|
418 XPoint xPoints[], double dblPoints[]);
|
jpayne@69
|
419 /* 151 */
|
jpayne@69
|
420 EXTERN void TkMakeRawCurvePostscript(Tcl_Interp *interp,
|
jpayne@69
|
421 Tk_Canvas canvas, double *pointPtr,
|
jpayne@69
|
422 int numPoints);
|
jpayne@69
|
423 /* 152 */
|
jpayne@69
|
424 EXTERN void TkpDrawFrame(Tk_Window tkwin, Tk_3DBorder border,
|
jpayne@69
|
425 int highlightWidth, int borderWidth,
|
jpayne@69
|
426 int relief);
|
jpayne@69
|
427 /* 153 */
|
jpayne@69
|
428 EXTERN void TkCreateThreadExitHandler(Tcl_ExitProc *proc,
|
jpayne@69
|
429 ClientData clientData);
|
jpayne@69
|
430 /* 154 */
|
jpayne@69
|
431 EXTERN void TkDeleteThreadExitHandler(Tcl_ExitProc *proc,
|
jpayne@69
|
432 ClientData clientData);
|
jpayne@69
|
433 /* Slot 155 is reserved */
|
jpayne@69
|
434 /* 156 */
|
jpayne@69
|
435 EXTERN int TkpTestembedCmd(ClientData clientData,
|
jpayne@69
|
436 Tcl_Interp *interp, int objc,
|
jpayne@69
|
437 Tcl_Obj *const objv[]);
|
jpayne@69
|
438 /* 157 */
|
jpayne@69
|
439 EXTERN int TkpTesttextCmd(ClientData dummy, Tcl_Interp *interp,
|
jpayne@69
|
440 int objc, Tcl_Obj *const objv[]);
|
jpayne@69
|
441 /* 158 */
|
jpayne@69
|
442 EXTERN int TkSelGetSelection(Tcl_Interp *interp,
|
jpayne@69
|
443 Tk_Window tkwin, Atom selection, Atom target,
|
jpayne@69
|
444 Tk_GetSelProc *proc, ClientData clientData);
|
jpayne@69
|
445 /* 159 */
|
jpayne@69
|
446 EXTERN int TkTextGetIndex(Tcl_Interp *interp,
|
jpayne@69
|
447 struct TkText *textPtr, const char *string,
|
jpayne@69
|
448 struct TkTextIndex *indexPtr);
|
jpayne@69
|
449 /* 160 */
|
jpayne@69
|
450 EXTERN int TkTextIndexBackBytes(const struct TkText *textPtr,
|
jpayne@69
|
451 const struct TkTextIndex *srcPtr, int count,
|
jpayne@69
|
452 struct TkTextIndex *dstPtr);
|
jpayne@69
|
453 /* 161 */
|
jpayne@69
|
454 EXTERN int TkTextIndexForwBytes(const struct TkText *textPtr,
|
jpayne@69
|
455 const struct TkTextIndex *srcPtr, int count,
|
jpayne@69
|
456 struct TkTextIndex *dstPtr);
|
jpayne@69
|
457 /* 162 */
|
jpayne@69
|
458 EXTERN struct TkTextIndex * TkTextMakeByteIndex(TkTextBTree tree,
|
jpayne@69
|
459 const struct TkText *textPtr, int lineIndex,
|
jpayne@69
|
460 int byteIndex, struct TkTextIndex *indexPtr);
|
jpayne@69
|
461 /* 163 */
|
jpayne@69
|
462 EXTERN int TkTextPrintIndex(const struct TkText *textPtr,
|
jpayne@69
|
463 const struct TkTextIndex *indexPtr,
|
jpayne@69
|
464 char *string);
|
jpayne@69
|
465 /* 164 */
|
jpayne@69
|
466 EXTERN struct TkTextSegment * TkTextSetMark(struct TkText *textPtr,
|
jpayne@69
|
467 const char *name,
|
jpayne@69
|
468 struct TkTextIndex *indexPtr);
|
jpayne@69
|
469 /* 165 */
|
jpayne@69
|
470 EXTERN int TkTextXviewCmd(struct TkText *textPtr,
|
jpayne@69
|
471 Tcl_Interp *interp, int objc,
|
jpayne@69
|
472 Tcl_Obj *const objv[]);
|
jpayne@69
|
473 /* 166 */
|
jpayne@69
|
474 EXTERN void TkTextChanged(struct TkSharedText *sharedTextPtr,
|
jpayne@69
|
475 struct TkText *textPtr,
|
jpayne@69
|
476 const struct TkTextIndex *index1Ptr,
|
jpayne@69
|
477 const struct TkTextIndex *index2Ptr);
|
jpayne@69
|
478 /* 167 */
|
jpayne@69
|
479 EXTERN int TkBTreeNumLines(TkTextBTree tree,
|
jpayne@69
|
480 const struct TkText *textPtr);
|
jpayne@69
|
481 /* 168 */
|
jpayne@69
|
482 EXTERN void TkTextInsertDisplayProc(struct TkText *textPtr,
|
jpayne@69
|
483 struct TkTextDispChunk *chunkPtr, int x,
|
jpayne@69
|
484 int y, int height, int baseline,
|
jpayne@69
|
485 Display *display, Drawable dst, int screenY);
|
jpayne@69
|
486 /* 169 */
|
jpayne@69
|
487 EXTERN int TkStateParseProc(ClientData clientData,
|
jpayne@69
|
488 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
489 const char *value, char *widgRec, int offset);
|
jpayne@69
|
490 /* 170 */
|
jpayne@69
|
491 EXTERN CONST86 char * TkStatePrintProc(ClientData clientData,
|
jpayne@69
|
492 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
493 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
494 /* 171 */
|
jpayne@69
|
495 EXTERN int TkCanvasDashParseProc(ClientData clientData,
|
jpayne@69
|
496 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
497 const char *value, char *widgRec, int offset);
|
jpayne@69
|
498 /* 172 */
|
jpayne@69
|
499 EXTERN CONST86 char * TkCanvasDashPrintProc(ClientData clientData,
|
jpayne@69
|
500 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
501 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
502 /* 173 */
|
jpayne@69
|
503 EXTERN int TkOffsetParseProc(ClientData clientData,
|
jpayne@69
|
504 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
505 const char *value, char *widgRec, int offset);
|
jpayne@69
|
506 /* 174 */
|
jpayne@69
|
507 EXTERN CONST86 char * TkOffsetPrintProc(ClientData clientData,
|
jpayne@69
|
508 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
509 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
510 /* 175 */
|
jpayne@69
|
511 EXTERN int TkPixelParseProc(ClientData clientData,
|
jpayne@69
|
512 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
513 const char *value, char *widgRec, int offset);
|
jpayne@69
|
514 /* 176 */
|
jpayne@69
|
515 EXTERN CONST86 char * TkPixelPrintProc(ClientData clientData,
|
jpayne@69
|
516 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
517 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
518 /* 177 */
|
jpayne@69
|
519 EXTERN int TkOrientParseProc(ClientData clientData,
|
jpayne@69
|
520 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
521 const char *value, char *widgRec, int offset);
|
jpayne@69
|
522 /* 178 */
|
jpayne@69
|
523 EXTERN CONST86 char * TkOrientPrintProc(ClientData clientData,
|
jpayne@69
|
524 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
525 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
526 /* 179 */
|
jpayne@69
|
527 EXTERN int TkSmoothParseProc(ClientData clientData,
|
jpayne@69
|
528 Tcl_Interp *interp, Tk_Window tkwin,
|
jpayne@69
|
529 const char *value, char *widgRec, int offset);
|
jpayne@69
|
530 /* 180 */
|
jpayne@69
|
531 EXTERN CONST86 char * TkSmoothPrintProc(ClientData clientData,
|
jpayne@69
|
532 Tk_Window tkwin, char *widgRec, int offset,
|
jpayne@69
|
533 Tcl_FreeProc **freeProcPtr);
|
jpayne@69
|
534 /* 181 */
|
jpayne@69
|
535 EXTERN void TkDrawAngledTextLayout(Display *display,
|
jpayne@69
|
536 Drawable drawable, GC gc,
|
jpayne@69
|
537 Tk_TextLayout layout, int x, int y,
|
jpayne@69
|
538 double angle, int firstChar, int lastChar);
|
jpayne@69
|
539 /* 182 */
|
jpayne@69
|
540 EXTERN void TkUnderlineAngledTextLayout(Display *display,
|
jpayne@69
|
541 Drawable drawable, GC gc,
|
jpayne@69
|
542 Tk_TextLayout layout, int x, int y,
|
jpayne@69
|
543 double angle, int underline);
|
jpayne@69
|
544 /* 183 */
|
jpayne@69
|
545 EXTERN int TkIntersectAngledTextLayout(Tk_TextLayout layout,
|
jpayne@69
|
546 int x, int y, int width, int height,
|
jpayne@69
|
547 double angle);
|
jpayne@69
|
548 /* 184 */
|
jpayne@69
|
549 EXTERN void TkDrawAngledChars(Display *display,
|
jpayne@69
|
550 Drawable drawable, GC gc, Tk_Font tkfont,
|
jpayne@69
|
551 const char *source, int numBytes, double x,
|
jpayne@69
|
552 double y, double angle);
|
jpayne@69
|
553 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
554 /* 185 */
|
jpayne@69
|
555 EXTERN void TkpRedrawWidget(Tk_Window tkwin);
|
jpayne@69
|
556 #endif /* MACOSX */
|
jpayne@69
|
557 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
558 /* 186 */
|
jpayne@69
|
559 EXTERN int TkpWillDrawWidget(Tk_Window tkwin);
|
jpayne@69
|
560 #endif /* MACOSX */
|
jpayne@69
|
561 /* 187 */
|
jpayne@69
|
562 EXTERN void TkUnusedStubEntry(void);
|
jpayne@69
|
563
|
jpayne@69
|
564 typedef struct TkIntStubs {
|
jpayne@69
|
565 int magic;
|
jpayne@69
|
566 void *hooks;
|
jpayne@69
|
567
|
jpayne@69
|
568 TkWindow * (*tkAllocWindow) (TkDisplay *dispPtr, int screenNum, TkWindow *parentPtr); /* 0 */
|
jpayne@69
|
569 void (*tkBezierPoints) (double control[], int numSteps, double *coordPtr); /* 1 */
|
jpayne@69
|
570 void (*tkBezierScreenPoints) (Tk_Canvas canvas, double control[], int numSteps, XPoint *xPointPtr); /* 2 */
|
jpayne@69
|
571 void (*reserved3)(void);
|
jpayne@69
|
572 void (*tkBindEventProc) (TkWindow *winPtr, XEvent *eventPtr); /* 4 */
|
jpayne@69
|
573 void (*tkBindFree) (TkMainInfo *mainPtr); /* 5 */
|
jpayne@69
|
574 void (*tkBindInit) (TkMainInfo *mainPtr); /* 6 */
|
jpayne@69
|
575 void (*tkChangeEventWindow) (XEvent *eventPtr, TkWindow *winPtr); /* 7 */
|
jpayne@69
|
576 int (*tkClipInit) (Tcl_Interp *interp, TkDisplay *dispPtr); /* 8 */
|
jpayne@69
|
577 void (*tkComputeAnchor) (Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int *xPtr, int *yPtr); /* 9 */
|
jpayne@69
|
578 void (*reserved10)(void);
|
jpayne@69
|
579 void (*reserved11)(void);
|
jpayne@69
|
580 TkCursor * (*tkCreateCursorFromData) (Tk_Window tkwin, const char *source, const char *mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg); /* 12 */
|
jpayne@69
|
581 int (*tkCreateFrame) (ClientData clientData, Tcl_Interp *interp, int argc, const char *const *argv, int toplevel, const char *appName); /* 13 */
|
jpayne@69
|
582 Tk_Window (*tkCreateMainWindow) (Tcl_Interp *interp, const char *screenName, const char *baseName); /* 14 */
|
jpayne@69
|
583 Time (*tkCurrentTime) (TkDisplay *dispPtr); /* 15 */
|
jpayne@69
|
584 void (*tkDeleteAllImages) (TkMainInfo *mainPtr); /* 16 */
|
jpayne@69
|
585 void (*tkDoConfigureNotify) (TkWindow *winPtr); /* 17 */
|
jpayne@69
|
586 void (*tkDrawInsetFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding); /* 18 */
|
jpayne@69
|
587 void (*tkEventDeadWindow) (TkWindow *winPtr); /* 19 */
|
jpayne@69
|
588 void (*tkFillPolygon) (Tk_Canvas canvas, double *coordPtr, int numPoints, Display *display, Drawable drawable, GC gc, GC outlineGC); /* 20 */
|
jpayne@69
|
589 int (*tkFindStateNum) (Tcl_Interp *interp, const char *option, const TkStateMap *mapPtr, const char *strKey); /* 21 */
|
jpayne@69
|
590 CONST86 char * (*tkFindStateString) (const TkStateMap *mapPtr, int numKey); /* 22 */
|
jpayne@69
|
591 void (*tkFocusDeadWindow) (TkWindow *winPtr); /* 23 */
|
jpayne@69
|
592 int (*tkFocusFilterEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 24 */
|
jpayne@69
|
593 TkWindow * (*tkFocusKeyEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 25 */
|
jpayne@69
|
594 void (*tkFontPkgInit) (TkMainInfo *mainPtr); /* 26 */
|
jpayne@69
|
595 void (*tkFontPkgFree) (TkMainInfo *mainPtr); /* 27 */
|
jpayne@69
|
596 void (*tkFreeBindingTags) (TkWindow *winPtr); /* 28 */
|
jpayne@69
|
597 void (*tkpFreeCursor) (TkCursor *cursorPtr); /* 29 */
|
jpayne@69
|
598 char * (*tkGetBitmapData) (Tcl_Interp *interp, const char *string, const char *fileName, int *widthPtr, int *heightPtr, int *hotXPtr, int *hotYPtr); /* 30 */
|
jpayne@69
|
599 void (*tkGetButtPoints) (double p1[], double p2[], double width, int project, double m1[], double m2[]); /* 31 */
|
jpayne@69
|
600 TkCursor * (*tkGetCursorByName) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid string); /* 32 */
|
jpayne@69
|
601 const char * (*tkGetDefaultScreenName) (Tcl_Interp *interp, const char *screenName); /* 33 */
|
jpayne@69
|
602 TkDisplay * (*tkGetDisplay) (Display *display); /* 34 */
|
jpayne@69
|
603 int (*tkGetDisplayOf) (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], Tk_Window *tkwinPtr); /* 35 */
|
jpayne@69
|
604 TkWindow * (*tkGetFocusWin) (TkWindow *winPtr); /* 36 */
|
jpayne@69
|
605 int (*tkGetInterpNames) (Tcl_Interp *interp, Tk_Window tkwin); /* 37 */
|
jpayne@69
|
606 int (*tkGetMiterPoints) (double p1[], double p2[], double p3[], double width, double m1[], double m2[]); /* 38 */
|
jpayne@69
|
607 void (*tkGetPointerCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 39 */
|
jpayne@69
|
608 void (*tkGetServerInfo) (Tcl_Interp *interp, Tk_Window tkwin); /* 40 */
|
jpayne@69
|
609 void (*tkGrabDeadWindow) (TkWindow *winPtr); /* 41 */
|
jpayne@69
|
610 int (*tkGrabState) (TkWindow *winPtr); /* 42 */
|
jpayne@69
|
611 void (*tkIncludePoint) (Tk_Item *itemPtr, double *pointPtr); /* 43 */
|
jpayne@69
|
612 void (*tkInOutEvents) (XEvent *eventPtr, TkWindow *sourcePtr, TkWindow *destPtr, int leaveType, int enterType, Tcl_QueuePosition position); /* 44 */
|
jpayne@69
|
613 void (*tkInstallFrameMenu) (Tk_Window tkwin); /* 45 */
|
jpayne@69
|
614 CONST86 char * (*tkKeysymToString) (KeySym keysym); /* 46 */
|
jpayne@69
|
615 int (*tkLineToArea) (double end1Ptr[], double end2Ptr[], double rectPtr[]); /* 47 */
|
jpayne@69
|
616 double (*tkLineToPoint) (double end1Ptr[], double end2Ptr[], double pointPtr[]); /* 48 */
|
jpayne@69
|
617 int (*tkMakeBezierCurve) (Tk_Canvas canvas, double *pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 49 */
|
jpayne@69
|
618 void (*tkMakeBezierPostscript) (Tcl_Interp *interp, Tk_Canvas canvas, double *pointPtr, int numPoints); /* 50 */
|
jpayne@69
|
619 void (*tkOptionClassChanged) (TkWindow *winPtr); /* 51 */
|
jpayne@69
|
620 void (*tkOptionDeadWindow) (TkWindow *winPtr); /* 52 */
|
jpayne@69
|
621 int (*tkOvalToArea) (double *ovalPtr, double *rectPtr); /* 53 */
|
jpayne@69
|
622 double (*tkOvalToPoint) (double ovalPtr[], double width, int filled, double pointPtr[]); /* 54 */
|
jpayne@69
|
623 int (*tkpChangeFocus) (TkWindow *winPtr, int force); /* 55 */
|
jpayne@69
|
624 void (*tkpCloseDisplay) (TkDisplay *dispPtr); /* 56 */
|
jpayne@69
|
625 void (*tkpClaimFocus) (TkWindow *topLevelPtr, int force); /* 57 */
|
jpayne@69
|
626 void (*tkpDisplayWarning) (const char *msg, const char *title); /* 58 */
|
jpayne@69
|
627 void (*tkpGetAppName) (Tcl_Interp *interp, Tcl_DString *name); /* 59 */
|
jpayne@69
|
628 TkWindow * (*tkpGetOtherWindow) (TkWindow *winPtr); /* 60 */
|
jpayne@69
|
629 TkWindow * (*tkpGetWrapperWindow) (TkWindow *winPtr); /* 61 */
|
jpayne@69
|
630 int (*tkpInit) (Tcl_Interp *interp); /* 62 */
|
jpayne@69
|
631 void (*tkpInitializeMenuBindings) (Tcl_Interp *interp, Tk_BindingTable bindingTable); /* 63 */
|
jpayne@69
|
632 void (*tkpMakeContainer) (Tk_Window tkwin); /* 64 */
|
jpayne@69
|
633 void (*tkpMakeMenuWindow) (Tk_Window tkwin, int transient); /* 65 */
|
jpayne@69
|
634 Window (*tkpMakeWindow) (TkWindow *winPtr, Window parent); /* 66 */
|
jpayne@69
|
635 void (*tkpMenuNotifyToplevelCreate) (Tcl_Interp *interp, const char *menuName); /* 67 */
|
jpayne@69
|
636 TkDisplay * (*tkpOpenDisplay) (const char *display_name); /* 68 */
|
jpayne@69
|
637 int (*tkPointerEvent) (XEvent *eventPtr, TkWindow *winPtr); /* 69 */
|
jpayne@69
|
638 int (*tkPolygonToArea) (double *polyPtr, int numPoints, double *rectPtr); /* 70 */
|
jpayne@69
|
639 double (*tkPolygonToPoint) (double *polyPtr, int numPoints, double *pointPtr); /* 71 */
|
jpayne@69
|
640 int (*tkPositionInTree) (TkWindow *winPtr, TkWindow *treePtr); /* 72 */
|
jpayne@69
|
641 void (*tkpRedirectKeyEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 73 */
|
jpayne@69
|
642 void (*tkpSetMainMenubar) (Tcl_Interp *interp, Tk_Window tkwin, const char *menuName); /* 74 */
|
jpayne@69
|
643 int (*tkpUseWindow) (Tcl_Interp *interp, Tk_Window tkwin, const char *string); /* 75 */
|
jpayne@69
|
644 void (*reserved76)(void);
|
jpayne@69
|
645 void (*tkQueueEventForAllChildren) (TkWindow *winPtr, XEvent *eventPtr); /* 77 */
|
jpayne@69
|
646 int (*tkReadBitmapFile) (Display *display, Drawable d, const char *filename, unsigned int *width_return, unsigned int *height_return, Pixmap *bitmap_return, int *x_hot_return, int *y_hot_return); /* 78 */
|
jpayne@69
|
647 int (*tkScrollWindow) (Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn); /* 79 */
|
jpayne@69
|
648 void (*tkSelDeadWindow) (TkWindow *winPtr); /* 80 */
|
jpayne@69
|
649 void (*tkSelEventProc) (Tk_Window tkwin, XEvent *eventPtr); /* 81 */
|
jpayne@69
|
650 void (*tkSelInit) (Tk_Window tkwin); /* 82 */
|
jpayne@69
|
651 void (*tkSelPropProc) (XEvent *eventPtr); /* 83 */
|
jpayne@69
|
652 void (*reserved84)(void);
|
jpayne@69
|
653 void (*tkSetWindowMenuBar) (Tcl_Interp *interp, Tk_Window tkwin, const char *oldMenuName, const char *menuName); /* 85 */
|
jpayne@69
|
654 KeySym (*tkStringToKeysym) (const char *name); /* 86 */
|
jpayne@69
|
655 int (*tkThickPolyLineToArea) (double *coordPtr, int numPoints, double width, int capStyle, int joinStyle, double *rectPtr); /* 87 */
|
jpayne@69
|
656 void (*tkWmAddToColormapWindows) (TkWindow *winPtr); /* 88 */
|
jpayne@69
|
657 void (*tkWmDeadWindow) (TkWindow *winPtr); /* 89 */
|
jpayne@69
|
658 TkWindow * (*tkWmFocusToplevel) (TkWindow *winPtr); /* 90 */
|
jpayne@69
|
659 void (*tkWmMapWindow) (TkWindow *winPtr); /* 91 */
|
jpayne@69
|
660 void (*tkWmNewWindow) (TkWindow *winPtr); /* 92 */
|
jpayne@69
|
661 void (*tkWmProtocolEventProc) (TkWindow *winPtr, XEvent *evenvPtr); /* 93 */
|
jpayne@69
|
662 void (*tkWmRemoveFromColormapWindows) (TkWindow *winPtr); /* 94 */
|
jpayne@69
|
663 void (*tkWmRestackToplevel) (TkWindow *winPtr, int aboveBelow, TkWindow *otherPtr); /* 95 */
|
jpayne@69
|
664 void (*tkWmSetClass) (TkWindow *winPtr); /* 96 */
|
jpayne@69
|
665 void (*tkWmUnmapWindow) (TkWindow *winPtr); /* 97 */
|
jpayne@69
|
666 Tcl_Obj * (*tkDebugBitmap) (Tk_Window tkwin, const char *name); /* 98 */
|
jpayne@69
|
667 Tcl_Obj * (*tkDebugBorder) (Tk_Window tkwin, const char *name); /* 99 */
|
jpayne@69
|
668 Tcl_Obj * (*tkDebugCursor) (Tk_Window tkwin, const char *name); /* 100 */
|
jpayne@69
|
669 Tcl_Obj * (*tkDebugColor) (Tk_Window tkwin, const char *name); /* 101 */
|
jpayne@69
|
670 Tcl_Obj * (*tkDebugConfig) (Tcl_Interp *interp, Tk_OptionTable table); /* 102 */
|
jpayne@69
|
671 Tcl_Obj * (*tkDebugFont) (Tk_Window tkwin, const char *name); /* 103 */
|
jpayne@69
|
672 int (*tkFindStateNumObj) (Tcl_Interp *interp, Tcl_Obj *optionPtr, const TkStateMap *mapPtr, Tcl_Obj *keyPtr); /* 104 */
|
jpayne@69
|
673 Tcl_HashTable * (*tkGetBitmapPredefTable) (void); /* 105 */
|
jpayne@69
|
674 TkDisplay * (*tkGetDisplayList) (void); /* 106 */
|
jpayne@69
|
675 TkMainInfo * (*tkGetMainInfoList) (void); /* 107 */
|
jpayne@69
|
676 int (*tkGetWindowFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, Tk_Window *windowPtr); /* 108 */
|
jpayne@69
|
677 CONST86 char * (*tkpGetString) (TkWindow *winPtr, XEvent *eventPtr, Tcl_DString *dsPtr); /* 109 */
|
jpayne@69
|
678 void (*tkpGetSubFonts) (Tcl_Interp *interp, Tk_Font tkfont); /* 110 */
|
jpayne@69
|
679 Tcl_Obj * (*tkpGetSystemDefault) (Tk_Window tkwin, const char *dbName, const char *className); /* 111 */
|
jpayne@69
|
680 void (*tkpMenuThreadInit) (void); /* 112 */
|
jpayne@69
|
681 int (*tkClipBox) (TkRegion rgn, XRectangle *rect_return); /* 113 */
|
jpayne@69
|
682 TkRegion (*tkCreateRegion) (void); /* 114 */
|
jpayne@69
|
683 int (*tkDestroyRegion) (TkRegion rgn); /* 115 */
|
jpayne@69
|
684 int (*tkIntersectRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 116 */
|
jpayne@69
|
685 int (*tkRectInRegion) (TkRegion rgn, int x, int y, unsigned int width, unsigned int height); /* 117 */
|
jpayne@69
|
686 int (*tkSetRegion) (Display *display, GC gc, TkRegion rgn); /* 118 */
|
jpayne@69
|
687 int (*tkUnionRectWithRegion) (XRectangle *rect, TkRegion src, TkRegion dr_return); /* 119 */
|
jpayne@69
|
688 void (*reserved120)(void);
|
jpayne@69
|
689 #if !(defined(_WIN32) || defined(MAC_OSX_TK)) /* X11 */
|
jpayne@69
|
690 void (*reserved121)(void);
|
jpayne@69
|
691 #endif /* X11 */
|
jpayne@69
|
692 #if defined(_WIN32) /* WIN */
|
jpayne@69
|
693 void (*reserved121)(void);
|
jpayne@69
|
694 #endif /* WIN */
|
jpayne@69
|
695 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
696 void (*reserved121)(void); /* Dummy entry for stubs table backwards compatibility */
|
jpayne@69
|
697 Pixmap (*tkpCreateNativeBitmap) (Display *display, const void *source); /* 121 */
|
jpayne@69
|
698 #endif /* AQUA */
|
jpayne@69
|
699 #if !(defined(_WIN32) || defined(MAC_OSX_TK)) /* X11 */
|
jpayne@69
|
700 void (*reserved122)(void);
|
jpayne@69
|
701 #endif /* X11 */
|
jpayne@69
|
702 #if defined(_WIN32) /* WIN */
|
jpayne@69
|
703 void (*reserved122)(void);
|
jpayne@69
|
704 #endif /* WIN */
|
jpayne@69
|
705 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
706 void (*reserved122)(void); /* Dummy entry for stubs table backwards compatibility */
|
jpayne@69
|
707 void (*tkpDefineNativeBitmaps) (void); /* 122 */
|
jpayne@69
|
708 #endif /* AQUA */
|
jpayne@69
|
709 void (*reserved123)(void);
|
jpayne@69
|
710 #if !(defined(_WIN32) || defined(MAC_OSX_TK)) /* X11 */
|
jpayne@69
|
711 void (*reserved124)(void);
|
jpayne@69
|
712 #endif /* X11 */
|
jpayne@69
|
713 #if defined(_WIN32) /* WIN */
|
jpayne@69
|
714 void (*reserved124)(void);
|
jpayne@69
|
715 #endif /* WIN */
|
jpayne@69
|
716 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
717 void (*reserved124)(void); /* Dummy entry for stubs table backwards compatibility */
|
jpayne@69
|
718 Pixmap (*tkpGetNativeAppBitmap) (Display *display, const char *name, int *width, int *height); /* 124 */
|
jpayne@69
|
719 #endif /* AQUA */
|
jpayne@69
|
720 void (*reserved125)(void);
|
jpayne@69
|
721 void (*reserved126)(void);
|
jpayne@69
|
722 void (*reserved127)(void);
|
jpayne@69
|
723 void (*reserved128)(void);
|
jpayne@69
|
724 void (*reserved129)(void);
|
jpayne@69
|
725 void (*reserved130)(void);
|
jpayne@69
|
726 void (*reserved131)(void);
|
jpayne@69
|
727 void (*reserved132)(void);
|
jpayne@69
|
728 void (*reserved133)(void);
|
jpayne@69
|
729 void (*reserved134)(void);
|
jpayne@69
|
730 void (*tkpDrawHighlightBorder) (Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable); /* 135 */
|
jpayne@69
|
731 void (*tkSetFocusWin) (TkWindow *winPtr, int force); /* 136 */
|
jpayne@69
|
732 void (*tkpSetKeycodeAndState) (Tk_Window tkwin, KeySym keySym, XEvent *eventPtr); /* 137 */
|
jpayne@69
|
733 KeySym (*tkpGetKeySym) (TkDisplay *dispPtr, XEvent *eventPtr); /* 138 */
|
jpayne@69
|
734 void (*tkpInitKeymapInfo) (TkDisplay *dispPtr); /* 139 */
|
jpayne@69
|
735 TkRegion (*tkPhotoGetValidRegion) (Tk_PhotoHandle handle); /* 140 */
|
jpayne@69
|
736 TkWindow ** (*tkWmStackorderToplevel) (TkWindow *parentPtr); /* 141 */
|
jpayne@69
|
737 void (*tkFocusFree) (TkMainInfo *mainPtr); /* 142 */
|
jpayne@69
|
738 void (*tkClipCleanup) (TkDisplay *dispPtr); /* 143 */
|
jpayne@69
|
739 void (*tkGCCleanup) (TkDisplay *dispPtr); /* 144 */
|
jpayne@69
|
740 int (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */
|
jpayne@69
|
741 void (*tkStylePkgInit) (TkMainInfo *mainPtr); /* 146 */
|
jpayne@69
|
742 void (*tkStylePkgFree) (TkMainInfo *mainPtr); /* 147 */
|
jpayne@69
|
743 Tk_Window (*tkToplevelWindowForCommand) (Tcl_Interp *interp, const char *cmdName); /* 148 */
|
jpayne@69
|
744 const Tk_OptionSpec * (*tkGetOptionSpec) (const char *name, Tk_OptionTable optionTable); /* 149 */
|
jpayne@69
|
745 int (*tkMakeRawCurve) (Tk_Canvas canvas, double *pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 150 */
|
jpayne@69
|
746 void (*tkMakeRawCurvePostscript) (Tcl_Interp *interp, Tk_Canvas canvas, double *pointPtr, int numPoints); /* 151 */
|
jpayne@69
|
747 void (*tkpDrawFrame) (Tk_Window tkwin, Tk_3DBorder border, int highlightWidth, int borderWidth, int relief); /* 152 */
|
jpayne@69
|
748 void (*tkCreateThreadExitHandler) (Tcl_ExitProc *proc, ClientData clientData); /* 153 */
|
jpayne@69
|
749 void (*tkDeleteThreadExitHandler) (Tcl_ExitProc *proc, ClientData clientData); /* 154 */
|
jpayne@69
|
750 void (*reserved155)(void);
|
jpayne@69
|
751 int (*tkpTestembedCmd) (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 156 */
|
jpayne@69
|
752 int (*tkpTesttextCmd) (ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 157 */
|
jpayne@69
|
753 int (*tkSelGetSelection) (Tcl_Interp *interp, Tk_Window tkwin, Atom selection, Atom target, Tk_GetSelProc *proc, ClientData clientData); /* 158 */
|
jpayne@69
|
754 int (*tkTextGetIndex) (Tcl_Interp *interp, struct TkText *textPtr, const char *string, struct TkTextIndex *indexPtr); /* 159 */
|
jpayne@69
|
755 int (*tkTextIndexBackBytes) (const struct TkText *textPtr, const struct TkTextIndex *srcPtr, int count, struct TkTextIndex *dstPtr); /* 160 */
|
jpayne@69
|
756 int (*tkTextIndexForwBytes) (const struct TkText *textPtr, const struct TkTextIndex *srcPtr, int count, struct TkTextIndex *dstPtr); /* 161 */
|
jpayne@69
|
757 struct TkTextIndex * (*tkTextMakeByteIndex) (TkTextBTree tree, const struct TkText *textPtr, int lineIndex, int byteIndex, struct TkTextIndex *indexPtr); /* 162 */
|
jpayne@69
|
758 int (*tkTextPrintIndex) (const struct TkText *textPtr, const struct TkTextIndex *indexPtr, char *string); /* 163 */
|
jpayne@69
|
759 struct TkTextSegment * (*tkTextSetMark) (struct TkText *textPtr, const char *name, struct TkTextIndex *indexPtr); /* 164 */
|
jpayne@69
|
760 int (*tkTextXviewCmd) (struct TkText *textPtr, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); /* 165 */
|
jpayne@69
|
761 void (*tkTextChanged) (struct TkSharedText *sharedTextPtr, struct TkText *textPtr, const struct TkTextIndex *index1Ptr, const struct TkTextIndex *index2Ptr); /* 166 */
|
jpayne@69
|
762 int (*tkBTreeNumLines) (TkTextBTree tree, const struct TkText *textPtr); /* 167 */
|
jpayne@69
|
763 void (*tkTextInsertDisplayProc) (struct TkText *textPtr, struct TkTextDispChunk *chunkPtr, int x, int y, int height, int baseline, Display *display, Drawable dst, int screenY); /* 168 */
|
jpayne@69
|
764 int (*tkStateParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 169 */
|
jpayne@69
|
765 CONST86 char * (*tkStatePrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 170 */
|
jpayne@69
|
766 int (*tkCanvasDashParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 171 */
|
jpayne@69
|
767 CONST86 char * (*tkCanvasDashPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 172 */
|
jpayne@69
|
768 int (*tkOffsetParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 173 */
|
jpayne@69
|
769 CONST86 char * (*tkOffsetPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 174 */
|
jpayne@69
|
770 int (*tkPixelParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 175 */
|
jpayne@69
|
771 CONST86 char * (*tkPixelPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 176 */
|
jpayne@69
|
772 int (*tkOrientParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 177 */
|
jpayne@69
|
773 CONST86 char * (*tkOrientPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 178 */
|
jpayne@69
|
774 int (*tkSmoothParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, const char *value, char *widgRec, int offset); /* 179 */
|
jpayne@69
|
775 CONST86 char * (*tkSmoothPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 180 */
|
jpayne@69
|
776 void (*tkDrawAngledTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, double angle, int firstChar, int lastChar); /* 181 */
|
jpayne@69
|
777 void (*tkUnderlineAngledTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, double angle, int underline); /* 182 */
|
jpayne@69
|
778 int (*tkIntersectAngledTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height, double angle); /* 183 */
|
jpayne@69
|
779 void (*tkDrawAngledChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, const char *source, int numBytes, double x, double y, double angle); /* 184 */
|
jpayne@69
|
780 #if !defined(_WIN32) && !defined(MAC_OSX_TCL) /* UNIX */
|
jpayne@69
|
781 void (*reserved185)(void);
|
jpayne@69
|
782 #endif /* UNIX */
|
jpayne@69
|
783 #if defined(_WIN32) /* WIN */
|
jpayne@69
|
784 void (*reserved185)(void);
|
jpayne@69
|
785 #endif /* WIN */
|
jpayne@69
|
786 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
787 void (*tkpRedrawWidget) (Tk_Window tkwin); /* 185 */
|
jpayne@69
|
788 #endif /* MACOSX */
|
jpayne@69
|
789 #if !defined(_WIN32) && !defined(MAC_OSX_TCL) /* UNIX */
|
jpayne@69
|
790 void (*reserved186)(void);
|
jpayne@69
|
791 #endif /* UNIX */
|
jpayne@69
|
792 #if defined(_WIN32) /* WIN */
|
jpayne@69
|
793 void (*reserved186)(void);
|
jpayne@69
|
794 #endif /* WIN */
|
jpayne@69
|
795 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
796 int (*tkpWillDrawWidget) (Tk_Window tkwin); /* 186 */
|
jpayne@69
|
797 #endif /* MACOSX */
|
jpayne@69
|
798 void (*tkUnusedStubEntry) (void); /* 187 */
|
jpayne@69
|
799 } TkIntStubs;
|
jpayne@69
|
800
|
jpayne@69
|
801 extern const TkIntStubs *tkIntStubsPtr;
|
jpayne@69
|
802
|
jpayne@69
|
803 #ifdef __cplusplus
|
jpayne@69
|
804 }
|
jpayne@69
|
805 #endif
|
jpayne@69
|
806
|
jpayne@69
|
807 #if defined(USE_TK_STUBS)
|
jpayne@69
|
808
|
jpayne@69
|
809 /*
|
jpayne@69
|
810 * Inline function declarations:
|
jpayne@69
|
811 */
|
jpayne@69
|
812
|
jpayne@69
|
813 #define TkAllocWindow \
|
jpayne@69
|
814 (tkIntStubsPtr->tkAllocWindow) /* 0 */
|
jpayne@69
|
815 #define TkBezierPoints \
|
jpayne@69
|
816 (tkIntStubsPtr->tkBezierPoints) /* 1 */
|
jpayne@69
|
817 #define TkBezierScreenPoints \
|
jpayne@69
|
818 (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */
|
jpayne@69
|
819 /* Slot 3 is reserved */
|
jpayne@69
|
820 #define TkBindEventProc \
|
jpayne@69
|
821 (tkIntStubsPtr->tkBindEventProc) /* 4 */
|
jpayne@69
|
822 #define TkBindFree \
|
jpayne@69
|
823 (tkIntStubsPtr->tkBindFree) /* 5 */
|
jpayne@69
|
824 #define TkBindInit \
|
jpayne@69
|
825 (tkIntStubsPtr->tkBindInit) /* 6 */
|
jpayne@69
|
826 #define TkChangeEventWindow \
|
jpayne@69
|
827 (tkIntStubsPtr->tkChangeEventWindow) /* 7 */
|
jpayne@69
|
828 #define TkClipInit \
|
jpayne@69
|
829 (tkIntStubsPtr->tkClipInit) /* 8 */
|
jpayne@69
|
830 #define TkComputeAnchor \
|
jpayne@69
|
831 (tkIntStubsPtr->tkComputeAnchor) /* 9 */
|
jpayne@69
|
832 /* Slot 10 is reserved */
|
jpayne@69
|
833 /* Slot 11 is reserved */
|
jpayne@69
|
834 #define TkCreateCursorFromData \
|
jpayne@69
|
835 (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */
|
jpayne@69
|
836 #define TkCreateFrame \
|
jpayne@69
|
837 (tkIntStubsPtr->tkCreateFrame) /* 13 */
|
jpayne@69
|
838 #define TkCreateMainWindow \
|
jpayne@69
|
839 (tkIntStubsPtr->tkCreateMainWindow) /* 14 */
|
jpayne@69
|
840 #define TkCurrentTime \
|
jpayne@69
|
841 (tkIntStubsPtr->tkCurrentTime) /* 15 */
|
jpayne@69
|
842 #define TkDeleteAllImages \
|
jpayne@69
|
843 (tkIntStubsPtr->tkDeleteAllImages) /* 16 */
|
jpayne@69
|
844 #define TkDoConfigureNotify \
|
jpayne@69
|
845 (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */
|
jpayne@69
|
846 #define TkDrawInsetFocusHighlight \
|
jpayne@69
|
847 (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */
|
jpayne@69
|
848 #define TkEventDeadWindow \
|
jpayne@69
|
849 (tkIntStubsPtr->tkEventDeadWindow) /* 19 */
|
jpayne@69
|
850 #define TkFillPolygon \
|
jpayne@69
|
851 (tkIntStubsPtr->tkFillPolygon) /* 20 */
|
jpayne@69
|
852 #define TkFindStateNum \
|
jpayne@69
|
853 (tkIntStubsPtr->tkFindStateNum) /* 21 */
|
jpayne@69
|
854 #define TkFindStateString \
|
jpayne@69
|
855 (tkIntStubsPtr->tkFindStateString) /* 22 */
|
jpayne@69
|
856 #define TkFocusDeadWindow \
|
jpayne@69
|
857 (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */
|
jpayne@69
|
858 #define TkFocusFilterEvent \
|
jpayne@69
|
859 (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */
|
jpayne@69
|
860 #define TkFocusKeyEvent \
|
jpayne@69
|
861 (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */
|
jpayne@69
|
862 #define TkFontPkgInit \
|
jpayne@69
|
863 (tkIntStubsPtr->tkFontPkgInit) /* 26 */
|
jpayne@69
|
864 #define TkFontPkgFree \
|
jpayne@69
|
865 (tkIntStubsPtr->tkFontPkgFree) /* 27 */
|
jpayne@69
|
866 #define TkFreeBindingTags \
|
jpayne@69
|
867 (tkIntStubsPtr->tkFreeBindingTags) /* 28 */
|
jpayne@69
|
868 #define TkpFreeCursor \
|
jpayne@69
|
869 (tkIntStubsPtr->tkpFreeCursor) /* 29 */
|
jpayne@69
|
870 #define TkGetBitmapData \
|
jpayne@69
|
871 (tkIntStubsPtr->tkGetBitmapData) /* 30 */
|
jpayne@69
|
872 #define TkGetButtPoints \
|
jpayne@69
|
873 (tkIntStubsPtr->tkGetButtPoints) /* 31 */
|
jpayne@69
|
874 #define TkGetCursorByName \
|
jpayne@69
|
875 (tkIntStubsPtr->tkGetCursorByName) /* 32 */
|
jpayne@69
|
876 #define TkGetDefaultScreenName \
|
jpayne@69
|
877 (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */
|
jpayne@69
|
878 #define TkGetDisplay \
|
jpayne@69
|
879 (tkIntStubsPtr->tkGetDisplay) /* 34 */
|
jpayne@69
|
880 #define TkGetDisplayOf \
|
jpayne@69
|
881 (tkIntStubsPtr->tkGetDisplayOf) /* 35 */
|
jpayne@69
|
882 #define TkGetFocusWin \
|
jpayne@69
|
883 (tkIntStubsPtr->tkGetFocusWin) /* 36 */
|
jpayne@69
|
884 #define TkGetInterpNames \
|
jpayne@69
|
885 (tkIntStubsPtr->tkGetInterpNames) /* 37 */
|
jpayne@69
|
886 #define TkGetMiterPoints \
|
jpayne@69
|
887 (tkIntStubsPtr->tkGetMiterPoints) /* 38 */
|
jpayne@69
|
888 #define TkGetPointerCoords \
|
jpayne@69
|
889 (tkIntStubsPtr->tkGetPointerCoords) /* 39 */
|
jpayne@69
|
890 #define TkGetServerInfo \
|
jpayne@69
|
891 (tkIntStubsPtr->tkGetServerInfo) /* 40 */
|
jpayne@69
|
892 #define TkGrabDeadWindow \
|
jpayne@69
|
893 (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */
|
jpayne@69
|
894 #define TkGrabState \
|
jpayne@69
|
895 (tkIntStubsPtr->tkGrabState) /* 42 */
|
jpayne@69
|
896 #define TkIncludePoint \
|
jpayne@69
|
897 (tkIntStubsPtr->tkIncludePoint) /* 43 */
|
jpayne@69
|
898 #define TkInOutEvents \
|
jpayne@69
|
899 (tkIntStubsPtr->tkInOutEvents) /* 44 */
|
jpayne@69
|
900 #define TkInstallFrameMenu \
|
jpayne@69
|
901 (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */
|
jpayne@69
|
902 #define TkKeysymToString \
|
jpayne@69
|
903 (tkIntStubsPtr->tkKeysymToString) /* 46 */
|
jpayne@69
|
904 #define TkLineToArea \
|
jpayne@69
|
905 (tkIntStubsPtr->tkLineToArea) /* 47 */
|
jpayne@69
|
906 #define TkLineToPoint \
|
jpayne@69
|
907 (tkIntStubsPtr->tkLineToPoint) /* 48 */
|
jpayne@69
|
908 #define TkMakeBezierCurve \
|
jpayne@69
|
909 (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */
|
jpayne@69
|
910 #define TkMakeBezierPostscript \
|
jpayne@69
|
911 (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */
|
jpayne@69
|
912 #define TkOptionClassChanged \
|
jpayne@69
|
913 (tkIntStubsPtr->tkOptionClassChanged) /* 51 */
|
jpayne@69
|
914 #define TkOptionDeadWindow \
|
jpayne@69
|
915 (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */
|
jpayne@69
|
916 #define TkOvalToArea \
|
jpayne@69
|
917 (tkIntStubsPtr->tkOvalToArea) /* 53 */
|
jpayne@69
|
918 #define TkOvalToPoint \
|
jpayne@69
|
919 (tkIntStubsPtr->tkOvalToPoint) /* 54 */
|
jpayne@69
|
920 #define TkpChangeFocus \
|
jpayne@69
|
921 (tkIntStubsPtr->tkpChangeFocus) /* 55 */
|
jpayne@69
|
922 #define TkpCloseDisplay \
|
jpayne@69
|
923 (tkIntStubsPtr->tkpCloseDisplay) /* 56 */
|
jpayne@69
|
924 #define TkpClaimFocus \
|
jpayne@69
|
925 (tkIntStubsPtr->tkpClaimFocus) /* 57 */
|
jpayne@69
|
926 #define TkpDisplayWarning \
|
jpayne@69
|
927 (tkIntStubsPtr->tkpDisplayWarning) /* 58 */
|
jpayne@69
|
928 #define TkpGetAppName \
|
jpayne@69
|
929 (tkIntStubsPtr->tkpGetAppName) /* 59 */
|
jpayne@69
|
930 #define TkpGetOtherWindow \
|
jpayne@69
|
931 (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */
|
jpayne@69
|
932 #define TkpGetWrapperWindow \
|
jpayne@69
|
933 (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */
|
jpayne@69
|
934 #define TkpInit \
|
jpayne@69
|
935 (tkIntStubsPtr->tkpInit) /* 62 */
|
jpayne@69
|
936 #define TkpInitializeMenuBindings \
|
jpayne@69
|
937 (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */
|
jpayne@69
|
938 #define TkpMakeContainer \
|
jpayne@69
|
939 (tkIntStubsPtr->tkpMakeContainer) /* 64 */
|
jpayne@69
|
940 #define TkpMakeMenuWindow \
|
jpayne@69
|
941 (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */
|
jpayne@69
|
942 #define TkpMakeWindow \
|
jpayne@69
|
943 (tkIntStubsPtr->tkpMakeWindow) /* 66 */
|
jpayne@69
|
944 #define TkpMenuNotifyToplevelCreate \
|
jpayne@69
|
945 (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */
|
jpayne@69
|
946 #define TkpOpenDisplay \
|
jpayne@69
|
947 (tkIntStubsPtr->tkpOpenDisplay) /* 68 */
|
jpayne@69
|
948 #define TkPointerEvent \
|
jpayne@69
|
949 (tkIntStubsPtr->tkPointerEvent) /* 69 */
|
jpayne@69
|
950 #define TkPolygonToArea \
|
jpayne@69
|
951 (tkIntStubsPtr->tkPolygonToArea) /* 70 */
|
jpayne@69
|
952 #define TkPolygonToPoint \
|
jpayne@69
|
953 (tkIntStubsPtr->tkPolygonToPoint) /* 71 */
|
jpayne@69
|
954 #define TkPositionInTree \
|
jpayne@69
|
955 (tkIntStubsPtr->tkPositionInTree) /* 72 */
|
jpayne@69
|
956 #define TkpRedirectKeyEvent \
|
jpayne@69
|
957 (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */
|
jpayne@69
|
958 #define TkpSetMainMenubar \
|
jpayne@69
|
959 (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */
|
jpayne@69
|
960 #define TkpUseWindow \
|
jpayne@69
|
961 (tkIntStubsPtr->tkpUseWindow) /* 75 */
|
jpayne@69
|
962 /* Slot 76 is reserved */
|
jpayne@69
|
963 #define TkQueueEventForAllChildren \
|
jpayne@69
|
964 (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */
|
jpayne@69
|
965 #define TkReadBitmapFile \
|
jpayne@69
|
966 (tkIntStubsPtr->tkReadBitmapFile) /* 78 */
|
jpayne@69
|
967 #define TkScrollWindow \
|
jpayne@69
|
968 (tkIntStubsPtr->tkScrollWindow) /* 79 */
|
jpayne@69
|
969 #define TkSelDeadWindow \
|
jpayne@69
|
970 (tkIntStubsPtr->tkSelDeadWindow) /* 80 */
|
jpayne@69
|
971 #define TkSelEventProc \
|
jpayne@69
|
972 (tkIntStubsPtr->tkSelEventProc) /* 81 */
|
jpayne@69
|
973 #define TkSelInit \
|
jpayne@69
|
974 (tkIntStubsPtr->tkSelInit) /* 82 */
|
jpayne@69
|
975 #define TkSelPropProc \
|
jpayne@69
|
976 (tkIntStubsPtr->tkSelPropProc) /* 83 */
|
jpayne@69
|
977 /* Slot 84 is reserved */
|
jpayne@69
|
978 #define TkSetWindowMenuBar \
|
jpayne@69
|
979 (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */
|
jpayne@69
|
980 #define TkStringToKeysym \
|
jpayne@69
|
981 (tkIntStubsPtr->tkStringToKeysym) /* 86 */
|
jpayne@69
|
982 #define TkThickPolyLineToArea \
|
jpayne@69
|
983 (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */
|
jpayne@69
|
984 #define TkWmAddToColormapWindows \
|
jpayne@69
|
985 (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */
|
jpayne@69
|
986 #define TkWmDeadWindow \
|
jpayne@69
|
987 (tkIntStubsPtr->tkWmDeadWindow) /* 89 */
|
jpayne@69
|
988 #define TkWmFocusToplevel \
|
jpayne@69
|
989 (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */
|
jpayne@69
|
990 #define TkWmMapWindow \
|
jpayne@69
|
991 (tkIntStubsPtr->tkWmMapWindow) /* 91 */
|
jpayne@69
|
992 #define TkWmNewWindow \
|
jpayne@69
|
993 (tkIntStubsPtr->tkWmNewWindow) /* 92 */
|
jpayne@69
|
994 #define TkWmProtocolEventProc \
|
jpayne@69
|
995 (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */
|
jpayne@69
|
996 #define TkWmRemoveFromColormapWindows \
|
jpayne@69
|
997 (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */
|
jpayne@69
|
998 #define TkWmRestackToplevel \
|
jpayne@69
|
999 (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */
|
jpayne@69
|
1000 #define TkWmSetClass \
|
jpayne@69
|
1001 (tkIntStubsPtr->tkWmSetClass) /* 96 */
|
jpayne@69
|
1002 #define TkWmUnmapWindow \
|
jpayne@69
|
1003 (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */
|
jpayne@69
|
1004 #define TkDebugBitmap \
|
jpayne@69
|
1005 (tkIntStubsPtr->tkDebugBitmap) /* 98 */
|
jpayne@69
|
1006 #define TkDebugBorder \
|
jpayne@69
|
1007 (tkIntStubsPtr->tkDebugBorder) /* 99 */
|
jpayne@69
|
1008 #define TkDebugCursor \
|
jpayne@69
|
1009 (tkIntStubsPtr->tkDebugCursor) /* 100 */
|
jpayne@69
|
1010 #define TkDebugColor \
|
jpayne@69
|
1011 (tkIntStubsPtr->tkDebugColor) /* 101 */
|
jpayne@69
|
1012 #define TkDebugConfig \
|
jpayne@69
|
1013 (tkIntStubsPtr->tkDebugConfig) /* 102 */
|
jpayne@69
|
1014 #define TkDebugFont \
|
jpayne@69
|
1015 (tkIntStubsPtr->tkDebugFont) /* 103 */
|
jpayne@69
|
1016 #define TkFindStateNumObj \
|
jpayne@69
|
1017 (tkIntStubsPtr->tkFindStateNumObj) /* 104 */
|
jpayne@69
|
1018 #define TkGetBitmapPredefTable \
|
jpayne@69
|
1019 (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */
|
jpayne@69
|
1020 #define TkGetDisplayList \
|
jpayne@69
|
1021 (tkIntStubsPtr->tkGetDisplayList) /* 106 */
|
jpayne@69
|
1022 #define TkGetMainInfoList \
|
jpayne@69
|
1023 (tkIntStubsPtr->tkGetMainInfoList) /* 107 */
|
jpayne@69
|
1024 #define TkGetWindowFromObj \
|
jpayne@69
|
1025 (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */
|
jpayne@69
|
1026 #define TkpGetString \
|
jpayne@69
|
1027 (tkIntStubsPtr->tkpGetString) /* 109 */
|
jpayne@69
|
1028 #define TkpGetSubFonts \
|
jpayne@69
|
1029 (tkIntStubsPtr->tkpGetSubFonts) /* 110 */
|
jpayne@69
|
1030 #define TkpGetSystemDefault \
|
jpayne@69
|
1031 (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */
|
jpayne@69
|
1032 #define TkpMenuThreadInit \
|
jpayne@69
|
1033 (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */
|
jpayne@69
|
1034 #define TkClipBox \
|
jpayne@69
|
1035 (tkIntStubsPtr->tkClipBox) /* 113 */
|
jpayne@69
|
1036 #define TkCreateRegion \
|
jpayne@69
|
1037 (tkIntStubsPtr->tkCreateRegion) /* 114 */
|
jpayne@69
|
1038 #define TkDestroyRegion \
|
jpayne@69
|
1039 (tkIntStubsPtr->tkDestroyRegion) /* 115 */
|
jpayne@69
|
1040 #define TkIntersectRegion \
|
jpayne@69
|
1041 (tkIntStubsPtr->tkIntersectRegion) /* 116 */
|
jpayne@69
|
1042 #define TkRectInRegion \
|
jpayne@69
|
1043 (tkIntStubsPtr->tkRectInRegion) /* 117 */
|
jpayne@69
|
1044 #define TkSetRegion \
|
jpayne@69
|
1045 (tkIntStubsPtr->tkSetRegion) /* 118 */
|
jpayne@69
|
1046 #define TkUnionRectWithRegion \
|
jpayne@69
|
1047 (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */
|
jpayne@69
|
1048 /* Slot 120 is reserved */
|
jpayne@69
|
1049 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
1050 #define TkpCreateNativeBitmap \
|
jpayne@69
|
1051 (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */
|
jpayne@69
|
1052 #endif /* AQUA */
|
jpayne@69
|
1053 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
1054 #define TkpDefineNativeBitmaps \
|
jpayne@69
|
1055 (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */
|
jpayne@69
|
1056 #endif /* AQUA */
|
jpayne@69
|
1057 /* Slot 123 is reserved */
|
jpayne@69
|
1058 #ifdef MAC_OSX_TK /* AQUA */
|
jpayne@69
|
1059 #define TkpGetNativeAppBitmap \
|
jpayne@69
|
1060 (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */
|
jpayne@69
|
1061 #endif /* AQUA */
|
jpayne@69
|
1062 /* Slot 125 is reserved */
|
jpayne@69
|
1063 /* Slot 126 is reserved */
|
jpayne@69
|
1064 /* Slot 127 is reserved */
|
jpayne@69
|
1065 /* Slot 128 is reserved */
|
jpayne@69
|
1066 /* Slot 129 is reserved */
|
jpayne@69
|
1067 /* Slot 130 is reserved */
|
jpayne@69
|
1068 /* Slot 131 is reserved */
|
jpayne@69
|
1069 /* Slot 132 is reserved */
|
jpayne@69
|
1070 /* Slot 133 is reserved */
|
jpayne@69
|
1071 /* Slot 134 is reserved */
|
jpayne@69
|
1072 #define TkpDrawHighlightBorder \
|
jpayne@69
|
1073 (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */
|
jpayne@69
|
1074 #define TkSetFocusWin \
|
jpayne@69
|
1075 (tkIntStubsPtr->tkSetFocusWin) /* 136 */
|
jpayne@69
|
1076 #define TkpSetKeycodeAndState \
|
jpayne@69
|
1077 (tkIntStubsPtr->tkpSetKeycodeAndState) /* 137 */
|
jpayne@69
|
1078 #define TkpGetKeySym \
|
jpayne@69
|
1079 (tkIntStubsPtr->tkpGetKeySym) /* 138 */
|
jpayne@69
|
1080 #define TkpInitKeymapInfo \
|
jpayne@69
|
1081 (tkIntStubsPtr->tkpInitKeymapInfo) /* 139 */
|
jpayne@69
|
1082 #define TkPhotoGetValidRegion \
|
jpayne@69
|
1083 (tkIntStubsPtr->tkPhotoGetValidRegion) /* 140 */
|
jpayne@69
|
1084 #define TkWmStackorderToplevel \
|
jpayne@69
|
1085 (tkIntStubsPtr->tkWmStackorderToplevel) /* 141 */
|
jpayne@69
|
1086 #define TkFocusFree \
|
jpayne@69
|
1087 (tkIntStubsPtr->tkFocusFree) /* 142 */
|
jpayne@69
|
1088 #define TkClipCleanup \
|
jpayne@69
|
1089 (tkIntStubsPtr->tkClipCleanup) /* 143 */
|
jpayne@69
|
1090 #define TkGCCleanup \
|
jpayne@69
|
1091 (tkIntStubsPtr->tkGCCleanup) /* 144 */
|
jpayne@69
|
1092 #define TkSubtractRegion \
|
jpayne@69
|
1093 (tkIntStubsPtr->tkSubtractRegion) /* 145 */
|
jpayne@69
|
1094 #define TkStylePkgInit \
|
jpayne@69
|
1095 (tkIntStubsPtr->tkStylePkgInit) /* 146 */
|
jpayne@69
|
1096 #define TkStylePkgFree \
|
jpayne@69
|
1097 (tkIntStubsPtr->tkStylePkgFree) /* 147 */
|
jpayne@69
|
1098 #define TkToplevelWindowForCommand \
|
jpayne@69
|
1099 (tkIntStubsPtr->tkToplevelWindowForCommand) /* 148 */
|
jpayne@69
|
1100 #define TkGetOptionSpec \
|
jpayne@69
|
1101 (tkIntStubsPtr->tkGetOptionSpec) /* 149 */
|
jpayne@69
|
1102 #define TkMakeRawCurve \
|
jpayne@69
|
1103 (tkIntStubsPtr->tkMakeRawCurve) /* 150 */
|
jpayne@69
|
1104 #define TkMakeRawCurvePostscript \
|
jpayne@69
|
1105 (tkIntStubsPtr->tkMakeRawCurvePostscript) /* 151 */
|
jpayne@69
|
1106 #define TkpDrawFrame \
|
jpayne@69
|
1107 (tkIntStubsPtr->tkpDrawFrame) /* 152 */
|
jpayne@69
|
1108 #define TkCreateThreadExitHandler \
|
jpayne@69
|
1109 (tkIntStubsPtr->tkCreateThreadExitHandler) /* 153 */
|
jpayne@69
|
1110 #define TkDeleteThreadExitHandler \
|
jpayne@69
|
1111 (tkIntStubsPtr->tkDeleteThreadExitHandler) /* 154 */
|
jpayne@69
|
1112 /* Slot 155 is reserved */
|
jpayne@69
|
1113 #define TkpTestembedCmd \
|
jpayne@69
|
1114 (tkIntStubsPtr->tkpTestembedCmd) /* 156 */
|
jpayne@69
|
1115 #define TkpTesttextCmd \
|
jpayne@69
|
1116 (tkIntStubsPtr->tkpTesttextCmd) /* 157 */
|
jpayne@69
|
1117 #define TkSelGetSelection \
|
jpayne@69
|
1118 (tkIntStubsPtr->tkSelGetSelection) /* 158 */
|
jpayne@69
|
1119 #define TkTextGetIndex \
|
jpayne@69
|
1120 (tkIntStubsPtr->tkTextGetIndex) /* 159 */
|
jpayne@69
|
1121 #define TkTextIndexBackBytes \
|
jpayne@69
|
1122 (tkIntStubsPtr->tkTextIndexBackBytes) /* 160 */
|
jpayne@69
|
1123 #define TkTextIndexForwBytes \
|
jpayne@69
|
1124 (tkIntStubsPtr->tkTextIndexForwBytes) /* 161 */
|
jpayne@69
|
1125 #define TkTextMakeByteIndex \
|
jpayne@69
|
1126 (tkIntStubsPtr->tkTextMakeByteIndex) /* 162 */
|
jpayne@69
|
1127 #define TkTextPrintIndex \
|
jpayne@69
|
1128 (tkIntStubsPtr->tkTextPrintIndex) /* 163 */
|
jpayne@69
|
1129 #define TkTextSetMark \
|
jpayne@69
|
1130 (tkIntStubsPtr->tkTextSetMark) /* 164 */
|
jpayne@69
|
1131 #define TkTextXviewCmd \
|
jpayne@69
|
1132 (tkIntStubsPtr->tkTextXviewCmd) /* 165 */
|
jpayne@69
|
1133 #define TkTextChanged \
|
jpayne@69
|
1134 (tkIntStubsPtr->tkTextChanged) /* 166 */
|
jpayne@69
|
1135 #define TkBTreeNumLines \
|
jpayne@69
|
1136 (tkIntStubsPtr->tkBTreeNumLines) /* 167 */
|
jpayne@69
|
1137 #define TkTextInsertDisplayProc \
|
jpayne@69
|
1138 (tkIntStubsPtr->tkTextInsertDisplayProc) /* 168 */
|
jpayne@69
|
1139 #define TkStateParseProc \
|
jpayne@69
|
1140 (tkIntStubsPtr->tkStateParseProc) /* 169 */
|
jpayne@69
|
1141 #define TkStatePrintProc \
|
jpayne@69
|
1142 (tkIntStubsPtr->tkStatePrintProc) /* 170 */
|
jpayne@69
|
1143 #define TkCanvasDashParseProc \
|
jpayne@69
|
1144 (tkIntStubsPtr->tkCanvasDashParseProc) /* 171 */
|
jpayne@69
|
1145 #define TkCanvasDashPrintProc \
|
jpayne@69
|
1146 (tkIntStubsPtr->tkCanvasDashPrintProc) /* 172 */
|
jpayne@69
|
1147 #define TkOffsetParseProc \
|
jpayne@69
|
1148 (tkIntStubsPtr->tkOffsetParseProc) /* 173 */
|
jpayne@69
|
1149 #define TkOffsetPrintProc \
|
jpayne@69
|
1150 (tkIntStubsPtr->tkOffsetPrintProc) /* 174 */
|
jpayne@69
|
1151 #define TkPixelParseProc \
|
jpayne@69
|
1152 (tkIntStubsPtr->tkPixelParseProc) /* 175 */
|
jpayne@69
|
1153 #define TkPixelPrintProc \
|
jpayne@69
|
1154 (tkIntStubsPtr->tkPixelPrintProc) /* 176 */
|
jpayne@69
|
1155 #define TkOrientParseProc \
|
jpayne@69
|
1156 (tkIntStubsPtr->tkOrientParseProc) /* 177 */
|
jpayne@69
|
1157 #define TkOrientPrintProc \
|
jpayne@69
|
1158 (tkIntStubsPtr->tkOrientPrintProc) /* 178 */
|
jpayne@69
|
1159 #define TkSmoothParseProc \
|
jpayne@69
|
1160 (tkIntStubsPtr->tkSmoothParseProc) /* 179 */
|
jpayne@69
|
1161 #define TkSmoothPrintProc \
|
jpayne@69
|
1162 (tkIntStubsPtr->tkSmoothPrintProc) /* 180 */
|
jpayne@69
|
1163 #define TkDrawAngledTextLayout \
|
jpayne@69
|
1164 (tkIntStubsPtr->tkDrawAngledTextLayout) /* 181 */
|
jpayne@69
|
1165 #define TkUnderlineAngledTextLayout \
|
jpayne@69
|
1166 (tkIntStubsPtr->tkUnderlineAngledTextLayout) /* 182 */
|
jpayne@69
|
1167 #define TkIntersectAngledTextLayout \
|
jpayne@69
|
1168 (tkIntStubsPtr->tkIntersectAngledTextLayout) /* 183 */
|
jpayne@69
|
1169 #define TkDrawAngledChars \
|
jpayne@69
|
1170 (tkIntStubsPtr->tkDrawAngledChars) /* 184 */
|
jpayne@69
|
1171 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
1172 #define TkpRedrawWidget \
|
jpayne@69
|
1173 (tkIntStubsPtr->tkpRedrawWidget) /* 185 */
|
jpayne@69
|
1174 #endif /* MACOSX */
|
jpayne@69
|
1175 #ifdef MAC_OSX_TCL /* MACOSX */
|
jpayne@69
|
1176 #define TkpWillDrawWidget \
|
jpayne@69
|
1177 (tkIntStubsPtr->tkpWillDrawWidget) /* 186 */
|
jpayne@69
|
1178 #endif /* MACOSX */
|
jpayne@69
|
1179 #define TkUnusedStubEntry \
|
jpayne@69
|
1180 (tkIntStubsPtr->tkUnusedStubEntry) /* 187 */
|
jpayne@69
|
1181
|
jpayne@69
|
1182 #endif /* defined(USE_TK_STUBS) */
|
jpayne@69
|
1183
|
jpayne@69
|
1184 /* !END!: Do not edit above this line. */
|
jpayne@69
|
1185
|
jpayne@69
|
1186 #undef TCL_STORAGE_CLASS
|
jpayne@69
|
1187 #define TCL_STORAGE_CLASS DLLIMPORT
|
jpayne@69
|
1188
|
jpayne@69
|
1189 /*
|
jpayne@69
|
1190 * On X11, these macros are just wrappers for the equivalent X Region calls.
|
jpayne@69
|
1191 */
|
jpayne@69
|
1192 #if !(defined(_WIN32) || defined(__CYGWIN__) || defined(MAC_OSX_TK)) /* X11 */
|
jpayne@69
|
1193
|
jpayne@69
|
1194 #undef TkClipBox
|
jpayne@69
|
1195 #undef TkCreateRegion
|
jpayne@69
|
1196 #undef TkDestroyRegion
|
jpayne@69
|
1197 #undef TkIntersectRegion
|
jpayne@69
|
1198 #undef TkRectInRegion
|
jpayne@69
|
1199 #undef TkSetRegion
|
jpayne@69
|
1200 #undef TkSubtractRegion
|
jpayne@69
|
1201 #undef TkUnionRectWithRegion
|
jpayne@69
|
1202 #undef TkpCmapStressed_
|
jpayne@69
|
1203 #undef TkpSync_
|
jpayne@69
|
1204 #undef TkUnixContainerId_
|
jpayne@69
|
1205 #undef TkUnixDoOneXEvent_
|
jpayne@69
|
1206 #undef TkUnixSetMenubar_
|
jpayne@69
|
1207 #undef TkWmCleanup_
|
jpayne@69
|
1208 #undef TkSendCleanup_
|
jpayne@69
|
1209 #undef TkpTestsendCmd_
|
jpayne@69
|
1210
|
jpayne@69
|
1211 #define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect)
|
jpayne@69
|
1212 #define TkCreateRegion() (TkRegion) XCreateRegion()
|
jpayne@69
|
1213 #define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn)
|
jpayne@69
|
1214 #define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \
|
jpayne@69
|
1215 (Region) b, (Region) r)
|
jpayne@69
|
1216 #define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h)
|
jpayne@69
|
1217 #define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn)
|
jpayne@69
|
1218 #define TkSubtractRegion(a, b, r) XSubtractRegion((Region) a, \
|
jpayne@69
|
1219 (Region) b, (Region) r)
|
jpayne@69
|
1220 #define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \
|
jpayne@69
|
1221 (Region) src, (Region) ret)
|
jpayne@69
|
1222
|
jpayne@69
|
1223 #endif /* UNIX */
|
jpayne@69
|
1224
|
jpayne@69
|
1225 #if !defined(MAC_OSX_TK)
|
jpayne@69
|
1226 # undef TkpWillDrawWidget
|
jpayne@69
|
1227 # undef TkpRedrawWidget
|
jpayne@69
|
1228 # define TkpWillDrawWidget(w) 0
|
jpayne@69
|
1229 # define TkpRedrawWidget(w)
|
jpayne@69
|
1230 #endif
|
jpayne@69
|
1231
|
jpayne@69
|
1232 #undef TkUnusedStubEntry
|
jpayne@69
|
1233
|
jpayne@69
|
1234 #endif /* _TKINTDECLS */
|
jpayne@69
|
1235
|