diff options
author | nijtmans <nijtmans> | 2010-02-07 23:24:13 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-07 23:24:13 (GMT) |
commit | 8e9497476c9b0554167e93c31b0516a216b12926 (patch) | |
tree | 5dcf5cec634aa7952402786f8a8e8bc572656db9 | |
parent | 72a2e7f509b932f6409e5e2e2e39dfde6da89897 (diff) | |
download | tk-8e9497476c9b0554167e93c31b0516a216b12926.zip tk-8e9497476c9b0554167e93c31b0516a216b12926.tar.gz tk-8e9497476c9b0554167e93c31b0516a216b12926.tar.bz2 |
Backport various formatting (spacing)
changes from HEAD, so diffing
between 8.5.x and 8.6 shows the
real structural differences again.
(any signature change not backported!)
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | generic/tk.decls | 62 | ||||
-rw-r--r-- | generic/tkDecls.h | 1336 | ||||
-rw-r--r-- | generic/tkInt.decls | 15 | ||||
-rw-r--r-- | generic/tkIntDecls.h | 807 | ||||
-rw-r--r-- | generic/tkIntPlatDecls.h | 314 | ||||
-rw-r--r-- | generic/tkIntXlibDecls.h | 1009 | ||||
-rw-r--r-- | generic/tkPlatDecls.h | 58 | ||||
-rw-r--r-- | generic/ttk/ttk.decls | 20 | ||||
-rw-r--r-- | generic/ttk/ttkDecls.h | 140 | ||||
-rw-r--r-- | generic/ttk/ttkGenStubs.tcl | 61 |
11 files changed, 1895 insertions, 1935 deletions
@@ -1,3 +1,11 @@ +2010-02-07 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/ttk/ttkGenStubs.tcl Backport various formatting (spacing) + * generic/ttk/ttk.decls changes from HEAD, so diffing + * generic/ttk/ttkDecls.h between 8.5.x and 8.6 shows the + * generic/tk*.decls real structural differences again. + * generic/tk*Decls.h (any signature change not backported!) + 2010-01-29 Jan Nijtmans <nijtmans@users.sf.net> * generic/tkBind.c Fix various gcc-4.4 warnings, all diff --git a/generic/tk.decls b/generic/tk.decls index 4c7d675..0ada35c 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -10,8 +10,8 @@ # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -# -# RCS: @(#) $Id: tk.decls,v 1.38 2008/03/27 12:03:33 das Exp $ +# +# RCS: @(#) $Id: tk.decls,v 1.38.2.1 2010/02/07 23:24:13 nijtmans Exp $ library tk @@ -106,7 +106,7 @@ declare 18 generic { Tk_Window tkwin, CONST char *value, char *widgRec, int offset) } declare 19 generic { - char * Tk_CanvasTagsPrintProc(ClientData clientData, Tk_Window tkwin, + char *Tk_CanvasTagsPrintProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr) } declare 20 generic { @@ -128,8 +128,8 @@ declare 24 generic { void Tk_ClearSelection(Tk_Window tkwin, Atom selection) } declare 25 generic { - int Tk_ClipboardAppend(Tcl_Interp *interp,Tk_Window tkwin, - Atom target, Atom format, char* buffer) + int Tk_ClipboardAppend(Tcl_Interp *interp, Tk_Window tkwin, + Atom target, Atom format, char *buffer) } declare 26 generic { int Tk_ClipboardClear(Tcl_Interp *interp, Tk_Window tkwin) @@ -246,7 +246,7 @@ declare 54 generic { void Tk_DestroyWindow(Tk_Window tkwin) } declare 55 generic { - CONST84_RETURN char * Tk_DisplayName(Tk_Window tkwin) + CONST84_RETURN char *Tk_DisplayName(Tk_Window tkwin) } declare 56 generic { int Tk_DistanceToTextLayout(Tk_TextLayout layout, int x, int y) @@ -349,15 +349,15 @@ declare 82 generic { CONST char *str, Tk_Anchor *anchorPtr) } declare 83 generic { - CONST84_RETURN char * Tk_GetAtomName(Tk_Window tkwin, Atom atom) + CONST84_RETURN char *Tk_GetAtomName(Tk_Window tkwin, Atom atom) } declare 84 generic { - CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp, + CONST84_RETURN char *Tk_GetBinding(Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventStr) } declare 85 generic { - Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin, CONST char * str) + Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin, CONST char *str) } declare 86 generic { Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, @@ -367,10 +367,10 @@ declare 87 generic { int Tk_GetCapStyle(Tcl_Interp *interp, CONST char *str, int *capPtr) } declare 88 generic { - XColor * Tk_GetColor(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid name) + XColor *Tk_GetColor(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid name) } declare 89 generic { - XColor * Tk_GetColorByValue(Tk_Window tkwin, XColor *colorPtr) + XColor *Tk_GetColorByValue(Tk_Window tkwin, XColor *colorPtr) } declare 90 generic { Colormap Tk_GetColormap(Tcl_Interp *interp, Tk_Window tkwin, @@ -408,7 +408,7 @@ declare 98 generic { CONST char *name, Tk_ImageType **typePtrPtr) } declare 99 generic { - Tk_ItemType * Tk_GetItemTypes(void) + Tk_ItemType *Tk_GetItemTypes(void) } declare 100 generic { int Tk_GetJoinStyle(Tcl_Interp *interp, CONST char *str, int *joinPtr) @@ -455,7 +455,7 @@ declare 111 generic { Tk_Uid Tk_GetUid(CONST char *str) } declare 112 generic { - Visual * Tk_GetVisual(Tcl_Interp *interp, + Visual *Tk_GetVisual(Tcl_Interp *interp, Tk_Window tkwin, CONST char *str, int *depthPtr, Colormap *colormapPtr) } @@ -519,37 +519,37 @@ declare 129 generic { void Tk_MoveToplevelWindow(Tk_Window tkwin, int x, int y) } declare 130 generic { - CONST84_RETURN char * Tk_NameOf3DBorder(Tk_3DBorder border) + CONST84_RETURN char *Tk_NameOf3DBorder(Tk_3DBorder border) } declare 131 generic { - CONST84_RETURN char * Tk_NameOfAnchor(Tk_Anchor anchor) + CONST84_RETURN char *Tk_NameOfAnchor(Tk_Anchor anchor) } declare 132 generic { - CONST84_RETURN char * Tk_NameOfBitmap(Display *display, Pixmap bitmap) + CONST84_RETURN char *Tk_NameOfBitmap(Display *display, Pixmap bitmap) } declare 133 generic { - CONST84_RETURN char * Tk_NameOfCapStyle(int cap) + CONST84_RETURN char *Tk_NameOfCapStyle(int cap) } declare 134 generic { - CONST84_RETURN char * Tk_NameOfColor(XColor *colorPtr) + CONST84_RETURN char *Tk_NameOfColor(XColor *colorPtr) } declare 135 generic { - CONST84_RETURN char * Tk_NameOfCursor(Display *display, Tk_Cursor cursor) + CONST84_RETURN char *Tk_NameOfCursor(Display *display, Tk_Cursor cursor) } declare 136 generic { - CONST84_RETURN char * Tk_NameOfFont(Tk_Font font) + CONST84_RETURN char *Tk_NameOfFont(Tk_Font font) } declare 137 generic { - CONST84_RETURN char * Tk_NameOfImage(Tk_ImageMaster imageMaster) + CONST84_RETURN char *Tk_NameOfImage(Tk_ImageMaster imageMaster) } declare 138 generic { - CONST84_RETURN char * Tk_NameOfJoinStyle(int join) + CONST84_RETURN char *Tk_NameOfJoinStyle(int join) } declare 139 generic { - CONST84_RETURN char * Tk_NameOfJustify(Tk_Justify justify) + CONST84_RETURN char *Tk_NameOfJustify(Tk_Justify justify) } declare 140 generic { - CONST84_RETURN char * Tk_NameOfRelief(int relief) + CONST84_RETURN char *Tk_NameOfRelief(int relief) } declare 141 generic { Tk_Window Tk_NameToWindow(Tcl_Interp *interp, @@ -622,7 +622,7 @@ declare 159 generic { int Tk_SafeInit(Tcl_Interp *interp) } declare 160 generic { - CONST char * Tk_SetAppName(Tk_Window tkwin, CONST char *name) + CONST char *Tk_SetAppName(Tk_Window tkwin, CONST char *name) } declare 161 generic { void Tk_SetBackgroundFromBorder(Tk_Window tkwin, Tk_3DBorder border) @@ -716,7 +716,7 @@ declare 186 generic { Tcl_Obj *objPtr) } declare 187 generic { - XColor * Tk_AllocColorFromObj(Tcl_Interp *interp, Tk_Window tkwin, + XColor *Tk_AllocColorFromObj(Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr) } declare 188 generic { @@ -769,18 +769,18 @@ declare 201 generic { Pixmap Tk_GetBitmapFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) } declare 202 generic { - XColor * Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) + XColor *Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) } declare 203 generic { Tk_Cursor Tk_GetCursorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr) } declare 204 generic { - Tcl_Obj * Tk_GetOptionInfo(Tcl_Interp *interp, + Tcl_Obj *Tk_GetOptionInfo(Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin) } declare 205 generic { - Tcl_Obj * Tk_GetOptionValue(Tcl_Interp *interp, char *recordPtr, + Tcl_Obj *Tk_GetOptionValue(Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin) } declare 206 generic { @@ -989,7 +989,7 @@ declare 255 generic { void Tk_FreeStyle(Tk_Style style) } declare 256 generic { - CONST char * Tk_NameOfStyle(Tk_Style style) + CONST char *Tk_NameOfStyle(Tk_Style style) } declare 257 generic { Tk_Style Tk_AllocStyleFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr) @@ -1054,7 +1054,7 @@ declare 270 generic { # TIP #264 declare 271 generic { - Tcl_Interp * Tk_Interp(Tk_Window tkwin) + Tcl_Interp *Tk_Interp(Tk_Window tkwin) } # Now that the Tk 8.2 -> 8.3 transition is long past, use more conventional diff --git a/generic/tkDecls.h b/generic/tkDecls.h index 4071501..953925e 100644 --- a/generic/tkDecls.h +++ b/generic/tkDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkDecls.h,v 1.30 2007/05/14 20:58:26 dgp Exp $ + * RCS: @(#) $Id: tkDecls.h,v 1.30.4.1 2010/02/07 23:24:13 nijtmans Exp $ */ #ifndef _TKDECLS @@ -34,1665 +34,1647 @@ #ifndef Tk_MainLoop_TCL_DECLARED #define Tk_MainLoop_TCL_DECLARED /* 0 */ -EXTERN void Tk_MainLoop (void); +EXTERN void Tk_MainLoop(void); #endif #ifndef Tk_3DBorderColor_TCL_DECLARED #define Tk_3DBorderColor_TCL_DECLARED /* 1 */ -EXTERN XColor * Tk_3DBorderColor (Tk_3DBorder border); +EXTERN XColor * Tk_3DBorderColor(Tk_3DBorder border); #endif #ifndef Tk_3DBorderGC_TCL_DECLARED #define Tk_3DBorderGC_TCL_DECLARED /* 2 */ -EXTERN GC Tk_3DBorderGC (Tk_Window tkwin, Tk_3DBorder border, +EXTERN GC Tk_3DBorderGC(Tk_Window tkwin, Tk_3DBorder border, int which); #endif #ifndef Tk_3DHorizontalBevel_TCL_DECLARED #define Tk_3DHorizontalBevel_TCL_DECLARED /* 3 */ -EXTERN void Tk_3DHorizontalBevel (Tk_Window tkwin, - Drawable drawable, Tk_3DBorder border, int x, - int y, int width, int height, int leftIn, +EXTERN void Tk_3DHorizontalBevel(Tk_Window tkwin, + Drawable drawable, Tk_3DBorder border, int x, + int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief); #endif #ifndef Tk_3DVerticalBevel_TCL_DECLARED #define Tk_3DVerticalBevel_TCL_DECLARED /* 4 */ -EXTERN void Tk_3DVerticalBevel (Tk_Window tkwin, - Drawable drawable, Tk_3DBorder border, int x, - int y, int width, int height, int leftBevel, +EXTERN void Tk_3DVerticalBevel(Tk_Window tkwin, + Drawable drawable, Tk_3DBorder border, int x, + int y, int width, int height, int leftBevel, int relief); #endif #ifndef Tk_AddOption_TCL_DECLARED #define Tk_AddOption_TCL_DECLARED /* 5 */ -EXTERN void Tk_AddOption (Tk_Window tkwin, CONST char * name, - CONST char * value, int priority); +EXTERN void Tk_AddOption(Tk_Window tkwin, CONST char *name, + CONST char *value, int priority); #endif #ifndef Tk_BindEvent_TCL_DECLARED #define Tk_BindEvent_TCL_DECLARED /* 6 */ -EXTERN void Tk_BindEvent (Tk_BindingTable bindingTable, - XEvent * eventPtr, Tk_Window tkwin, - int numObjects, ClientData * objectPtr); +EXTERN void Tk_BindEvent(Tk_BindingTable bindingTable, + XEvent *eventPtr, Tk_Window tkwin, + int numObjects, ClientData *objectPtr); #endif #ifndef Tk_CanvasDrawableCoords_TCL_DECLARED #define Tk_CanvasDrawableCoords_TCL_DECLARED /* 7 */ -EXTERN void Tk_CanvasDrawableCoords (Tk_Canvas canvas, double x, - double y, short * drawableXPtr, - short * drawableYPtr); +EXTERN void Tk_CanvasDrawableCoords(Tk_Canvas canvas, double x, + double y, short *drawableXPtr, + short *drawableYPtr); #endif #ifndef Tk_CanvasEventuallyRedraw_TCL_DECLARED #define Tk_CanvasEventuallyRedraw_TCL_DECLARED /* 8 */ -EXTERN void Tk_CanvasEventuallyRedraw (Tk_Canvas canvas, int x1, +EXTERN void Tk_CanvasEventuallyRedraw(Tk_Canvas canvas, int x1, int y1, int x2, int y2); #endif #ifndef Tk_CanvasGetCoord_TCL_DECLARED #define Tk_CanvasGetCoord_TCL_DECLARED /* 9 */ -EXTERN int Tk_CanvasGetCoord (Tcl_Interp * interp, - Tk_Canvas canvas, CONST char * str, - double * doublePtr); +EXTERN int Tk_CanvasGetCoord(Tcl_Interp *interp, + Tk_Canvas canvas, CONST char *str, + double *doublePtr); #endif #ifndef Tk_CanvasGetTextInfo_TCL_DECLARED #define Tk_CanvasGetTextInfo_TCL_DECLARED /* 10 */ -EXTERN Tk_CanvasTextInfo * Tk_CanvasGetTextInfo (Tk_Canvas canvas); +EXTERN Tk_CanvasTextInfo * Tk_CanvasGetTextInfo(Tk_Canvas canvas); #endif #ifndef Tk_CanvasPsBitmap_TCL_DECLARED #define Tk_CanvasPsBitmap_TCL_DECLARED /* 11 */ -EXTERN int Tk_CanvasPsBitmap (Tcl_Interp * interp, - Tk_Canvas canvas, Pixmap bitmap, int x, +EXTERN int Tk_CanvasPsBitmap(Tcl_Interp *interp, + Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); #endif #ifndef Tk_CanvasPsColor_TCL_DECLARED #define Tk_CanvasPsColor_TCL_DECLARED /* 12 */ -EXTERN int Tk_CanvasPsColor (Tcl_Interp * interp, - Tk_Canvas canvas, XColor * colorPtr); +EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, + Tk_Canvas canvas, XColor *colorPtr); #endif #ifndef Tk_CanvasPsFont_TCL_DECLARED #define Tk_CanvasPsFont_TCL_DECLARED /* 13 */ -EXTERN int Tk_CanvasPsFont (Tcl_Interp * interp, - Tk_Canvas canvas, Tk_Font font); +EXTERN int Tk_CanvasPsFont(Tcl_Interp *interp, Tk_Canvas canvas, + Tk_Font font); #endif #ifndef Tk_CanvasPsPath_TCL_DECLARED #define Tk_CanvasPsPath_TCL_DECLARED /* 14 */ -EXTERN void Tk_CanvasPsPath (Tcl_Interp * interp, - Tk_Canvas canvas, double * coordPtr, - int numPoints); +EXTERN void Tk_CanvasPsPath(Tcl_Interp *interp, Tk_Canvas canvas, + double *coordPtr, int numPoints); #endif #ifndef Tk_CanvasPsStipple_TCL_DECLARED #define Tk_CanvasPsStipple_TCL_DECLARED /* 15 */ -EXTERN int Tk_CanvasPsStipple (Tcl_Interp * interp, +EXTERN int Tk_CanvasPsStipple(Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap); #endif #ifndef Tk_CanvasPsY_TCL_DECLARED #define Tk_CanvasPsY_TCL_DECLARED /* 16 */ -EXTERN double Tk_CanvasPsY (Tk_Canvas canvas, double y); +EXTERN double Tk_CanvasPsY(Tk_Canvas canvas, double y); #endif #ifndef Tk_CanvasSetStippleOrigin_TCL_DECLARED #define Tk_CanvasSetStippleOrigin_TCL_DECLARED /* 17 */ -EXTERN void Tk_CanvasSetStippleOrigin (Tk_Canvas canvas, GC gc); +EXTERN void Tk_CanvasSetStippleOrigin(Tk_Canvas canvas, GC gc); #endif #ifndef Tk_CanvasTagsParseProc_TCL_DECLARED #define Tk_CanvasTagsParseProc_TCL_DECLARED /* 18 */ -EXTERN int Tk_CanvasTagsParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - CONST char * value, char * widgRec, - int offset); +EXTERN int Tk_CanvasTagsParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef Tk_CanvasTagsPrintProc_TCL_DECLARED #define Tk_CanvasTagsPrintProc_TCL_DECLARED /* 19 */ -EXTERN char * Tk_CanvasTagsPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * Tk_CanvasTagsPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef Tk_CanvasTkwin_TCL_DECLARED #define Tk_CanvasTkwin_TCL_DECLARED /* 20 */ -EXTERN Tk_Window Tk_CanvasTkwin (Tk_Canvas canvas); +EXTERN Tk_Window Tk_CanvasTkwin(Tk_Canvas canvas); #endif #ifndef Tk_CanvasWindowCoords_TCL_DECLARED #define Tk_CanvasWindowCoords_TCL_DECLARED /* 21 */ -EXTERN void Tk_CanvasWindowCoords (Tk_Canvas canvas, double x, - double y, short * screenXPtr, - short * screenYPtr); +EXTERN void Tk_CanvasWindowCoords(Tk_Canvas canvas, double x, + double y, short *screenXPtr, + short *screenYPtr); #endif #ifndef Tk_ChangeWindowAttributes_TCL_DECLARED #define Tk_ChangeWindowAttributes_TCL_DECLARED /* 22 */ -EXTERN void Tk_ChangeWindowAttributes (Tk_Window tkwin, - unsigned long valueMask, - XSetWindowAttributes * attsPtr); +EXTERN void Tk_ChangeWindowAttributes(Tk_Window tkwin, + unsigned long valueMask, + XSetWindowAttributes *attsPtr); #endif #ifndef Tk_CharBbox_TCL_DECLARED #define Tk_CharBbox_TCL_DECLARED /* 23 */ -EXTERN int Tk_CharBbox (Tk_TextLayout layout, int index, - int * xPtr, int * yPtr, int * widthPtr, - int * heightPtr); +EXTERN int Tk_CharBbox(Tk_TextLayout layout, int index, + int *xPtr, int *yPtr, int *widthPtr, + int *heightPtr); #endif #ifndef Tk_ClearSelection_TCL_DECLARED #define Tk_ClearSelection_TCL_DECLARED /* 24 */ -EXTERN void Tk_ClearSelection (Tk_Window tkwin, Atom selection); +EXTERN void Tk_ClearSelection(Tk_Window tkwin, Atom selection); #endif #ifndef Tk_ClipboardAppend_TCL_DECLARED #define Tk_ClipboardAppend_TCL_DECLARED /* 25 */ -EXTERN int Tk_ClipboardAppend (Tcl_Interp * interp, - Tk_Window tkwin, Atom target, Atom format, - char* buffer); +EXTERN int Tk_ClipboardAppend(Tcl_Interp *interp, + Tk_Window tkwin, Atom target, Atom format, + char *buffer); #endif #ifndef Tk_ClipboardClear_TCL_DECLARED #define Tk_ClipboardClear_TCL_DECLARED /* 26 */ -EXTERN int Tk_ClipboardClear (Tcl_Interp * interp, +EXTERN int Tk_ClipboardClear(Tcl_Interp *interp, Tk_Window tkwin); #endif #ifndef Tk_ConfigureInfo_TCL_DECLARED #define Tk_ConfigureInfo_TCL_DECLARED /* 27 */ -EXTERN int Tk_ConfigureInfo (Tcl_Interp * interp, - Tk_Window tkwin, Tk_ConfigSpec * specs, - char * widgRec, CONST char * argvName, - int flags); +EXTERN int Tk_ConfigureInfo(Tcl_Interp *interp, Tk_Window tkwin, + Tk_ConfigSpec *specs, char *widgRec, + CONST char *argvName, int flags); #endif #ifndef Tk_ConfigureValue_TCL_DECLARED #define Tk_ConfigureValue_TCL_DECLARED /* 28 */ -EXTERN int Tk_ConfigureValue (Tcl_Interp * interp, - Tk_Window tkwin, Tk_ConfigSpec * specs, - char * widgRec, CONST char * argvName, +EXTERN int Tk_ConfigureValue(Tcl_Interp *interp, + Tk_Window tkwin, Tk_ConfigSpec *specs, + char *widgRec, CONST char *argvName, int flags); #endif #ifndef Tk_ConfigureWidget_TCL_DECLARED #define Tk_ConfigureWidget_TCL_DECLARED /* 29 */ -EXTERN int Tk_ConfigureWidget (Tcl_Interp * interp, - Tk_Window tkwin, Tk_ConfigSpec * specs, - int argc, CONST84 char ** argv, - char * widgRec, int flags); +EXTERN int Tk_ConfigureWidget(Tcl_Interp *interp, + Tk_Window tkwin, Tk_ConfigSpec *specs, + int argc, CONST84 char **argv, char *widgRec, + int flags); #endif #ifndef Tk_ConfigureWindow_TCL_DECLARED #define Tk_ConfigureWindow_TCL_DECLARED /* 30 */ -EXTERN void Tk_ConfigureWindow (Tk_Window tkwin, - unsigned int valueMask, - XWindowChanges * valuePtr); +EXTERN void Tk_ConfigureWindow(Tk_Window tkwin, + unsigned int valueMask, + XWindowChanges *valuePtr); #endif #ifndef Tk_ComputeTextLayout_TCL_DECLARED #define Tk_ComputeTextLayout_TCL_DECLARED /* 31 */ -EXTERN Tk_TextLayout Tk_ComputeTextLayout (Tk_Font font, CONST char * str, - int numChars, int wrapLength, - Tk_Justify justify, int flags, - int * widthPtr, int * heightPtr); +EXTERN Tk_TextLayout Tk_ComputeTextLayout(Tk_Font font, CONST char *str, + int numChars, int wrapLength, + Tk_Justify justify, int flags, int *widthPtr, + int *heightPtr); #endif #ifndef Tk_CoordsToWindow_TCL_DECLARED #define Tk_CoordsToWindow_TCL_DECLARED /* 32 */ -EXTERN Tk_Window Tk_CoordsToWindow (int rootX, int rootY, +EXTERN Tk_Window Tk_CoordsToWindow(int rootX, int rootY, Tk_Window tkwin); #endif #ifndef Tk_CreateBinding_TCL_DECLARED #define Tk_CreateBinding_TCL_DECLARED /* 33 */ -EXTERN unsigned long Tk_CreateBinding (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventStr, - CONST char * command, int append); +EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp, + Tk_BindingTable bindingTable, + ClientData object, CONST char *eventStr, + CONST char *command, int append); #endif #ifndef Tk_CreateBindingTable_TCL_DECLARED #define Tk_CreateBindingTable_TCL_DECLARED /* 34 */ -EXTERN Tk_BindingTable Tk_CreateBindingTable (Tcl_Interp * interp); +EXTERN Tk_BindingTable Tk_CreateBindingTable(Tcl_Interp *interp); #endif #ifndef Tk_CreateErrorHandler_TCL_DECLARED #define Tk_CreateErrorHandler_TCL_DECLARED /* 35 */ -EXTERN Tk_ErrorHandler Tk_CreateErrorHandler (Display * display, int errNum, - int request, int minorCode, - Tk_ErrorProc * errorProc, +EXTERN Tk_ErrorHandler Tk_CreateErrorHandler(Display *display, int errNum, + int request, int minorCode, + Tk_ErrorProc *errorProc, ClientData clientData); #endif #ifndef Tk_CreateEventHandler_TCL_DECLARED #define Tk_CreateEventHandler_TCL_DECLARED /* 36 */ -EXTERN void Tk_CreateEventHandler (Tk_Window token, - unsigned long mask, Tk_EventProc * proc, +EXTERN void Tk_CreateEventHandler(Tk_Window token, + unsigned long mask, Tk_EventProc *proc, ClientData clientData); #endif #ifndef Tk_CreateGenericHandler_TCL_DECLARED #define Tk_CreateGenericHandler_TCL_DECLARED /* 37 */ -EXTERN void Tk_CreateGenericHandler (Tk_GenericProc * proc, +EXTERN void Tk_CreateGenericHandler(Tk_GenericProc *proc, ClientData clientData); #endif #ifndef Tk_CreateImageType_TCL_DECLARED #define Tk_CreateImageType_TCL_DECLARED /* 38 */ -EXTERN void Tk_CreateImageType (Tk_ImageType * typePtr); +EXTERN void Tk_CreateImageType(Tk_ImageType *typePtr); #endif #ifndef Tk_CreateItemType_TCL_DECLARED #define Tk_CreateItemType_TCL_DECLARED /* 39 */ -EXTERN void Tk_CreateItemType (Tk_ItemType * typePtr); +EXTERN void Tk_CreateItemType(Tk_ItemType *typePtr); #endif #ifndef Tk_CreatePhotoImageFormat_TCL_DECLARED #define Tk_CreatePhotoImageFormat_TCL_DECLARED /* 40 */ -EXTERN void Tk_CreatePhotoImageFormat ( - Tk_PhotoImageFormat * formatPtr); +EXTERN void Tk_CreatePhotoImageFormat( + Tk_PhotoImageFormat *formatPtr); #endif #ifndef Tk_CreateSelHandler_TCL_DECLARED #define Tk_CreateSelHandler_TCL_DECLARED /* 41 */ -EXTERN void Tk_CreateSelHandler (Tk_Window tkwin, Atom selection, - Atom target, Tk_SelectionProc * proc, +EXTERN void Tk_CreateSelHandler(Tk_Window tkwin, Atom selection, + Atom target, Tk_SelectionProc *proc, ClientData clientData, Atom format); #endif #ifndef Tk_CreateWindow_TCL_DECLARED #define Tk_CreateWindow_TCL_DECLARED /* 42 */ -EXTERN Tk_Window Tk_CreateWindow (Tcl_Interp * interp, - Tk_Window parent, CONST char * name, - CONST char * screenName); +EXTERN Tk_Window Tk_CreateWindow(Tcl_Interp *interp, Tk_Window parent, + CONST char *name, CONST char *screenName); #endif #ifndef Tk_CreateWindowFromPath_TCL_DECLARED #define Tk_CreateWindowFromPath_TCL_DECLARED /* 43 */ -EXTERN Tk_Window Tk_CreateWindowFromPath (Tcl_Interp * interp, - Tk_Window tkwin, CONST char * pathName, - CONST char * screenName); +EXTERN Tk_Window Tk_CreateWindowFromPath(Tcl_Interp *interp, + Tk_Window tkwin, CONST char *pathName, + CONST char *screenName); #endif #ifndef Tk_DefineBitmap_TCL_DECLARED #define Tk_DefineBitmap_TCL_DECLARED /* 44 */ -EXTERN int Tk_DefineBitmap (Tcl_Interp * interp, - CONST char * name, CONST char * source, - int width, int height); +EXTERN int Tk_DefineBitmap(Tcl_Interp *interp, CONST char *name, + CONST char *source, int width, int height); #endif #ifndef Tk_DefineCursor_TCL_DECLARED #define Tk_DefineCursor_TCL_DECLARED /* 45 */ -EXTERN void Tk_DefineCursor (Tk_Window window, Tk_Cursor cursor); +EXTERN void Tk_DefineCursor(Tk_Window window, Tk_Cursor cursor); #endif #ifndef Tk_DeleteAllBindings_TCL_DECLARED #define Tk_DeleteAllBindings_TCL_DECLARED /* 46 */ -EXTERN void Tk_DeleteAllBindings (Tk_BindingTable bindingTable, +EXTERN void Tk_DeleteAllBindings(Tk_BindingTable bindingTable, ClientData object); #endif #ifndef Tk_DeleteBinding_TCL_DECLARED #define Tk_DeleteBinding_TCL_DECLARED /* 47 */ -EXTERN int Tk_DeleteBinding (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventStr); +EXTERN int Tk_DeleteBinding(Tcl_Interp *interp, + Tk_BindingTable bindingTable, + ClientData object, CONST char *eventStr); #endif #ifndef Tk_DeleteBindingTable_TCL_DECLARED #define Tk_DeleteBindingTable_TCL_DECLARED /* 48 */ -EXTERN void Tk_DeleteBindingTable (Tk_BindingTable bindingTable); +EXTERN void Tk_DeleteBindingTable(Tk_BindingTable bindingTable); #endif #ifndef Tk_DeleteErrorHandler_TCL_DECLARED #define Tk_DeleteErrorHandler_TCL_DECLARED /* 49 */ -EXTERN void Tk_DeleteErrorHandler (Tk_ErrorHandler handler); +EXTERN void Tk_DeleteErrorHandler(Tk_ErrorHandler handler); #endif #ifndef Tk_DeleteEventHandler_TCL_DECLARED #define Tk_DeleteEventHandler_TCL_DECLARED /* 50 */ -EXTERN void Tk_DeleteEventHandler (Tk_Window token, - unsigned long mask, Tk_EventProc * proc, +EXTERN void Tk_DeleteEventHandler(Tk_Window token, + unsigned long mask, Tk_EventProc *proc, ClientData clientData); #endif #ifndef Tk_DeleteGenericHandler_TCL_DECLARED #define Tk_DeleteGenericHandler_TCL_DECLARED /* 51 */ -EXTERN void Tk_DeleteGenericHandler (Tk_GenericProc * proc, +EXTERN void Tk_DeleteGenericHandler(Tk_GenericProc *proc, ClientData clientData); #endif #ifndef Tk_DeleteImage_TCL_DECLARED #define Tk_DeleteImage_TCL_DECLARED /* 52 */ -EXTERN void Tk_DeleteImage (Tcl_Interp * interp, - CONST char * name); +EXTERN void Tk_DeleteImage(Tcl_Interp *interp, CONST char *name); #endif #ifndef Tk_DeleteSelHandler_TCL_DECLARED #define Tk_DeleteSelHandler_TCL_DECLARED /* 53 */ -EXTERN void Tk_DeleteSelHandler (Tk_Window tkwin, Atom selection, +EXTERN void Tk_DeleteSelHandler(Tk_Window tkwin, Atom selection, Atom target); #endif #ifndef Tk_DestroyWindow_TCL_DECLARED #define Tk_DestroyWindow_TCL_DECLARED /* 54 */ -EXTERN void Tk_DestroyWindow (Tk_Window tkwin); +EXTERN void Tk_DestroyWindow(Tk_Window tkwin); #endif #ifndef Tk_DisplayName_TCL_DECLARED #define Tk_DisplayName_TCL_DECLARED /* 55 */ -EXTERN CONST84_RETURN char * Tk_DisplayName (Tk_Window tkwin); +EXTERN CONST84_RETURN char * Tk_DisplayName(Tk_Window tkwin); #endif #ifndef Tk_DistanceToTextLayout_TCL_DECLARED #define Tk_DistanceToTextLayout_TCL_DECLARED /* 56 */ -EXTERN int Tk_DistanceToTextLayout (Tk_TextLayout layout, int x, +EXTERN int Tk_DistanceToTextLayout(Tk_TextLayout layout, int x, int y); #endif #ifndef Tk_Draw3DPolygon_TCL_DECLARED #define Tk_Draw3DPolygon_TCL_DECLARED /* 57 */ -EXTERN void Tk_Draw3DPolygon (Tk_Window tkwin, Drawable drawable, - Tk_3DBorder border, XPoint * pointPtr, - int numPoints, int borderWidth, +EXTERN void Tk_Draw3DPolygon(Tk_Window tkwin, Drawable drawable, + Tk_3DBorder border, XPoint *pointPtr, + int numPoints, int borderWidth, int leftRelief); #endif #ifndef Tk_Draw3DRectangle_TCL_DECLARED #define Tk_Draw3DRectangle_TCL_DECLARED /* 58 */ -EXTERN void Tk_Draw3DRectangle (Tk_Window tkwin, - Drawable drawable, Tk_3DBorder border, int x, - int y, int width, int height, +EXTERN void Tk_Draw3DRectangle(Tk_Window tkwin, + Drawable drawable, Tk_3DBorder border, int x, + int y, int width, int height, int borderWidth, int relief); #endif #ifndef Tk_DrawChars_TCL_DECLARED #define Tk_DrawChars_TCL_DECLARED /* 59 */ -EXTERN void Tk_DrawChars (Display * display, Drawable drawable, - GC gc, Tk_Font tkfont, CONST char * source, +EXTERN void Tk_DrawChars(Display *display, Drawable drawable, + GC gc, Tk_Font tkfont, CONST char *source, int numBytes, int x, int y); #endif #ifndef Tk_DrawFocusHighlight_TCL_DECLARED #define Tk_DrawFocusHighlight_TCL_DECLARED /* 60 */ -EXTERN void Tk_DrawFocusHighlight (Tk_Window tkwin, GC gc, +EXTERN void Tk_DrawFocusHighlight(Tk_Window tkwin, GC gc, int width, Drawable drawable); #endif #ifndef Tk_DrawTextLayout_TCL_DECLARED #define Tk_DrawTextLayout_TCL_DECLARED /* 61 */ -EXTERN void Tk_DrawTextLayout (Display * display, - Drawable drawable, GC gc, - Tk_TextLayout layout, int x, int y, +EXTERN void Tk_DrawTextLayout(Display *display, + Drawable drawable, GC gc, + Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); #endif #ifndef Tk_Fill3DPolygon_TCL_DECLARED #define Tk_Fill3DPolygon_TCL_DECLARED /* 62 */ -EXTERN void Tk_Fill3DPolygon (Tk_Window tkwin, Drawable drawable, - Tk_3DBorder border, XPoint * pointPtr, - int numPoints, int borderWidth, +EXTERN void Tk_Fill3DPolygon(Tk_Window tkwin, Drawable drawable, + Tk_3DBorder border, XPoint *pointPtr, + int numPoints, int borderWidth, int leftRelief); #endif #ifndef Tk_Fill3DRectangle_TCL_DECLARED #define Tk_Fill3DRectangle_TCL_DECLARED /* 63 */ -EXTERN void Tk_Fill3DRectangle (Tk_Window tkwin, - Drawable drawable, Tk_3DBorder border, int x, - int y, int width, int height, +EXTERN void Tk_Fill3DRectangle(Tk_Window tkwin, + Drawable drawable, Tk_3DBorder border, int x, + int y, int width, int height, int borderWidth, int relief); #endif #ifndef Tk_FindPhoto_TCL_DECLARED #define Tk_FindPhoto_TCL_DECLARED /* 64 */ -EXTERN Tk_PhotoHandle Tk_FindPhoto (Tcl_Interp * interp, - CONST char * imageName); +EXTERN Tk_PhotoHandle Tk_FindPhoto(Tcl_Interp *interp, + CONST char *imageName); #endif #ifndef Tk_FontId_TCL_DECLARED #define Tk_FontId_TCL_DECLARED /* 65 */ -EXTERN Font Tk_FontId (Tk_Font font); +EXTERN Font Tk_FontId(Tk_Font font); #endif #ifndef Tk_Free3DBorder_TCL_DECLARED #define Tk_Free3DBorder_TCL_DECLARED /* 66 */ -EXTERN void Tk_Free3DBorder (Tk_3DBorder border); +EXTERN void Tk_Free3DBorder(Tk_3DBorder border); #endif #ifndef Tk_FreeBitmap_TCL_DECLARED #define Tk_FreeBitmap_TCL_DECLARED /* 67 */ -EXTERN void Tk_FreeBitmap (Display * display, Pixmap bitmap); +EXTERN void Tk_FreeBitmap(Display *display, Pixmap bitmap); #endif #ifndef Tk_FreeColor_TCL_DECLARED #define Tk_FreeColor_TCL_DECLARED /* 68 */ -EXTERN void Tk_FreeColor (XColor * colorPtr); +EXTERN void Tk_FreeColor(XColor *colorPtr); #endif #ifndef Tk_FreeColormap_TCL_DECLARED #define Tk_FreeColormap_TCL_DECLARED /* 69 */ -EXTERN void Tk_FreeColormap (Display * display, - Colormap colormap); +EXTERN void Tk_FreeColormap(Display *display, Colormap colormap); #endif #ifndef Tk_FreeCursor_TCL_DECLARED #define Tk_FreeCursor_TCL_DECLARED /* 70 */ -EXTERN void Tk_FreeCursor (Display * display, Tk_Cursor cursor); +EXTERN void Tk_FreeCursor(Display *display, Tk_Cursor cursor); #endif #ifndef Tk_FreeFont_TCL_DECLARED #define Tk_FreeFont_TCL_DECLARED /* 71 */ -EXTERN void Tk_FreeFont (Tk_Font f); +EXTERN void Tk_FreeFont(Tk_Font f); #endif #ifndef Tk_FreeGC_TCL_DECLARED #define Tk_FreeGC_TCL_DECLARED /* 72 */ -EXTERN void Tk_FreeGC (Display * display, GC gc); +EXTERN void Tk_FreeGC(Display *display, GC gc); #endif #ifndef Tk_FreeImage_TCL_DECLARED #define Tk_FreeImage_TCL_DECLARED /* 73 */ -EXTERN void Tk_FreeImage (Tk_Image image); +EXTERN void Tk_FreeImage(Tk_Image image); #endif #ifndef Tk_FreeOptions_TCL_DECLARED #define Tk_FreeOptions_TCL_DECLARED /* 74 */ -EXTERN void Tk_FreeOptions (Tk_ConfigSpec * specs, - char * widgRec, Display * display, - int needFlags); +EXTERN void Tk_FreeOptions(Tk_ConfigSpec *specs, char *widgRec, + Display *display, int needFlags); #endif #ifndef Tk_FreePixmap_TCL_DECLARED #define Tk_FreePixmap_TCL_DECLARED /* 75 */ -EXTERN void Tk_FreePixmap (Display * display, Pixmap pixmap); +EXTERN void Tk_FreePixmap(Display *display, Pixmap pixmap); #endif #ifndef Tk_FreeTextLayout_TCL_DECLARED #define Tk_FreeTextLayout_TCL_DECLARED /* 76 */ -EXTERN void Tk_FreeTextLayout (Tk_TextLayout textLayout); +EXTERN void Tk_FreeTextLayout(Tk_TextLayout textLayout); #endif #ifndef Tk_FreeXId_TCL_DECLARED #define Tk_FreeXId_TCL_DECLARED /* 77 */ -EXTERN void Tk_FreeXId (Display * display, XID xid); +EXTERN void Tk_FreeXId(Display *display, XID xid); #endif #ifndef Tk_GCForColor_TCL_DECLARED #define Tk_GCForColor_TCL_DECLARED /* 78 */ -EXTERN GC Tk_GCForColor (XColor * colorPtr, Drawable drawable); +EXTERN GC Tk_GCForColor(XColor *colorPtr, Drawable drawable); #endif #ifndef Tk_GeometryRequest_TCL_DECLARED #define Tk_GeometryRequest_TCL_DECLARED /* 79 */ -EXTERN void Tk_GeometryRequest (Tk_Window tkwin, int reqWidth, +EXTERN void Tk_GeometryRequest(Tk_Window tkwin, int reqWidth, int reqHeight); #endif #ifndef Tk_Get3DBorder_TCL_DECLARED #define Tk_Get3DBorder_TCL_DECLARED /* 80 */ -EXTERN Tk_3DBorder Tk_Get3DBorder (Tcl_Interp * interp, Tk_Window tkwin, +EXTERN Tk_3DBorder Tk_Get3DBorder(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid colorName); #endif #ifndef Tk_GetAllBindings_TCL_DECLARED #define Tk_GetAllBindings_TCL_DECLARED /* 81 */ -EXTERN void Tk_GetAllBindings (Tcl_Interp * interp, - Tk_BindingTable bindingTable, +EXTERN void Tk_GetAllBindings(Tcl_Interp *interp, + Tk_BindingTable bindingTable, ClientData object); #endif #ifndef Tk_GetAnchor_TCL_DECLARED #define Tk_GetAnchor_TCL_DECLARED /* 82 */ -EXTERN int Tk_GetAnchor (Tcl_Interp * interp, CONST char * str, - Tk_Anchor * anchorPtr); +EXTERN int Tk_GetAnchor(Tcl_Interp *interp, CONST char *str, + Tk_Anchor *anchorPtr); #endif #ifndef Tk_GetAtomName_TCL_DECLARED #define Tk_GetAtomName_TCL_DECLARED /* 83 */ -EXTERN CONST84_RETURN char * Tk_GetAtomName (Tk_Window tkwin, Atom atom); +EXTERN CONST84_RETURN char * Tk_GetAtomName(Tk_Window tkwin, Atom atom); #endif #ifndef Tk_GetBinding_TCL_DECLARED #define Tk_GetBinding_TCL_DECLARED /* 84 */ -EXTERN CONST84_RETURN char * Tk_GetBinding (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventStr); +EXTERN CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp, + Tk_BindingTable bindingTable, + ClientData object, CONST char *eventStr); #endif #ifndef Tk_GetBitmap_TCL_DECLARED #define Tk_GetBitmap_TCL_DECLARED /* 85 */ -EXTERN Pixmap Tk_GetBitmap (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str); +EXTERN Pixmap Tk_GetBitmap(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str); #endif #ifndef Tk_GetBitmapFromData_TCL_DECLARED #define Tk_GetBitmapFromData_TCL_DECLARED /* 86 */ -EXTERN Pixmap Tk_GetBitmapFromData (Tcl_Interp * interp, - Tk_Window tkwin, CONST char * source, +EXTERN Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, + Tk_Window tkwin, CONST char *source, int width, int height); #endif #ifndef Tk_GetCapStyle_TCL_DECLARED #define Tk_GetCapStyle_TCL_DECLARED /* 87 */ -EXTERN int Tk_GetCapStyle (Tcl_Interp * interp, - CONST char * str, int * capPtr); +EXTERN int Tk_GetCapStyle(Tcl_Interp *interp, CONST char *str, + int *capPtr); #endif #ifndef Tk_GetColor_TCL_DECLARED #define Tk_GetColor_TCL_DECLARED /* 88 */ -EXTERN XColor * Tk_GetColor (Tcl_Interp * interp, Tk_Window tkwin, +EXTERN XColor * Tk_GetColor(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid name); #endif #ifndef Tk_GetColorByValue_TCL_DECLARED #define Tk_GetColorByValue_TCL_DECLARED /* 89 */ -EXTERN XColor * Tk_GetColorByValue (Tk_Window tkwin, - XColor * colorPtr); +EXTERN XColor * Tk_GetColorByValue(Tk_Window tkwin, XColor *colorPtr); #endif #ifndef Tk_GetColormap_TCL_DECLARED #define Tk_GetColormap_TCL_DECLARED /* 90 */ -EXTERN Colormap Tk_GetColormap (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str); +EXTERN Colormap Tk_GetColormap(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str); #endif #ifndef Tk_GetCursor_TCL_DECLARED #define Tk_GetCursor_TCL_DECLARED /* 91 */ -EXTERN Tk_Cursor Tk_GetCursor (Tcl_Interp * interp, Tk_Window tkwin, +EXTERN Tk_Cursor Tk_GetCursor(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid str); #endif #ifndef Tk_GetCursorFromData_TCL_DECLARED #define Tk_GetCursorFromData_TCL_DECLARED /* 92 */ -EXTERN Tk_Cursor Tk_GetCursorFromData (Tcl_Interp * interp, - Tk_Window tkwin, CONST char * source, - CONST char * mask, int width, int height, +EXTERN Tk_Cursor Tk_GetCursorFromData(Tcl_Interp *interp, + Tk_Window tkwin, CONST char *source, + CONST char *mask, int width, int height, int xHot, int yHot, Tk_Uid fg, Tk_Uid bg); #endif #ifndef Tk_GetFont_TCL_DECLARED #define Tk_GetFont_TCL_DECLARED /* 93 */ -EXTERN Tk_Font Tk_GetFont (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str); +EXTERN Tk_Font Tk_GetFont(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str); #endif #ifndef Tk_GetFontFromObj_TCL_DECLARED #define Tk_GetFontFromObj_TCL_DECLARED /* 94 */ -EXTERN Tk_Font Tk_GetFontFromObj (Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN Tk_Font Tk_GetFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_GetFontMetrics_TCL_DECLARED #define Tk_GetFontMetrics_TCL_DECLARED /* 95 */ -EXTERN void Tk_GetFontMetrics (Tk_Font font, - Tk_FontMetrics * fmPtr); +EXTERN void Tk_GetFontMetrics(Tk_Font font, + Tk_FontMetrics *fmPtr); #endif #ifndef Tk_GetGC_TCL_DECLARED #define Tk_GetGC_TCL_DECLARED /* 96 */ -EXTERN GC Tk_GetGC (Tk_Window tkwin, unsigned long valueMask, - XGCValues * valuePtr); +EXTERN GC Tk_GetGC(Tk_Window tkwin, unsigned long valueMask, + XGCValues *valuePtr); #endif #ifndef Tk_GetImage_TCL_DECLARED #define Tk_GetImage_TCL_DECLARED /* 97 */ -EXTERN Tk_Image Tk_GetImage (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * name, - Tk_ImageChangedProc * changeProc, +EXTERN Tk_Image Tk_GetImage(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *name, + Tk_ImageChangedProc *changeProc, ClientData clientData); #endif #ifndef Tk_GetImageMasterData_TCL_DECLARED #define Tk_GetImageMasterData_TCL_DECLARED /* 98 */ -EXTERN ClientData Tk_GetImageMasterData (Tcl_Interp * interp, - CONST char * name, - Tk_ImageType ** typePtrPtr); +EXTERN ClientData Tk_GetImageMasterData(Tcl_Interp *interp, + CONST char *name, Tk_ImageType **typePtrPtr); #endif #ifndef Tk_GetItemTypes_TCL_DECLARED #define Tk_GetItemTypes_TCL_DECLARED /* 99 */ -EXTERN Tk_ItemType * Tk_GetItemTypes (void); +EXTERN Tk_ItemType * Tk_GetItemTypes(void); #endif #ifndef Tk_GetJoinStyle_TCL_DECLARED #define Tk_GetJoinStyle_TCL_DECLARED /* 100 */ -EXTERN int Tk_GetJoinStyle (Tcl_Interp * interp, - CONST char * str, int * joinPtr); +EXTERN int Tk_GetJoinStyle(Tcl_Interp *interp, CONST char *str, + int *joinPtr); #endif #ifndef Tk_GetJustify_TCL_DECLARED #define Tk_GetJustify_TCL_DECLARED /* 101 */ -EXTERN int Tk_GetJustify (Tcl_Interp * interp, CONST char * str, - Tk_Justify * justifyPtr); +EXTERN int Tk_GetJustify(Tcl_Interp *interp, CONST char *str, + Tk_Justify *justifyPtr); #endif #ifndef Tk_GetNumMainWindows_TCL_DECLARED #define Tk_GetNumMainWindows_TCL_DECLARED /* 102 */ -EXTERN int Tk_GetNumMainWindows (void); +EXTERN int Tk_GetNumMainWindows(void); #endif #ifndef Tk_GetOption_TCL_DECLARED #define Tk_GetOption_TCL_DECLARED /* 103 */ -EXTERN Tk_Uid Tk_GetOption (Tk_Window tkwin, CONST char * name, - CONST char * className); +EXTERN Tk_Uid Tk_GetOption(Tk_Window tkwin, CONST char *name, + CONST char *className); #endif #ifndef Tk_GetPixels_TCL_DECLARED #define Tk_GetPixels_TCL_DECLARED /* 104 */ -EXTERN int Tk_GetPixels (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str, int * intPtr); +EXTERN int Tk_GetPixels(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str, int *intPtr); #endif #ifndef Tk_GetPixmap_TCL_DECLARED #define Tk_GetPixmap_TCL_DECLARED /* 105 */ -EXTERN Pixmap Tk_GetPixmap (Display * display, Drawable d, - int width, int height, int depth); +EXTERN Pixmap Tk_GetPixmap(Display *display, Drawable d, int width, + int height, int depth); #endif #ifndef Tk_GetRelief_TCL_DECLARED #define Tk_GetRelief_TCL_DECLARED /* 106 */ -EXTERN int Tk_GetRelief (Tcl_Interp * interp, CONST char * name, - int * reliefPtr); +EXTERN int Tk_GetRelief(Tcl_Interp *interp, CONST char *name, + int *reliefPtr); #endif #ifndef Tk_GetRootCoords_TCL_DECLARED #define Tk_GetRootCoords_TCL_DECLARED /* 107 */ -EXTERN void Tk_GetRootCoords (Tk_Window tkwin, int * xPtr, - int * yPtr); +EXTERN void Tk_GetRootCoords(Tk_Window tkwin, int *xPtr, + int *yPtr); #endif #ifndef Tk_GetScrollInfo_TCL_DECLARED #define Tk_GetScrollInfo_TCL_DECLARED /* 108 */ -EXTERN int Tk_GetScrollInfo (Tcl_Interp * interp, int argc, - CONST84 char ** argv, double * dblPtr, - int * intPtr); +EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc, + CONST84 char **argv, double *dblPtr, + int *intPtr); #endif #ifndef Tk_GetScreenMM_TCL_DECLARED #define Tk_GetScreenMM_TCL_DECLARED /* 109 */ -EXTERN int Tk_GetScreenMM (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str, double * doublePtr); +EXTERN int Tk_GetScreenMM(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str, double *doublePtr); #endif #ifndef Tk_GetSelection_TCL_DECLARED #define Tk_GetSelection_TCL_DECLARED /* 110 */ -EXTERN int Tk_GetSelection (Tcl_Interp * interp, - Tk_Window tkwin, Atom selection, Atom target, - Tk_GetSelProc * proc, ClientData clientData); +EXTERN int Tk_GetSelection(Tcl_Interp *interp, Tk_Window tkwin, + Atom selection, Atom target, + Tk_GetSelProc *proc, ClientData clientData); #endif #ifndef Tk_GetUid_TCL_DECLARED #define Tk_GetUid_TCL_DECLARED /* 111 */ -EXTERN Tk_Uid Tk_GetUid (CONST char * str); +EXTERN Tk_Uid Tk_GetUid(CONST char *str); #endif #ifndef Tk_GetVisual_TCL_DECLARED #define Tk_GetVisual_TCL_DECLARED /* 112 */ -EXTERN Visual * Tk_GetVisual (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * str, int * depthPtr, - Colormap * colormapPtr); +EXTERN Visual * Tk_GetVisual(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *str, int *depthPtr, + Colormap *colormapPtr); #endif #ifndef Tk_GetVRootGeometry_TCL_DECLARED #define Tk_GetVRootGeometry_TCL_DECLARED /* 113 */ -EXTERN void Tk_GetVRootGeometry (Tk_Window tkwin, int * xPtr, - int * yPtr, int * widthPtr, int * heightPtr); +EXTERN void Tk_GetVRootGeometry(Tk_Window tkwin, int *xPtr, + int *yPtr, int *widthPtr, int *heightPtr); #endif #ifndef Tk_Grab_TCL_DECLARED #define Tk_Grab_TCL_DECLARED /* 114 */ -EXTERN int Tk_Grab (Tcl_Interp * interp, Tk_Window tkwin, +EXTERN int Tk_Grab(Tcl_Interp *interp, Tk_Window tkwin, int grabGlobal); #endif #ifndef Tk_HandleEvent_TCL_DECLARED #define Tk_HandleEvent_TCL_DECLARED /* 115 */ -EXTERN void Tk_HandleEvent (XEvent * eventPtr); +EXTERN void Tk_HandleEvent(XEvent *eventPtr); #endif #ifndef Tk_IdToWindow_TCL_DECLARED #define Tk_IdToWindow_TCL_DECLARED /* 116 */ -EXTERN Tk_Window Tk_IdToWindow (Display * display, Window window); +EXTERN Tk_Window Tk_IdToWindow(Display *display, Window window); #endif #ifndef Tk_ImageChanged_TCL_DECLARED #define Tk_ImageChanged_TCL_DECLARED /* 117 */ -EXTERN void Tk_ImageChanged (Tk_ImageMaster master, int x, int y, - int width, int height, int imageWidth, +EXTERN void Tk_ImageChanged(Tk_ImageMaster master, int x, int y, + int width, int height, int imageWidth, int imageHeight); #endif #ifndef Tk_Init_TCL_DECLARED #define Tk_Init_TCL_DECLARED /* 118 */ -EXTERN int Tk_Init (Tcl_Interp * interp); +EXTERN int Tk_Init(Tcl_Interp *interp); #endif #ifndef Tk_InternAtom_TCL_DECLARED #define Tk_InternAtom_TCL_DECLARED /* 119 */ -EXTERN Atom Tk_InternAtom (Tk_Window tkwin, CONST char * name); +EXTERN Atom Tk_InternAtom(Tk_Window tkwin, CONST char *name); #endif #ifndef Tk_IntersectTextLayout_TCL_DECLARED #define Tk_IntersectTextLayout_TCL_DECLARED /* 120 */ -EXTERN int Tk_IntersectTextLayout (Tk_TextLayout layout, int x, +EXTERN int Tk_IntersectTextLayout(Tk_TextLayout layout, int x, int y, int width, int height); #endif #ifndef Tk_MaintainGeometry_TCL_DECLARED #define Tk_MaintainGeometry_TCL_DECLARED /* 121 */ -EXTERN void Tk_MaintainGeometry (Tk_Window slave, - Tk_Window master, int x, int y, int width, +EXTERN void Tk_MaintainGeometry(Tk_Window slave, + Tk_Window master, int x, int y, int width, int height); #endif #ifndef Tk_MainWindow_TCL_DECLARED #define Tk_MainWindow_TCL_DECLARED /* 122 */ -EXTERN Tk_Window Tk_MainWindow (Tcl_Interp * interp); +EXTERN Tk_Window Tk_MainWindow(Tcl_Interp *interp); #endif #ifndef Tk_MakeWindowExist_TCL_DECLARED #define Tk_MakeWindowExist_TCL_DECLARED /* 123 */ -EXTERN void Tk_MakeWindowExist (Tk_Window tkwin); +EXTERN void Tk_MakeWindowExist(Tk_Window tkwin); #endif #ifndef Tk_ManageGeometry_TCL_DECLARED #define Tk_ManageGeometry_TCL_DECLARED /* 124 */ -EXTERN void Tk_ManageGeometry (Tk_Window tkwin, - CONST Tk_GeomMgr * mgrPtr, +EXTERN void Tk_ManageGeometry(Tk_Window tkwin, + CONST Tk_GeomMgr *mgrPtr, ClientData clientData); #endif #ifndef Tk_MapWindow_TCL_DECLARED #define Tk_MapWindow_TCL_DECLARED /* 125 */ -EXTERN void Tk_MapWindow (Tk_Window tkwin); +EXTERN void Tk_MapWindow(Tk_Window tkwin); #endif #ifndef Tk_MeasureChars_TCL_DECLARED #define Tk_MeasureChars_TCL_DECLARED /* 126 */ -EXTERN int Tk_MeasureChars (Tk_Font tkfont, CONST char * source, - int numBytes, int maxPixels, int flags, - int * lengthPtr); +EXTERN int Tk_MeasureChars(Tk_Font tkfont, CONST char *source, + int numBytes, int maxPixels, int flags, + int *lengthPtr); #endif #ifndef Tk_MoveResizeWindow_TCL_DECLARED #define Tk_MoveResizeWindow_TCL_DECLARED /* 127 */ -EXTERN void Tk_MoveResizeWindow (Tk_Window tkwin, int x, int y, +EXTERN void Tk_MoveResizeWindow(Tk_Window tkwin, int x, int y, int width, int height); #endif #ifndef Tk_MoveWindow_TCL_DECLARED #define Tk_MoveWindow_TCL_DECLARED /* 128 */ -EXTERN void Tk_MoveWindow (Tk_Window tkwin, int x, int y); +EXTERN void Tk_MoveWindow(Tk_Window tkwin, int x, int y); #endif #ifndef Tk_MoveToplevelWindow_TCL_DECLARED #define Tk_MoveToplevelWindow_TCL_DECLARED /* 129 */ -EXTERN void Tk_MoveToplevelWindow (Tk_Window tkwin, int x, int y); +EXTERN void Tk_MoveToplevelWindow(Tk_Window tkwin, int x, int y); #endif #ifndef Tk_NameOf3DBorder_TCL_DECLARED #define Tk_NameOf3DBorder_TCL_DECLARED /* 130 */ -EXTERN CONST84_RETURN char * Tk_NameOf3DBorder (Tk_3DBorder border); +EXTERN CONST84_RETURN char * Tk_NameOf3DBorder(Tk_3DBorder border); #endif #ifndef Tk_NameOfAnchor_TCL_DECLARED #define Tk_NameOfAnchor_TCL_DECLARED /* 131 */ -EXTERN CONST84_RETURN char * Tk_NameOfAnchor (Tk_Anchor anchor); +EXTERN CONST84_RETURN char * Tk_NameOfAnchor(Tk_Anchor anchor); #endif #ifndef Tk_NameOfBitmap_TCL_DECLARED #define Tk_NameOfBitmap_TCL_DECLARED /* 132 */ -EXTERN CONST84_RETURN char * Tk_NameOfBitmap (Display * display, - Pixmap bitmap); +EXTERN CONST84_RETURN char * Tk_NameOfBitmap(Display *display, Pixmap bitmap); #endif #ifndef Tk_NameOfCapStyle_TCL_DECLARED #define Tk_NameOfCapStyle_TCL_DECLARED /* 133 */ -EXTERN CONST84_RETURN char * Tk_NameOfCapStyle (int cap); +EXTERN CONST84_RETURN char * Tk_NameOfCapStyle(int cap); #endif #ifndef Tk_NameOfColor_TCL_DECLARED #define Tk_NameOfColor_TCL_DECLARED /* 134 */ -EXTERN CONST84_RETURN char * Tk_NameOfColor (XColor * colorPtr); +EXTERN CONST84_RETURN char * Tk_NameOfColor(XColor *colorPtr); #endif #ifndef Tk_NameOfCursor_TCL_DECLARED #define Tk_NameOfCursor_TCL_DECLARED /* 135 */ -EXTERN CONST84_RETURN char * Tk_NameOfCursor (Display * display, +EXTERN CONST84_RETURN char * Tk_NameOfCursor(Display *display, Tk_Cursor cursor); #endif #ifndef Tk_NameOfFont_TCL_DECLARED #define Tk_NameOfFont_TCL_DECLARED /* 136 */ -EXTERN CONST84_RETURN char * Tk_NameOfFont (Tk_Font font); +EXTERN CONST84_RETURN char * Tk_NameOfFont(Tk_Font font); #endif #ifndef Tk_NameOfImage_TCL_DECLARED #define Tk_NameOfImage_TCL_DECLARED /* 137 */ -EXTERN CONST84_RETURN char * Tk_NameOfImage (Tk_ImageMaster imageMaster); +EXTERN CONST84_RETURN char * Tk_NameOfImage(Tk_ImageMaster imageMaster); #endif #ifndef Tk_NameOfJoinStyle_TCL_DECLARED #define Tk_NameOfJoinStyle_TCL_DECLARED /* 138 */ -EXTERN CONST84_RETURN char * Tk_NameOfJoinStyle (int join); +EXTERN CONST84_RETURN char * Tk_NameOfJoinStyle(int join); #endif #ifndef Tk_NameOfJustify_TCL_DECLARED #define Tk_NameOfJustify_TCL_DECLARED /* 139 */ -EXTERN CONST84_RETURN char * Tk_NameOfJustify (Tk_Justify justify); +EXTERN CONST84_RETURN char * Tk_NameOfJustify(Tk_Justify justify); #endif #ifndef Tk_NameOfRelief_TCL_DECLARED #define Tk_NameOfRelief_TCL_DECLARED /* 140 */ -EXTERN CONST84_RETURN char * Tk_NameOfRelief (int relief); +EXTERN CONST84_RETURN char * Tk_NameOfRelief(int relief); #endif #ifndef Tk_NameToWindow_TCL_DECLARED #define Tk_NameToWindow_TCL_DECLARED /* 141 */ -EXTERN Tk_Window Tk_NameToWindow (Tcl_Interp * interp, - CONST char * pathName, Tk_Window tkwin); +EXTERN Tk_Window Tk_NameToWindow(Tcl_Interp *interp, + CONST char *pathName, Tk_Window tkwin); #endif #ifndef Tk_OwnSelection_TCL_DECLARED #define Tk_OwnSelection_TCL_DECLARED /* 142 */ -EXTERN void Tk_OwnSelection (Tk_Window tkwin, Atom selection, - Tk_LostSelProc * proc, ClientData clientData); +EXTERN void Tk_OwnSelection(Tk_Window tkwin, Atom selection, + Tk_LostSelProc *proc, ClientData clientData); #endif #ifndef Tk_ParseArgv_TCL_DECLARED #define Tk_ParseArgv_TCL_DECLARED /* 143 */ -EXTERN int Tk_ParseArgv (Tcl_Interp * interp, Tk_Window tkwin, - int * argcPtr, CONST84 char ** argv, - Tk_ArgvInfo * argTable, int flags); +EXTERN int Tk_ParseArgv(Tcl_Interp *interp, Tk_Window tkwin, + int *argcPtr, CONST84 char **argv, + Tk_ArgvInfo *argTable, int flags); #endif #ifndef Tk_PhotoPutBlock_NoComposite_TCL_DECLARED #define Tk_PhotoPutBlock_NoComposite_TCL_DECLARED /* 144 */ -EXTERN void Tk_PhotoPutBlock_NoComposite (Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, +EXTERN void Tk_PhotoPutBlock_NoComposite(Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height); #endif #ifndef Tk_PhotoPutZoomedBlock_NoComposite_TCL_DECLARED #define Tk_PhotoPutZoomedBlock_NoComposite_TCL_DECLARED /* 145 */ -EXTERN void Tk_PhotoPutZoomedBlock_NoComposite ( - Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, - int width, int height, int zoomX, int zoomY, +EXTERN void Tk_PhotoPutZoomedBlock_NoComposite( + Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, + int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY); #endif #ifndef Tk_PhotoGetImage_TCL_DECLARED #define Tk_PhotoGetImage_TCL_DECLARED /* 146 */ -EXTERN int Tk_PhotoGetImage (Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr); +EXTERN int Tk_PhotoGetImage(Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr); #endif #ifndef Tk_PhotoBlank_TCL_DECLARED #define Tk_PhotoBlank_TCL_DECLARED /* 147 */ -EXTERN void Tk_PhotoBlank (Tk_PhotoHandle handle); +EXTERN void Tk_PhotoBlank(Tk_PhotoHandle handle); #endif #ifndef Tk_PhotoExpand_Panic_TCL_DECLARED #define Tk_PhotoExpand_Panic_TCL_DECLARED /* 148 */ -EXTERN void Tk_PhotoExpand_Panic (Tk_PhotoHandle handle, +EXTERN void Tk_PhotoExpand_Panic(Tk_PhotoHandle handle, int width, int height); #endif #ifndef Tk_PhotoGetSize_TCL_DECLARED #define Tk_PhotoGetSize_TCL_DECLARED /* 149 */ -EXTERN void Tk_PhotoGetSize (Tk_PhotoHandle handle, - int * widthPtr, int * heightPtr); +EXTERN void Tk_PhotoGetSize(Tk_PhotoHandle handle, int *widthPtr, + int *heightPtr); #endif #ifndef Tk_PhotoSetSize_Panic_TCL_DECLARED #define Tk_PhotoSetSize_Panic_TCL_DECLARED /* 150 */ -EXTERN void Tk_PhotoSetSize_Panic (Tk_PhotoHandle handle, +EXTERN void Tk_PhotoSetSize_Panic(Tk_PhotoHandle handle, int width, int height); #endif #ifndef Tk_PointToChar_TCL_DECLARED #define Tk_PointToChar_TCL_DECLARED /* 151 */ -EXTERN int Tk_PointToChar (Tk_TextLayout layout, int x, int y); +EXTERN int Tk_PointToChar(Tk_TextLayout layout, int x, int y); #endif #ifndef Tk_PostscriptFontName_TCL_DECLARED #define Tk_PostscriptFontName_TCL_DECLARED /* 152 */ -EXTERN int Tk_PostscriptFontName (Tk_Font tkfont, - Tcl_DString * dsPtr); +EXTERN int Tk_PostscriptFontName(Tk_Font tkfont, + Tcl_DString *dsPtr); #endif #ifndef Tk_PreserveColormap_TCL_DECLARED #define Tk_PreserveColormap_TCL_DECLARED /* 153 */ -EXTERN void Tk_PreserveColormap (Display * display, +EXTERN void Tk_PreserveColormap(Display *display, Colormap colormap); #endif #ifndef Tk_QueueWindowEvent_TCL_DECLARED #define Tk_QueueWindowEvent_TCL_DECLARED /* 154 */ -EXTERN void Tk_QueueWindowEvent (XEvent * eventPtr, +EXTERN void Tk_QueueWindowEvent(XEvent *eventPtr, Tcl_QueuePosition position); #endif #ifndef Tk_RedrawImage_TCL_DECLARED #define Tk_RedrawImage_TCL_DECLARED /* 155 */ -EXTERN void Tk_RedrawImage (Tk_Image image, int imageX, - int imageY, int width, int height, - Drawable drawable, int drawableX, +EXTERN void Tk_RedrawImage(Tk_Image image, int imageX, + int imageY, int width, int height, + Drawable drawable, int drawableX, int drawableY); #endif #ifndef Tk_ResizeWindow_TCL_DECLARED #define Tk_ResizeWindow_TCL_DECLARED /* 156 */ -EXTERN void Tk_ResizeWindow (Tk_Window tkwin, int width, +EXTERN void Tk_ResizeWindow(Tk_Window tkwin, int width, int height); #endif #ifndef Tk_RestackWindow_TCL_DECLARED #define Tk_RestackWindow_TCL_DECLARED /* 157 */ -EXTERN int Tk_RestackWindow (Tk_Window tkwin, int aboveBelow, +EXTERN int Tk_RestackWindow(Tk_Window tkwin, int aboveBelow, Tk_Window other); #endif #ifndef Tk_RestrictEvents_TCL_DECLARED #define Tk_RestrictEvents_TCL_DECLARED /* 158 */ -EXTERN Tk_RestrictProc * Tk_RestrictEvents (Tk_RestrictProc * proc, - ClientData arg, ClientData * prevArgPtr); +EXTERN Tk_RestrictProc * Tk_RestrictEvents(Tk_RestrictProc *proc, + ClientData arg, ClientData *prevArgPtr); #endif #ifndef Tk_SafeInit_TCL_DECLARED #define Tk_SafeInit_TCL_DECLARED /* 159 */ -EXTERN int Tk_SafeInit (Tcl_Interp * interp); +EXTERN int Tk_SafeInit(Tcl_Interp *interp); #endif #ifndef Tk_SetAppName_TCL_DECLARED #define Tk_SetAppName_TCL_DECLARED /* 160 */ -EXTERN CONST char * Tk_SetAppName (Tk_Window tkwin, CONST char * name); +EXTERN CONST char * Tk_SetAppName(Tk_Window tkwin, CONST char *name); #endif #ifndef Tk_SetBackgroundFromBorder_TCL_DECLARED #define Tk_SetBackgroundFromBorder_TCL_DECLARED /* 161 */ -EXTERN void Tk_SetBackgroundFromBorder (Tk_Window tkwin, +EXTERN void Tk_SetBackgroundFromBorder(Tk_Window tkwin, Tk_3DBorder border); #endif #ifndef Tk_SetClass_TCL_DECLARED #define Tk_SetClass_TCL_DECLARED /* 162 */ -EXTERN void Tk_SetClass (Tk_Window tkwin, CONST char * className); +EXTERN void Tk_SetClass(Tk_Window tkwin, CONST char *className); #endif #ifndef Tk_SetGrid_TCL_DECLARED #define Tk_SetGrid_TCL_DECLARED /* 163 */ -EXTERN void Tk_SetGrid (Tk_Window tkwin, int reqWidth, +EXTERN void Tk_SetGrid(Tk_Window tkwin, int reqWidth, int reqHeight, int gridWidth, int gridHeight); #endif #ifndef Tk_SetInternalBorder_TCL_DECLARED #define Tk_SetInternalBorder_TCL_DECLARED /* 164 */ -EXTERN void Tk_SetInternalBorder (Tk_Window tkwin, int width); +EXTERN void Tk_SetInternalBorder(Tk_Window tkwin, int width); #endif #ifndef Tk_SetWindowBackground_TCL_DECLARED #define Tk_SetWindowBackground_TCL_DECLARED /* 165 */ -EXTERN void Tk_SetWindowBackground (Tk_Window tkwin, +EXTERN void Tk_SetWindowBackground(Tk_Window tkwin, unsigned long pixel); #endif #ifndef Tk_SetWindowBackgroundPixmap_TCL_DECLARED #define Tk_SetWindowBackgroundPixmap_TCL_DECLARED /* 166 */ -EXTERN void Tk_SetWindowBackgroundPixmap (Tk_Window tkwin, +EXTERN void Tk_SetWindowBackgroundPixmap(Tk_Window tkwin, Pixmap pixmap); #endif #ifndef Tk_SetWindowBorder_TCL_DECLARED #define Tk_SetWindowBorder_TCL_DECLARED /* 167 */ -EXTERN void Tk_SetWindowBorder (Tk_Window tkwin, +EXTERN void Tk_SetWindowBorder(Tk_Window tkwin, unsigned long pixel); #endif #ifndef Tk_SetWindowBorderWidth_TCL_DECLARED #define Tk_SetWindowBorderWidth_TCL_DECLARED /* 168 */ -EXTERN void Tk_SetWindowBorderWidth (Tk_Window tkwin, int width); +EXTERN void Tk_SetWindowBorderWidth(Tk_Window tkwin, int width); #endif #ifndef Tk_SetWindowBorderPixmap_TCL_DECLARED #define Tk_SetWindowBorderPixmap_TCL_DECLARED /* 169 */ -EXTERN void Tk_SetWindowBorderPixmap (Tk_Window tkwin, +EXTERN void Tk_SetWindowBorderPixmap(Tk_Window tkwin, Pixmap pixmap); #endif #ifndef Tk_SetWindowColormap_TCL_DECLARED #define Tk_SetWindowColormap_TCL_DECLARED /* 170 */ -EXTERN void Tk_SetWindowColormap (Tk_Window tkwin, +EXTERN void Tk_SetWindowColormap(Tk_Window tkwin, Colormap colormap); #endif #ifndef Tk_SetWindowVisual_TCL_DECLARED #define Tk_SetWindowVisual_TCL_DECLARED /* 171 */ -EXTERN int Tk_SetWindowVisual (Tk_Window tkwin, Visual * visual, +EXTERN int Tk_SetWindowVisual(Tk_Window tkwin, Visual *visual, int depth, Colormap colormap); #endif #ifndef Tk_SizeOfBitmap_TCL_DECLARED #define Tk_SizeOfBitmap_TCL_DECLARED /* 172 */ -EXTERN void Tk_SizeOfBitmap (Display * display, Pixmap bitmap, - int * widthPtr, int * heightPtr); +EXTERN void Tk_SizeOfBitmap(Display *display, Pixmap bitmap, + int *widthPtr, int *heightPtr); #endif #ifndef Tk_SizeOfImage_TCL_DECLARED #define Tk_SizeOfImage_TCL_DECLARED /* 173 */ -EXTERN void Tk_SizeOfImage (Tk_Image image, int * widthPtr, - int * heightPtr); +EXTERN void Tk_SizeOfImage(Tk_Image image, int *widthPtr, + int *heightPtr); #endif #ifndef Tk_StrictMotif_TCL_DECLARED #define Tk_StrictMotif_TCL_DECLARED /* 174 */ -EXTERN int Tk_StrictMotif (Tk_Window tkwin); +EXTERN int Tk_StrictMotif(Tk_Window tkwin); #endif #ifndef Tk_TextLayoutToPostscript_TCL_DECLARED #define Tk_TextLayoutToPostscript_TCL_DECLARED /* 175 */ -EXTERN void Tk_TextLayoutToPostscript (Tcl_Interp * interp, +EXTERN void Tk_TextLayoutToPostscript(Tcl_Interp *interp, Tk_TextLayout layout); #endif #ifndef Tk_TextWidth_TCL_DECLARED #define Tk_TextWidth_TCL_DECLARED /* 176 */ -EXTERN int Tk_TextWidth (Tk_Font font, CONST char * str, +EXTERN int Tk_TextWidth(Tk_Font font, CONST char *str, int numBytes); #endif #ifndef Tk_UndefineCursor_TCL_DECLARED #define Tk_UndefineCursor_TCL_DECLARED /* 177 */ -EXTERN void Tk_UndefineCursor (Tk_Window window); +EXTERN void Tk_UndefineCursor(Tk_Window window); #endif #ifndef Tk_UnderlineChars_TCL_DECLARED #define Tk_UnderlineChars_TCL_DECLARED /* 178 */ -EXTERN void Tk_UnderlineChars (Display * display, - Drawable drawable, GC gc, Tk_Font tkfont, - CONST char * source, int x, int y, +EXTERN void Tk_UnderlineChars(Display *display, + Drawable drawable, GC gc, Tk_Font tkfont, + CONST char *source, int x, int y, int firstByte, int lastByte); #endif #ifndef Tk_UnderlineTextLayout_TCL_DECLARED #define Tk_UnderlineTextLayout_TCL_DECLARED /* 179 */ -EXTERN void Tk_UnderlineTextLayout (Display * display, - Drawable drawable, GC gc, - Tk_TextLayout layout, int x, int y, +EXTERN void Tk_UnderlineTextLayout(Display *display, + Drawable drawable, GC gc, + Tk_TextLayout layout, int x, int y, int underline); #endif #ifndef Tk_Ungrab_TCL_DECLARED #define Tk_Ungrab_TCL_DECLARED /* 180 */ -EXTERN void Tk_Ungrab (Tk_Window tkwin); +EXTERN void Tk_Ungrab(Tk_Window tkwin); #endif #ifndef Tk_UnmaintainGeometry_TCL_DECLARED #define Tk_UnmaintainGeometry_TCL_DECLARED /* 181 */ -EXTERN void Tk_UnmaintainGeometry (Tk_Window slave, +EXTERN void Tk_UnmaintainGeometry(Tk_Window slave, Tk_Window master); #endif #ifndef Tk_UnmapWindow_TCL_DECLARED #define Tk_UnmapWindow_TCL_DECLARED /* 182 */ -EXTERN void Tk_UnmapWindow (Tk_Window tkwin); +EXTERN void Tk_UnmapWindow(Tk_Window tkwin); #endif #ifndef Tk_UnsetGrid_TCL_DECLARED #define Tk_UnsetGrid_TCL_DECLARED /* 183 */ -EXTERN void Tk_UnsetGrid (Tk_Window tkwin); +EXTERN void Tk_UnsetGrid(Tk_Window tkwin); #endif #ifndef Tk_UpdatePointer_TCL_DECLARED #define Tk_UpdatePointer_TCL_DECLARED /* 184 */ -EXTERN void Tk_UpdatePointer (Tk_Window tkwin, int x, int y, +EXTERN void Tk_UpdatePointer(Tk_Window tkwin, int x, int y, int state); #endif #ifndef Tk_AllocBitmapFromObj_TCL_DECLARED #define Tk_AllocBitmapFromObj_TCL_DECLARED /* 185 */ -EXTERN Pixmap Tk_AllocBitmapFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN Pixmap Tk_AllocBitmapFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_Alloc3DBorderFromObj_TCL_DECLARED #define Tk_Alloc3DBorderFromObj_TCL_DECLARED /* 186 */ -EXTERN Tk_3DBorder Tk_Alloc3DBorderFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN Tk_3DBorder Tk_Alloc3DBorderFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_AllocColorFromObj_TCL_DECLARED #define Tk_AllocColorFromObj_TCL_DECLARED /* 187 */ -EXTERN XColor * Tk_AllocColorFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN XColor * Tk_AllocColorFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_AllocCursorFromObj_TCL_DECLARED #define Tk_AllocCursorFromObj_TCL_DECLARED /* 188 */ -EXTERN Tk_Cursor Tk_AllocCursorFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN Tk_Cursor Tk_AllocCursorFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_AllocFontFromObj_TCL_DECLARED #define Tk_AllocFontFromObj_TCL_DECLARED /* 189 */ -EXTERN Tk_Font Tk_AllocFontFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr); +EXTERN Tk_Font Tk_AllocFontFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_CreateOptionTable_TCL_DECLARED #define Tk_CreateOptionTable_TCL_DECLARED /* 190 */ -EXTERN Tk_OptionTable Tk_CreateOptionTable (Tcl_Interp * interp, - CONST Tk_OptionSpec * templatePtr); +EXTERN Tk_OptionTable Tk_CreateOptionTable(Tcl_Interp *interp, + CONST Tk_OptionSpec *templatePtr); #endif #ifndef Tk_DeleteOptionTable_TCL_DECLARED #define Tk_DeleteOptionTable_TCL_DECLARED /* 191 */ -EXTERN void Tk_DeleteOptionTable (Tk_OptionTable optionTable); +EXTERN void Tk_DeleteOptionTable(Tk_OptionTable optionTable); #endif #ifndef Tk_Free3DBorderFromObj_TCL_DECLARED #define Tk_Free3DBorderFromObj_TCL_DECLARED /* 192 */ -EXTERN void Tk_Free3DBorderFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN void Tk_Free3DBorderFromObj(Tk_Window tkwin, + Tcl_Obj *objPtr); #endif #ifndef Tk_FreeBitmapFromObj_TCL_DECLARED #define Tk_FreeBitmapFromObj_TCL_DECLARED /* 193 */ -EXTERN void Tk_FreeBitmapFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN void Tk_FreeBitmapFromObj(Tk_Window tkwin, + Tcl_Obj *objPtr); #endif #ifndef Tk_FreeColorFromObj_TCL_DECLARED #define Tk_FreeColorFromObj_TCL_DECLARED /* 194 */ -EXTERN void Tk_FreeColorFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN void Tk_FreeColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_FreeConfigOptions_TCL_DECLARED #define Tk_FreeConfigOptions_TCL_DECLARED /* 195 */ -EXTERN void Tk_FreeConfigOptions (char * recordPtr, +EXTERN void Tk_FreeConfigOptions(char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); #endif #ifndef Tk_FreeSavedOptions_TCL_DECLARED #define Tk_FreeSavedOptions_TCL_DECLARED /* 196 */ -EXTERN void Tk_FreeSavedOptions (Tk_SavedOptions * savePtr); +EXTERN void Tk_FreeSavedOptions(Tk_SavedOptions *savePtr); #endif #ifndef Tk_FreeCursorFromObj_TCL_DECLARED #define Tk_FreeCursorFromObj_TCL_DECLARED /* 197 */ -EXTERN void Tk_FreeCursorFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN void Tk_FreeCursorFromObj(Tk_Window tkwin, + Tcl_Obj *objPtr); #endif #ifndef Tk_FreeFontFromObj_TCL_DECLARED #define Tk_FreeFontFromObj_TCL_DECLARED /* 198 */ -EXTERN void Tk_FreeFontFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN void Tk_FreeFontFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_Get3DBorderFromObj_TCL_DECLARED #define Tk_Get3DBorderFromObj_TCL_DECLARED /* 199 */ -EXTERN Tk_3DBorder Tk_Get3DBorderFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN Tk_3DBorder Tk_Get3DBorderFromObj(Tk_Window tkwin, + Tcl_Obj *objPtr); #endif #ifndef Tk_GetAnchorFromObj_TCL_DECLARED #define Tk_GetAnchorFromObj_TCL_DECLARED /* 200 */ -EXTERN int Tk_GetAnchorFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Tk_Anchor * anchorPtr); +EXTERN int Tk_GetAnchorFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, Tk_Anchor *anchorPtr); #endif #ifndef Tk_GetBitmapFromObj_TCL_DECLARED #define Tk_GetBitmapFromObj_TCL_DECLARED /* 201 */ -EXTERN Pixmap Tk_GetBitmapFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN Pixmap Tk_GetBitmapFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_GetColorFromObj_TCL_DECLARED #define Tk_GetColorFromObj_TCL_DECLARED /* 202 */ -EXTERN XColor * Tk_GetColorFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN XColor * Tk_GetColorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_GetCursorFromObj_TCL_DECLARED #define Tk_GetCursorFromObj_TCL_DECLARED /* 203 */ -EXTERN Tk_Cursor Tk_GetCursorFromObj (Tk_Window tkwin, - Tcl_Obj * objPtr); +EXTERN Tk_Cursor Tk_GetCursorFromObj(Tk_Window tkwin, Tcl_Obj *objPtr); #endif #ifndef Tk_GetOptionInfo_TCL_DECLARED #define Tk_GetOptionInfo_TCL_DECLARED /* 204 */ -EXTERN Tcl_Obj * Tk_GetOptionInfo (Tcl_Interp * interp, - char * recordPtr, Tk_OptionTable optionTable, - Tcl_Obj * namePtr, Tk_Window tkwin); +EXTERN Tcl_Obj * Tk_GetOptionInfo(Tcl_Interp *interp, char *recordPtr, + Tk_OptionTable optionTable, Tcl_Obj *namePtr, + Tk_Window tkwin); #endif #ifndef Tk_GetOptionValue_TCL_DECLARED #define Tk_GetOptionValue_TCL_DECLARED /* 205 */ -EXTERN Tcl_Obj * Tk_GetOptionValue (Tcl_Interp * interp, - char * recordPtr, Tk_OptionTable optionTable, - Tcl_Obj * namePtr, Tk_Window tkwin); +EXTERN Tcl_Obj * Tk_GetOptionValue(Tcl_Interp *interp, + char *recordPtr, Tk_OptionTable optionTable, + Tcl_Obj *namePtr, Tk_Window tkwin); #endif #ifndef Tk_GetJustifyFromObj_TCL_DECLARED #define Tk_GetJustifyFromObj_TCL_DECLARED /* 206 */ -EXTERN int Tk_GetJustifyFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Tk_Justify * justifyPtr); +EXTERN int Tk_GetJustifyFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, Tk_Justify *justifyPtr); #endif #ifndef Tk_GetMMFromObj_TCL_DECLARED #define Tk_GetMMFromObj_TCL_DECLARED /* 207 */ -EXTERN int Tk_GetMMFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - double * doublePtr); +EXTERN int Tk_GetMMFromObj(Tcl_Interp *interp, Tk_Window tkwin, + Tcl_Obj *objPtr, double *doublePtr); #endif #ifndef Tk_GetPixelsFromObj_TCL_DECLARED #define Tk_GetPixelsFromObj_TCL_DECLARED /* 208 */ -EXTERN int Tk_GetPixelsFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - int * intPtr); +EXTERN int Tk_GetPixelsFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr, + int *intPtr); #endif #ifndef Tk_GetReliefFromObj_TCL_DECLARED #define Tk_GetReliefFromObj_TCL_DECLARED /* 209 */ -EXTERN int Tk_GetReliefFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, int * resultPtr); +EXTERN int Tk_GetReliefFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, int *resultPtr); #endif #ifndef Tk_GetScrollInfoObj_TCL_DECLARED #define Tk_GetScrollInfoObj_TCL_DECLARED /* 210 */ -EXTERN int Tk_GetScrollInfoObj (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], double * dblPtr, - int * intPtr); +EXTERN int Tk_GetScrollInfoObj(Tcl_Interp *interp, int objc, + Tcl_Obj *CONST objv[], double *dblPtr, + int *intPtr); #endif #ifndef Tk_InitOptions_TCL_DECLARED #define Tk_InitOptions_TCL_DECLARED /* 211 */ -EXTERN int Tk_InitOptions (Tcl_Interp * interp, - char * recordPtr, Tk_OptionTable optionToken, - Tk_Window tkwin); +EXTERN int Tk_InitOptions(Tcl_Interp *interp, char *recordPtr, + Tk_OptionTable optionToken, Tk_Window tkwin); #endif #ifndef Tk_MainEx_TCL_DECLARED #define Tk_MainEx_TCL_DECLARED /* 212 */ -EXTERN void Tk_MainEx (int argc, char ** argv, - Tcl_AppInitProc * appInitProc, - Tcl_Interp * interp); +EXTERN void Tk_MainEx(int argc, char **argv, + Tcl_AppInitProc *appInitProc, + Tcl_Interp *interp); #endif #ifndef Tk_RestoreSavedOptions_TCL_DECLARED #define Tk_RestoreSavedOptions_TCL_DECLARED /* 213 */ -EXTERN void Tk_RestoreSavedOptions (Tk_SavedOptions * savePtr); +EXTERN void Tk_RestoreSavedOptions(Tk_SavedOptions *savePtr); #endif #ifndef Tk_SetOptions_TCL_DECLARED #define Tk_SetOptions_TCL_DECLARED /* 214 */ -EXTERN int Tk_SetOptions (Tcl_Interp * interp, char * recordPtr, - Tk_OptionTable optionTable, int objc, - Tcl_Obj *CONST objv[], Tk_Window tkwin, - Tk_SavedOptions * savePtr, int * maskPtr); +EXTERN int Tk_SetOptions(Tcl_Interp *interp, char *recordPtr, + Tk_OptionTable optionTable, int objc, + Tcl_Obj *CONST objv[], Tk_Window tkwin, + Tk_SavedOptions *savePtr, int *maskPtr); #endif #ifndef Tk_InitConsoleChannels_TCL_DECLARED #define Tk_InitConsoleChannels_TCL_DECLARED /* 215 */ -EXTERN void Tk_InitConsoleChannels (Tcl_Interp * interp); +EXTERN void Tk_InitConsoleChannels(Tcl_Interp *interp); #endif #ifndef Tk_CreateConsoleWindow_TCL_DECLARED #define Tk_CreateConsoleWindow_TCL_DECLARED /* 216 */ -EXTERN int Tk_CreateConsoleWindow (Tcl_Interp * interp); +EXTERN int Tk_CreateConsoleWindow(Tcl_Interp *interp); #endif #ifndef Tk_CreateSmoothMethod_TCL_DECLARED #define Tk_CreateSmoothMethod_TCL_DECLARED /* 217 */ -EXTERN void Tk_CreateSmoothMethod (Tcl_Interp * interp, - Tk_SmoothMethod * method); +EXTERN void Tk_CreateSmoothMethod(Tcl_Interp *interp, + Tk_SmoothMethod *method); #endif /* Slot 218 is reserved */ /* Slot 219 is reserved */ #ifndef Tk_GetDash_TCL_DECLARED #define Tk_GetDash_TCL_DECLARED /* 220 */ -EXTERN int Tk_GetDash (Tcl_Interp * interp, CONST char * value, - Tk_Dash * dash); +EXTERN int Tk_GetDash(Tcl_Interp *interp, CONST char *value, + Tk_Dash *dash); #endif #ifndef Tk_CreateOutline_TCL_DECLARED #define Tk_CreateOutline_TCL_DECLARED /* 221 */ -EXTERN void Tk_CreateOutline (Tk_Outline * outline); +EXTERN void Tk_CreateOutline(Tk_Outline *outline); #endif #ifndef Tk_DeleteOutline_TCL_DECLARED #define Tk_DeleteOutline_TCL_DECLARED /* 222 */ -EXTERN void Tk_DeleteOutline (Display * display, - Tk_Outline * outline); +EXTERN void Tk_DeleteOutline(Display *display, + Tk_Outline *outline); #endif #ifndef Tk_ConfigOutlineGC_TCL_DECLARED #define Tk_ConfigOutlineGC_TCL_DECLARED /* 223 */ -EXTERN int Tk_ConfigOutlineGC (XGCValues * gcValues, - Tk_Canvas canvas, Tk_Item * item, - Tk_Outline * outline); +EXTERN int Tk_ConfigOutlineGC(XGCValues *gcValues, + Tk_Canvas canvas, Tk_Item *item, + Tk_Outline *outline); #endif #ifndef Tk_ChangeOutlineGC_TCL_DECLARED #define Tk_ChangeOutlineGC_TCL_DECLARED /* 224 */ -EXTERN int Tk_ChangeOutlineGC (Tk_Canvas canvas, Tk_Item * item, - Tk_Outline * outline); +EXTERN int Tk_ChangeOutlineGC(Tk_Canvas canvas, Tk_Item *item, + Tk_Outline *outline); #endif #ifndef Tk_ResetOutlineGC_TCL_DECLARED #define Tk_ResetOutlineGC_TCL_DECLARED /* 225 */ -EXTERN int Tk_ResetOutlineGC (Tk_Canvas canvas, Tk_Item * item, - Tk_Outline * outline); +EXTERN int Tk_ResetOutlineGC(Tk_Canvas canvas, Tk_Item *item, + Tk_Outline *outline); #endif #ifndef Tk_CanvasPsOutline_TCL_DECLARED #define Tk_CanvasPsOutline_TCL_DECLARED /* 226 */ -EXTERN int Tk_CanvasPsOutline (Tk_Canvas canvas, Tk_Item * item, - Tk_Outline * outline); +EXTERN int Tk_CanvasPsOutline(Tk_Canvas canvas, Tk_Item *item, + Tk_Outline *outline); #endif #ifndef Tk_SetTSOrigin_TCL_DECLARED #define Tk_SetTSOrigin_TCL_DECLARED /* 227 */ -EXTERN void Tk_SetTSOrigin (Tk_Window tkwin, GC gc, int x, int y); +EXTERN void Tk_SetTSOrigin(Tk_Window tkwin, GC gc, int x, int y); #endif #ifndef Tk_CanvasGetCoordFromObj_TCL_DECLARED #define Tk_CanvasGetCoordFromObj_TCL_DECLARED /* 228 */ -EXTERN int Tk_CanvasGetCoordFromObj (Tcl_Interp * interp, - Tk_Canvas canvas, Tcl_Obj * obj, - double * doublePtr); +EXTERN int Tk_CanvasGetCoordFromObj(Tcl_Interp *interp, + Tk_Canvas canvas, Tcl_Obj *obj, + double *doublePtr); #endif #ifndef Tk_CanvasSetOffset_TCL_DECLARED #define Tk_CanvasSetOffset_TCL_DECLARED /* 229 */ -EXTERN void Tk_CanvasSetOffset (Tk_Canvas canvas, GC gc, - Tk_TSOffset * offset); +EXTERN void Tk_CanvasSetOffset(Tk_Canvas canvas, GC gc, + Tk_TSOffset *offset); #endif #ifndef Tk_DitherPhoto_TCL_DECLARED #define Tk_DitherPhoto_TCL_DECLARED /* 230 */ -EXTERN void Tk_DitherPhoto (Tk_PhotoHandle handle, int x, int y, +EXTERN void Tk_DitherPhoto(Tk_PhotoHandle handle, int x, int y, int width, int height); #endif #ifndef Tk_PostscriptBitmap_TCL_DECLARED #define Tk_PostscriptBitmap_TCL_DECLARED /* 231 */ -EXTERN int Tk_PostscriptBitmap (Tcl_Interp * interp, - Tk_Window tkwin, Tk_PostscriptInfo psInfo, - Pixmap bitmap, int startX, int startY, +EXTERN int Tk_PostscriptBitmap(Tcl_Interp *interp, + Tk_Window tkwin, Tk_PostscriptInfo psInfo, + Pixmap bitmap, int startX, int startY, int width, int height); #endif #ifndef Tk_PostscriptColor_TCL_DECLARED #define Tk_PostscriptColor_TCL_DECLARED /* 232 */ -EXTERN int Tk_PostscriptColor (Tcl_Interp * interp, - Tk_PostscriptInfo psInfo, XColor * colorPtr); +EXTERN int Tk_PostscriptColor(Tcl_Interp *interp, + Tk_PostscriptInfo psInfo, XColor *colorPtr); #endif #ifndef Tk_PostscriptFont_TCL_DECLARED #define Tk_PostscriptFont_TCL_DECLARED /* 233 */ -EXTERN int Tk_PostscriptFont (Tcl_Interp * interp, +EXTERN int Tk_PostscriptFont(Tcl_Interp *interp, Tk_PostscriptInfo psInfo, Tk_Font font); #endif #ifndef Tk_PostscriptImage_TCL_DECLARED #define Tk_PostscriptImage_TCL_DECLARED /* 234 */ -EXTERN int Tk_PostscriptImage (Tk_Image image, - Tcl_Interp * interp, Tk_Window tkwin, - Tk_PostscriptInfo psinfo, int x, int y, +EXTERN int Tk_PostscriptImage(Tk_Image image, + Tcl_Interp *interp, Tk_Window tkwin, + Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); #endif #ifndef Tk_PostscriptPath_TCL_DECLARED #define Tk_PostscriptPath_TCL_DECLARED /* 235 */ -EXTERN void Tk_PostscriptPath (Tcl_Interp * interp, - Tk_PostscriptInfo psInfo, double * coordPtr, +EXTERN void Tk_PostscriptPath(Tcl_Interp *interp, + Tk_PostscriptInfo psInfo, double *coordPtr, int numPoints); #endif #ifndef Tk_PostscriptStipple_TCL_DECLARED #define Tk_PostscriptStipple_TCL_DECLARED /* 236 */ -EXTERN int Tk_PostscriptStipple (Tcl_Interp * interp, - Tk_Window tkwin, Tk_PostscriptInfo psInfo, +EXTERN int Tk_PostscriptStipple(Tcl_Interp *interp, + Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap); #endif #ifndef Tk_PostscriptY_TCL_DECLARED #define Tk_PostscriptY_TCL_DECLARED /* 237 */ -EXTERN double Tk_PostscriptY (double y, Tk_PostscriptInfo psInfo); +EXTERN double Tk_PostscriptY(double y, Tk_PostscriptInfo psInfo); #endif #ifndef Tk_PostscriptPhoto_TCL_DECLARED #define Tk_PostscriptPhoto_TCL_DECLARED /* 238 */ -EXTERN int Tk_PostscriptPhoto (Tcl_Interp * interp, - Tk_PhotoImageBlock * blockPtr, - Tk_PostscriptInfo psInfo, int width, +EXTERN int Tk_PostscriptPhoto(Tcl_Interp *interp, + Tk_PhotoImageBlock *blockPtr, + Tk_PostscriptInfo psInfo, int width, int height); #endif #ifndef Tk_CreateClientMessageHandler_TCL_DECLARED #define Tk_CreateClientMessageHandler_TCL_DECLARED /* 239 */ -EXTERN void Tk_CreateClientMessageHandler ( - Tk_ClientMessageProc * proc); +EXTERN void Tk_CreateClientMessageHandler( + Tk_ClientMessageProc *proc); #endif #ifndef Tk_DeleteClientMessageHandler_TCL_DECLARED #define Tk_DeleteClientMessageHandler_TCL_DECLARED /* 240 */ -EXTERN void Tk_DeleteClientMessageHandler ( - Tk_ClientMessageProc * proc); +EXTERN void Tk_DeleteClientMessageHandler( + Tk_ClientMessageProc *proc); #endif #ifndef Tk_CreateAnonymousWindow_TCL_DECLARED #define Tk_CreateAnonymousWindow_TCL_DECLARED /* 241 */ -EXTERN Tk_Window Tk_CreateAnonymousWindow (Tcl_Interp * interp, - Tk_Window parent, CONST char * screenName); +EXTERN Tk_Window Tk_CreateAnonymousWindow(Tcl_Interp *interp, + Tk_Window parent, CONST char *screenName); #endif #ifndef Tk_SetClassProcs_TCL_DECLARED #define Tk_SetClassProcs_TCL_DECLARED /* 242 */ -EXTERN void Tk_SetClassProcs (Tk_Window tkwin, - Tk_ClassProcs * procs, +EXTERN void Tk_SetClassProcs(Tk_Window tkwin, + Tk_ClassProcs *procs, ClientData instanceData); #endif #ifndef Tk_SetInternalBorderEx_TCL_DECLARED #define Tk_SetInternalBorderEx_TCL_DECLARED /* 243 */ -EXTERN void Tk_SetInternalBorderEx (Tk_Window tkwin, int left, +EXTERN void Tk_SetInternalBorderEx(Tk_Window tkwin, int left, int right, int top, int bottom); #endif #ifndef Tk_SetMinimumRequestSize_TCL_DECLARED #define Tk_SetMinimumRequestSize_TCL_DECLARED /* 244 */ -EXTERN void Tk_SetMinimumRequestSize (Tk_Window tkwin, +EXTERN void Tk_SetMinimumRequestSize(Tk_Window tkwin, int minWidth, int minHeight); #endif #ifndef Tk_SetCaretPos_TCL_DECLARED #define Tk_SetCaretPos_TCL_DECLARED /* 245 */ -EXTERN void Tk_SetCaretPos (Tk_Window tkwin, int x, int y, +EXTERN void Tk_SetCaretPos(Tk_Window tkwin, int x, int y, int height); #endif #ifndef Tk_PhotoPutBlock_Panic_TCL_DECLARED #define Tk_PhotoPutBlock_Panic_TCL_DECLARED /* 246 */ -EXTERN void Tk_PhotoPutBlock_Panic (Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, +EXTERN void Tk_PhotoPutBlock_Panic(Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); #endif #ifndef Tk_PhotoPutZoomedBlock_Panic_TCL_DECLARED #define Tk_PhotoPutZoomedBlock_Panic_TCL_DECLARED /* 247 */ -EXTERN void Tk_PhotoPutZoomedBlock_Panic (Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, - int width, int height, int zoomX, int zoomY, +EXTERN void Tk_PhotoPutZoomedBlock_Panic(Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, + int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); #endif #ifndef Tk_CollapseMotionEvents_TCL_DECLARED #define Tk_CollapseMotionEvents_TCL_DECLARED /* 248 */ -EXTERN int Tk_CollapseMotionEvents (Display * display, +EXTERN int Tk_CollapseMotionEvents(Display *display, int collapse); #endif #ifndef Tk_RegisterStyleEngine_TCL_DECLARED #define Tk_RegisterStyleEngine_TCL_DECLARED /* 249 */ -EXTERN Tk_StyleEngine Tk_RegisterStyleEngine (CONST char * name, +EXTERN Tk_StyleEngine Tk_RegisterStyleEngine(CONST char *name, Tk_StyleEngine parent); #endif #ifndef Tk_GetStyleEngine_TCL_DECLARED #define Tk_GetStyleEngine_TCL_DECLARED /* 250 */ -EXTERN Tk_StyleEngine Tk_GetStyleEngine (CONST char * name); +EXTERN Tk_StyleEngine Tk_GetStyleEngine(CONST char *name); #endif #ifndef Tk_RegisterStyledElement_TCL_DECLARED #define Tk_RegisterStyledElement_TCL_DECLARED /* 251 */ -EXTERN int Tk_RegisterStyledElement (Tk_StyleEngine engine, - Tk_ElementSpec * templatePtr); +EXTERN int Tk_RegisterStyledElement(Tk_StyleEngine engine, + Tk_ElementSpec *templatePtr); #endif #ifndef Tk_GetElementId_TCL_DECLARED #define Tk_GetElementId_TCL_DECLARED /* 252 */ -EXTERN int Tk_GetElementId (CONST char * name); +EXTERN int Tk_GetElementId(CONST char *name); #endif #ifndef Tk_CreateStyle_TCL_DECLARED #define Tk_CreateStyle_TCL_DECLARED /* 253 */ -EXTERN Tk_Style Tk_CreateStyle (CONST char * name, +EXTERN Tk_Style Tk_CreateStyle(CONST char *name, Tk_StyleEngine engine, ClientData clientData); #endif #ifndef Tk_GetStyle_TCL_DECLARED #define Tk_GetStyle_TCL_DECLARED /* 254 */ -EXTERN Tk_Style Tk_GetStyle (Tcl_Interp * interp, CONST char * name); +EXTERN Tk_Style Tk_GetStyle(Tcl_Interp *interp, CONST char *name); #endif #ifndef Tk_FreeStyle_TCL_DECLARED #define Tk_FreeStyle_TCL_DECLARED /* 255 */ -EXTERN void Tk_FreeStyle (Tk_Style style); +EXTERN void Tk_FreeStyle(Tk_Style style); #endif #ifndef Tk_NameOfStyle_TCL_DECLARED #define Tk_NameOfStyle_TCL_DECLARED /* 256 */ -EXTERN CONST char * Tk_NameOfStyle (Tk_Style style); +EXTERN CONST char * Tk_NameOfStyle(Tk_Style style); #endif #ifndef Tk_AllocStyleFromObj_TCL_DECLARED #define Tk_AllocStyleFromObj_TCL_DECLARED /* 257 */ -EXTERN Tk_Style Tk_AllocStyleFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr); +EXTERN Tk_Style Tk_AllocStyleFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr); #endif #ifndef Tk_GetStyleFromObj_TCL_DECLARED #define Tk_GetStyleFromObj_TCL_DECLARED /* 258 */ -EXTERN Tk_Style Tk_GetStyleFromObj (Tcl_Obj * objPtr); +EXTERN Tk_Style Tk_GetStyleFromObj(Tcl_Obj *objPtr); #endif #ifndef Tk_FreeStyleFromObj_TCL_DECLARED #define Tk_FreeStyleFromObj_TCL_DECLARED /* 259 */ -EXTERN void Tk_FreeStyleFromObj (Tcl_Obj * objPtr); +EXTERN void Tk_FreeStyleFromObj(Tcl_Obj *objPtr); #endif #ifndef Tk_GetStyledElement_TCL_DECLARED #define Tk_GetStyledElement_TCL_DECLARED /* 260 */ -EXTERN Tk_StyledElement Tk_GetStyledElement (Tk_Style style, int elementId, +EXTERN Tk_StyledElement Tk_GetStyledElement(Tk_Style style, int elementId, Tk_OptionTable optionTable); #endif #ifndef Tk_GetElementSize_TCL_DECLARED #define Tk_GetElementSize_TCL_DECLARED /* 261 */ -EXTERN void Tk_GetElementSize (Tk_Style style, - Tk_StyledElement element, char * recordPtr, - Tk_Window tkwin, int width, int height, - int inner, int * widthPtr, int * heightPtr); +EXTERN void Tk_GetElementSize(Tk_Style style, + Tk_StyledElement element, char *recordPtr, + Tk_Window tkwin, int width, int height, + int inner, int *widthPtr, int *heightPtr); #endif #ifndef Tk_GetElementBox_TCL_DECLARED #define Tk_GetElementBox_TCL_DECLARED /* 262 */ -EXTERN void Tk_GetElementBox (Tk_Style style, - Tk_StyledElement element, char * recordPtr, - Tk_Window tkwin, int x, int y, int width, - int height, int inner, int * xPtr, - int * yPtr, int * widthPtr, int * heightPtr); +EXTERN void Tk_GetElementBox(Tk_Style style, + Tk_StyledElement element, char *recordPtr, + Tk_Window tkwin, int x, int y, int width, + int height, int inner, int *xPtr, int *yPtr, + int *widthPtr, int *heightPtr); #endif #ifndef Tk_GetElementBorderWidth_TCL_DECLARED #define Tk_GetElementBorderWidth_TCL_DECLARED /* 263 */ -EXTERN int Tk_GetElementBorderWidth (Tk_Style style, - Tk_StyledElement element, char * recordPtr, +EXTERN int Tk_GetElementBorderWidth(Tk_Style style, + Tk_StyledElement element, char *recordPtr, Tk_Window tkwin); #endif #ifndef Tk_DrawElement_TCL_DECLARED #define Tk_DrawElement_TCL_DECLARED /* 264 */ -EXTERN void Tk_DrawElement (Tk_Style style, - Tk_StyledElement element, char * recordPtr, - Tk_Window tkwin, Drawable d, int x, int y, +EXTERN void Tk_DrawElement(Tk_Style style, + Tk_StyledElement element, char *recordPtr, + Tk_Window tkwin, Drawable d, int x, int y, int width, int height, int state); #endif #ifndef Tk_PhotoExpand_TCL_DECLARED #define Tk_PhotoExpand_TCL_DECLARED /* 265 */ -EXTERN int Tk_PhotoExpand (Tcl_Interp * interp, +EXTERN int Tk_PhotoExpand(Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); #endif #ifndef Tk_PhotoPutBlock_TCL_DECLARED #define Tk_PhotoPutBlock_TCL_DECLARED /* 266 */ -EXTERN int Tk_PhotoPutBlock (Tcl_Interp * interp, - Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, +EXTERN int Tk_PhotoPutBlock(Tcl_Interp *interp, + Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); #endif #ifndef Tk_PhotoPutZoomedBlock_TCL_DECLARED #define Tk_PhotoPutZoomedBlock_TCL_DECLARED /* 267 */ -EXTERN int Tk_PhotoPutZoomedBlock (Tcl_Interp * interp, - Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, - int width, int height, int zoomX, int zoomY, +EXTERN int Tk_PhotoPutZoomedBlock(Tcl_Interp *interp, + Tk_PhotoHandle handle, + Tk_PhotoImageBlock *blockPtr, int x, int y, + int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); #endif #ifndef Tk_PhotoSetSize_TCL_DECLARED #define Tk_PhotoSetSize_TCL_DECLARED /* 268 */ -EXTERN int Tk_PhotoSetSize (Tcl_Interp * interp, +EXTERN int Tk_PhotoSetSize(Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); #endif #ifndef Tk_GetUserInactiveTime_TCL_DECLARED #define Tk_GetUserInactiveTime_TCL_DECLARED /* 269 */ -EXTERN long Tk_GetUserInactiveTime (Display * dpy); +EXTERN long Tk_GetUserInactiveTime(Display *dpy); #endif #ifndef Tk_ResetUserInactiveTime_TCL_DECLARED #define Tk_ResetUserInactiveTime_TCL_DECLARED /* 270 */ -EXTERN void Tk_ResetUserInactiveTime (Display * dpy); +EXTERN void Tk_ResetUserInactiveTime(Display *dpy); #endif #ifndef Tk_Interp_TCL_DECLARED #define Tk_Interp_TCL_DECLARED /* 271 */ -EXTERN Tcl_Interp * Tk_Interp (Tk_Window tkwin); +EXTERN Tcl_Interp * Tk_Interp(Tk_Window tkwin); #endif #ifndef Tk_CreateOldImageType_TCL_DECLARED #define Tk_CreateOldImageType_TCL_DECLARED /* 272 */ -EXTERN void Tk_CreateOldImageType (Tk_ImageType * typePtr); +EXTERN void Tk_CreateOldImageType(Tk_ImageType *typePtr); #endif #ifndef Tk_CreateOldPhotoImageFormat_TCL_DECLARED #define Tk_CreateOldPhotoImageFormat_TCL_DECLARED /* 273 */ -EXTERN void Tk_CreateOldPhotoImageFormat ( - Tk_PhotoImageFormat * formatPtr); +EXTERN void Tk_CreateOldPhotoImageFormat( + Tk_PhotoImageFormat *formatPtr); #endif typedef struct TkStubHooks { @@ -1711,164 +1693,164 @@ typedef struct TkStubs { GC (*tk_3DBorderGC) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 2 */ void (*tk_3DHorizontalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftIn, int rightIn, int topBevel, int relief); /* 3 */ void (*tk_3DVerticalBevel) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief); /* 4 */ - void (*tk_AddOption) (Tk_Window tkwin, CONST char * name, CONST char * value, int priority); /* 5 */ - void (*tk_BindEvent) (Tk_BindingTable bindingTable, XEvent * eventPtr, Tk_Window tkwin, int numObjects, ClientData * objectPtr); /* 6 */ - void (*tk_CanvasDrawableCoords) (Tk_Canvas canvas, double x, double y, short * drawableXPtr, short * drawableYPtr); /* 7 */ + void (*tk_AddOption) (Tk_Window tkwin, CONST char *name, CONST char *value, int priority); /* 5 */ + void (*tk_BindEvent) (Tk_BindingTable bindingTable, XEvent *eventPtr, Tk_Window tkwin, int numObjects, ClientData *objectPtr); /* 6 */ + void (*tk_CanvasDrawableCoords) (Tk_Canvas canvas, double x, double y, short *drawableXPtr, short *drawableYPtr); /* 7 */ void (*tk_CanvasEventuallyRedraw) (Tk_Canvas canvas, int x1, int y1, int x2, int y2); /* 8 */ - int (*tk_CanvasGetCoord) (Tcl_Interp * interp, Tk_Canvas canvas, CONST char * str, double * doublePtr); /* 9 */ + int (*tk_CanvasGetCoord) (Tcl_Interp *interp, Tk_Canvas canvas, CONST char *str, double *doublePtr); /* 9 */ Tk_CanvasTextInfo * (*tk_CanvasGetTextInfo) (Tk_Canvas canvas); /* 10 */ - int (*tk_CanvasPsBitmap) (Tcl_Interp * interp, Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); /* 11 */ - int (*tk_CanvasPsColor) (Tcl_Interp * interp, Tk_Canvas canvas, XColor * colorPtr); /* 12 */ - int (*tk_CanvasPsFont) (Tcl_Interp * interp, Tk_Canvas canvas, Tk_Font font); /* 13 */ - void (*tk_CanvasPsPath) (Tcl_Interp * interp, Tk_Canvas canvas, double * coordPtr, int numPoints); /* 14 */ - int (*tk_CanvasPsStipple) (Tcl_Interp * interp, Tk_Canvas canvas, Pixmap bitmap); /* 15 */ + int (*tk_CanvasPsBitmap) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap, int x, int y, int width, int height); /* 11 */ + int (*tk_CanvasPsColor) (Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr); /* 12 */ + int (*tk_CanvasPsFont) (Tcl_Interp *interp, Tk_Canvas canvas, Tk_Font font); /* 13 */ + void (*tk_CanvasPsPath) (Tcl_Interp *interp, Tk_Canvas canvas, double *coordPtr, int numPoints); /* 14 */ + int (*tk_CanvasPsStipple) (Tcl_Interp *interp, Tk_Canvas canvas, Pixmap bitmap); /* 15 */ double (*tk_CanvasPsY) (Tk_Canvas canvas, double y); /* 16 */ void (*tk_CanvasSetStippleOrigin) (Tk_Canvas canvas, GC gc); /* 17 */ - int (*tk_CanvasTagsParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, CONST char * value, char * widgRec, int offset); /* 18 */ - char * (*tk_CanvasTagsPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 19 */ + int (*tk_CanvasTagsParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 18 */ + char * (*tk_CanvasTagsPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 19 */ Tk_Window (*tk_CanvasTkwin) (Tk_Canvas canvas); /* 20 */ - void (*tk_CanvasWindowCoords) (Tk_Canvas canvas, double x, double y, short * screenXPtr, short * screenYPtr); /* 21 */ - void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long valueMask, XSetWindowAttributes * attsPtr); /* 22 */ - int (*tk_CharBbox) (Tk_TextLayout layout, int index, int * xPtr, int * yPtr, int * widthPtr, int * heightPtr); /* 23 */ + void (*tk_CanvasWindowCoords) (Tk_Canvas canvas, double x, double y, short *screenXPtr, short *screenYPtr); /* 21 */ + void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long valueMask, XSetWindowAttributes *attsPtr); /* 22 */ + int (*tk_CharBbox) (Tk_TextLayout layout, int index, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 23 */ void (*tk_ClearSelection) (Tk_Window tkwin, Atom selection); /* 24 */ - int (*tk_ClipboardAppend) (Tcl_Interp * interp, Tk_Window tkwin, Atom target, Atom format, char* buffer); /* 25 */ - int (*tk_ClipboardClear) (Tcl_Interp * interp, Tk_Window tkwin); /* 26 */ - int (*tk_ConfigureInfo) (Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * specs, char * widgRec, CONST char * argvName, int flags); /* 27 */ - int (*tk_ConfigureValue) (Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * specs, char * widgRec, CONST char * argvName, int flags); /* 28 */ - int (*tk_ConfigureWidget) (Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * specs, int argc, CONST84 char ** argv, char * widgRec, int flags); /* 29 */ - void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XWindowChanges * valuePtr); /* 30 */ - Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, CONST char * str, int numChars, int wrapLength, Tk_Justify justify, int flags, int * widthPtr, int * heightPtr); /* 31 */ + int (*tk_ClipboardAppend) (Tcl_Interp *interp, Tk_Window tkwin, Atom target, Atom format, char *buffer); /* 25 */ + int (*tk_ClipboardClear) (Tcl_Interp *interp, Tk_Window tkwin); /* 26 */ + int (*tk_ConfigureInfo) (Tcl_Interp *interp, Tk_Window tkwin, Tk_ConfigSpec *specs, char *widgRec, CONST char *argvName, int flags); /* 27 */ + int (*tk_ConfigureValue) (Tcl_Interp *interp, Tk_Window tkwin, Tk_ConfigSpec *specs, char *widgRec, CONST char *argvName, int flags); /* 28 */ + int (*tk_ConfigureWidget) (Tcl_Interp *interp, Tk_Window tkwin, Tk_ConfigSpec *specs, int argc, CONST84 char **argv, char *widgRec, int flags); /* 29 */ + void (*tk_ConfigureWindow) (Tk_Window tkwin, unsigned int valueMask, XWindowChanges *valuePtr); /* 30 */ + Tk_TextLayout (*tk_ComputeTextLayout) (Tk_Font font, CONST char *str, int numChars, int wrapLength, Tk_Justify justify, int flags, int *widthPtr, int *heightPtr); /* 31 */ Tk_Window (*tk_CoordsToWindow) (int rootX, int rootY, Tk_Window tkwin); /* 32 */ - unsigned long (*tk_CreateBinding) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventStr, CONST char * command, int append); /* 33 */ - Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp * interp); /* 34 */ - Tk_ErrorHandler (*tk_CreateErrorHandler) (Display * display, int errNum, int request, int minorCode, Tk_ErrorProc * errorProc, ClientData clientData); /* 35 */ - void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc * proc, ClientData clientData); /* 36 */ - void (*tk_CreateGenericHandler) (Tk_GenericProc * proc, ClientData clientData); /* 37 */ - void (*tk_CreateImageType) (Tk_ImageType * typePtr); /* 38 */ - void (*tk_CreateItemType) (Tk_ItemType * typePtr); /* 39 */ - void (*tk_CreatePhotoImageFormat) (Tk_PhotoImageFormat * formatPtr); /* 40 */ - void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom target, Tk_SelectionProc * proc, ClientData clientData, Atom format); /* 41 */ - Tk_Window (*tk_CreateWindow) (Tcl_Interp * interp, Tk_Window parent, CONST char * name, CONST char * screenName); /* 42 */ - Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * pathName, CONST char * screenName); /* 43 */ - int (*tk_DefineBitmap) (Tcl_Interp * interp, CONST char * name, CONST char * source, int width, int height); /* 44 */ + unsigned long (*tk_CreateBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventStr, CONST char *command, int append); /* 33 */ + Tk_BindingTable (*tk_CreateBindingTable) (Tcl_Interp *interp); /* 34 */ + Tk_ErrorHandler (*tk_CreateErrorHandler) (Display *display, int errNum, int request, int minorCode, Tk_ErrorProc *errorProc, ClientData clientData); /* 35 */ + void (*tk_CreateEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc *proc, ClientData clientData); /* 36 */ + void (*tk_CreateGenericHandler) (Tk_GenericProc *proc, ClientData clientData); /* 37 */ + void (*tk_CreateImageType) (Tk_ImageType *typePtr); /* 38 */ + void (*tk_CreateItemType) (Tk_ItemType *typePtr); /* 39 */ + void (*tk_CreatePhotoImageFormat) (Tk_PhotoImageFormat *formatPtr); /* 40 */ + void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom target, Tk_SelectionProc *proc, ClientData clientData, Atom format); /* 41 */ + Tk_Window (*tk_CreateWindow) (Tcl_Interp *interp, Tk_Window parent, CONST char *name, CONST char *screenName); /* 42 */ + Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *pathName, CONST char *screenName); /* 43 */ + int (*tk_DefineBitmap) (Tcl_Interp *interp, CONST char *name, CONST char *source, int width, int height); /* 44 */ void (*tk_DefineCursor) (Tk_Window window, Tk_Cursor cursor); /* 45 */ void (*tk_DeleteAllBindings) (Tk_BindingTable bindingTable, ClientData object); /* 46 */ - int (*tk_DeleteBinding) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventStr); /* 47 */ + int (*tk_DeleteBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventStr); /* 47 */ void (*tk_DeleteBindingTable) (Tk_BindingTable bindingTable); /* 48 */ void (*tk_DeleteErrorHandler) (Tk_ErrorHandler handler); /* 49 */ - void (*tk_DeleteEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc * proc, ClientData clientData); /* 50 */ - void (*tk_DeleteGenericHandler) (Tk_GenericProc * proc, ClientData clientData); /* 51 */ - void (*tk_DeleteImage) (Tcl_Interp * interp, CONST char * name); /* 52 */ + void (*tk_DeleteEventHandler) (Tk_Window token, unsigned long mask, Tk_EventProc *proc, ClientData clientData); /* 50 */ + void (*tk_DeleteGenericHandler) (Tk_GenericProc *proc, ClientData clientData); /* 51 */ + void (*tk_DeleteImage) (Tcl_Interp *interp, CONST char *name); /* 52 */ void (*tk_DeleteSelHandler) (Tk_Window tkwin, Atom selection, Atom target); /* 53 */ void (*tk_DestroyWindow) (Tk_Window tkwin); /* 54 */ CONST84_RETURN char * (*tk_DisplayName) (Tk_Window tkwin); /* 55 */ int (*tk_DistanceToTextLayout) (Tk_TextLayout layout, int x, int y); /* 56 */ - void (*tk_Draw3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint * pointPtr, int numPoints, int borderWidth, int leftRelief); /* 57 */ + void (*tk_Draw3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief); /* 57 */ void (*tk_Draw3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); /* 58 */ - void (*tk_DrawChars) (Display * display, Drawable drawable, GC gc, Tk_Font tkfont, CONST char * source, int numBytes, int x, int y); /* 59 */ + void (*tk_DrawChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, CONST char *source, int numBytes, int x, int y); /* 59 */ void (*tk_DrawFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable); /* 60 */ - void (*tk_DrawTextLayout) (Display * display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); /* 61 */ - void (*tk_Fill3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint * pointPtr, int numPoints, int borderWidth, int leftRelief); /* 62 */ + void (*tk_DrawTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); /* 61 */ + void (*tk_Fill3DPolygon) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, XPoint *pointPtr, int numPoints, int borderWidth, int leftRelief); /* 62 */ void (*tk_Fill3DRectangle) (Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); /* 63 */ - Tk_PhotoHandle (*tk_FindPhoto) (Tcl_Interp * interp, CONST char * imageName); /* 64 */ + Tk_PhotoHandle (*tk_FindPhoto) (Tcl_Interp *interp, CONST char *imageName); /* 64 */ Font (*tk_FontId) (Tk_Font font); /* 65 */ void (*tk_Free3DBorder) (Tk_3DBorder border); /* 66 */ - void (*tk_FreeBitmap) (Display * display, Pixmap bitmap); /* 67 */ - void (*tk_FreeColor) (XColor * colorPtr); /* 68 */ - void (*tk_FreeColormap) (Display * display, Colormap colormap); /* 69 */ - void (*tk_FreeCursor) (Display * display, Tk_Cursor cursor); /* 70 */ + void (*tk_FreeBitmap) (Display *display, Pixmap bitmap); /* 67 */ + void (*tk_FreeColor) (XColor *colorPtr); /* 68 */ + void (*tk_FreeColormap) (Display *display, Colormap colormap); /* 69 */ + void (*tk_FreeCursor) (Display *display, Tk_Cursor cursor); /* 70 */ void (*tk_FreeFont) (Tk_Font f); /* 71 */ - void (*tk_FreeGC) (Display * display, GC gc); /* 72 */ + void (*tk_FreeGC) (Display *display, GC gc); /* 72 */ void (*tk_FreeImage) (Tk_Image image); /* 73 */ - void (*tk_FreeOptions) (Tk_ConfigSpec * specs, char * widgRec, Display * display, int needFlags); /* 74 */ - void (*tk_FreePixmap) (Display * display, Pixmap pixmap); /* 75 */ + void (*tk_FreeOptions) (Tk_ConfigSpec *specs, char *widgRec, Display *display, int needFlags); /* 74 */ + void (*tk_FreePixmap) (Display *display, Pixmap pixmap); /* 75 */ void (*tk_FreeTextLayout) (Tk_TextLayout textLayout); /* 76 */ - void (*tk_FreeXId) (Display * display, XID xid); /* 77 */ - GC (*tk_GCForColor) (XColor * colorPtr, Drawable drawable); /* 78 */ + void (*tk_FreeXId) (Display *display, XID xid); /* 77 */ + GC (*tk_GCForColor) (XColor *colorPtr, Drawable drawable); /* 78 */ void (*tk_GeometryRequest) (Tk_Window tkwin, int reqWidth, int reqHeight); /* 79 */ - Tk_3DBorder (*tk_Get3DBorder) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid colorName); /* 80 */ - void (*tk_GetAllBindings) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object); /* 81 */ - int (*tk_GetAnchor) (Tcl_Interp * interp, CONST char * str, Tk_Anchor * anchorPtr); /* 82 */ + Tk_3DBorder (*tk_Get3DBorder) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid colorName); /* 80 */ + void (*tk_GetAllBindings) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object); /* 81 */ + int (*tk_GetAnchor) (Tcl_Interp *interp, CONST char *str, Tk_Anchor *anchorPtr); /* 82 */ CONST84_RETURN char * (*tk_GetAtomName) (Tk_Window tkwin, Atom atom); /* 83 */ - CONST84_RETURN char * (*tk_GetBinding) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventStr); /* 84 */ - Pixmap (*tk_GetBitmap) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str); /* 85 */ - Pixmap (*tk_GetBitmapFromData) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * source, int width, int height); /* 86 */ - int (*tk_GetCapStyle) (Tcl_Interp * interp, CONST char * str, int * capPtr); /* 87 */ - XColor * (*tk_GetColor) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid name); /* 88 */ - XColor * (*tk_GetColorByValue) (Tk_Window tkwin, XColor * colorPtr); /* 89 */ - Colormap (*tk_GetColormap) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str); /* 90 */ - Tk_Cursor (*tk_GetCursor) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid str); /* 91 */ - Tk_Cursor (*tk_GetCursorFromData) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * source, CONST char * mask, int width, int height, int xHot, int yHot, Tk_Uid fg, Tk_Uid bg); /* 92 */ - Tk_Font (*tk_GetFont) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str); /* 93 */ - Tk_Font (*tk_GetFontFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 94 */ - void (*tk_GetFontMetrics) (Tk_Font font, Tk_FontMetrics * fmPtr); /* 95 */ - GC (*tk_GetGC) (Tk_Window tkwin, unsigned long valueMask, XGCValues * valuePtr); /* 96 */ - Tk_Image (*tk_GetImage) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * name, Tk_ImageChangedProc * changeProc, ClientData clientData); /* 97 */ - ClientData (*tk_GetImageMasterData) (Tcl_Interp * interp, CONST char * name, Tk_ImageType ** typePtrPtr); /* 98 */ + CONST84_RETURN char * (*tk_GetBinding) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventStr); /* 84 */ + Pixmap (*tk_GetBitmap) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str); /* 85 */ + Pixmap (*tk_GetBitmapFromData) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *source, int width, int height); /* 86 */ + int (*tk_GetCapStyle) (Tcl_Interp *interp, CONST char *str, int *capPtr); /* 87 */ + XColor * (*tk_GetColor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid name); /* 88 */ + XColor * (*tk_GetColorByValue) (Tk_Window tkwin, XColor *colorPtr); /* 89 */ + Colormap (*tk_GetColormap) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str); /* 90 */ + Tk_Cursor (*tk_GetCursor) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid str); /* 91 */ + Tk_Cursor (*tk_GetCursorFromData) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *source, CONST char *mask, int width, int height, int xHot, int yHot, Tk_Uid fg, Tk_Uid bg); /* 92 */ + Tk_Font (*tk_GetFont) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str); /* 93 */ + Tk_Font (*tk_GetFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 94 */ + void (*tk_GetFontMetrics) (Tk_Font font, Tk_FontMetrics *fmPtr); /* 95 */ + GC (*tk_GetGC) (Tk_Window tkwin, unsigned long valueMask, XGCValues *valuePtr); /* 96 */ + Tk_Image (*tk_GetImage) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *name, Tk_ImageChangedProc *changeProc, ClientData clientData); /* 97 */ + ClientData (*tk_GetImageMasterData) (Tcl_Interp *interp, CONST char *name, Tk_ImageType **typePtrPtr); /* 98 */ Tk_ItemType * (*tk_GetItemTypes) (void); /* 99 */ - int (*tk_GetJoinStyle) (Tcl_Interp * interp, CONST char * str, int * joinPtr); /* 100 */ - int (*tk_GetJustify) (Tcl_Interp * interp, CONST char * str, Tk_Justify * justifyPtr); /* 101 */ + int (*tk_GetJoinStyle) (Tcl_Interp *interp, CONST char *str, int *joinPtr); /* 100 */ + int (*tk_GetJustify) (Tcl_Interp *interp, CONST char *str, Tk_Justify *justifyPtr); /* 101 */ int (*tk_GetNumMainWindows) (void); /* 102 */ - Tk_Uid (*tk_GetOption) (Tk_Window tkwin, CONST char * name, CONST char * className); /* 103 */ - int (*tk_GetPixels) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str, int * intPtr); /* 104 */ - Pixmap (*tk_GetPixmap) (Display * display, Drawable d, int width, int height, int depth); /* 105 */ - int (*tk_GetRelief) (Tcl_Interp * interp, CONST char * name, int * reliefPtr); /* 106 */ - void (*tk_GetRootCoords) (Tk_Window tkwin, int * xPtr, int * yPtr); /* 107 */ - int (*tk_GetScrollInfo) (Tcl_Interp * interp, int argc, CONST84 char ** argv, double * dblPtr, int * intPtr); /* 108 */ - int (*tk_GetScreenMM) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str, double * doublePtr); /* 109 */ - int (*tk_GetSelection) (Tcl_Interp * interp, Tk_Window tkwin, Atom selection, Atom target, Tk_GetSelProc * proc, ClientData clientData); /* 110 */ - Tk_Uid (*tk_GetUid) (CONST char * str); /* 111 */ - Visual * (*tk_GetVisual) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * str, int * depthPtr, Colormap * colormapPtr); /* 112 */ - void (*tk_GetVRootGeometry) (Tk_Window tkwin, int * xPtr, int * yPtr, int * widthPtr, int * heightPtr); /* 113 */ - int (*tk_Grab) (Tcl_Interp * interp, Tk_Window tkwin, int grabGlobal); /* 114 */ - void (*tk_HandleEvent) (XEvent * eventPtr); /* 115 */ - Tk_Window (*tk_IdToWindow) (Display * display, Window window); /* 116 */ + Tk_Uid (*tk_GetOption) (Tk_Window tkwin, CONST char *name, CONST char *className); /* 103 */ + int (*tk_GetPixels) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str, int *intPtr); /* 104 */ + Pixmap (*tk_GetPixmap) (Display *display, Drawable d, int width, int height, int depth); /* 105 */ + int (*tk_GetRelief) (Tcl_Interp *interp, CONST char *name, int *reliefPtr); /* 106 */ + void (*tk_GetRootCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 107 */ + int (*tk_GetScrollInfo) (Tcl_Interp *interp, int argc, CONST84 char **argv, double *dblPtr, int *intPtr); /* 108 */ + int (*tk_GetScreenMM) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str, double *doublePtr); /* 109 */ + int (*tk_GetSelection) (Tcl_Interp *interp, Tk_Window tkwin, Atom selection, Atom target, Tk_GetSelProc *proc, ClientData clientData); /* 110 */ + Tk_Uid (*tk_GetUid) (CONST char *str); /* 111 */ + Visual * (*tk_GetVisual) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *str, int *depthPtr, Colormap *colormapPtr); /* 112 */ + void (*tk_GetVRootGeometry) (Tk_Window tkwin, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 113 */ + int (*tk_Grab) (Tcl_Interp *interp, Tk_Window tkwin, int grabGlobal); /* 114 */ + void (*tk_HandleEvent) (XEvent *eventPtr); /* 115 */ + Tk_Window (*tk_IdToWindow) (Display *display, Window window); /* 116 */ void (*tk_ImageChanged) (Tk_ImageMaster master, int x, int y, int width, int height, int imageWidth, int imageHeight); /* 117 */ - int (*tk_Init) (Tcl_Interp * interp); /* 118 */ - Atom (*tk_InternAtom) (Tk_Window tkwin, CONST char * name); /* 119 */ + int (*tk_Init) (Tcl_Interp *interp); /* 118 */ + Atom (*tk_InternAtom) (Tk_Window tkwin, CONST char *name); /* 119 */ int (*tk_IntersectTextLayout) (Tk_TextLayout layout, int x, int y, int width, int height); /* 120 */ void (*tk_MaintainGeometry) (Tk_Window slave, Tk_Window master, int x, int y, int width, int height); /* 121 */ - Tk_Window (*tk_MainWindow) (Tcl_Interp * interp); /* 122 */ + Tk_Window (*tk_MainWindow) (Tcl_Interp *interp); /* 122 */ void (*tk_MakeWindowExist) (Tk_Window tkwin); /* 123 */ - void (*tk_ManageGeometry) (Tk_Window tkwin, CONST Tk_GeomMgr * mgrPtr, ClientData clientData); /* 124 */ + void (*tk_ManageGeometry) (Tk_Window tkwin, CONST Tk_GeomMgr *mgrPtr, ClientData clientData); /* 124 */ void (*tk_MapWindow) (Tk_Window tkwin); /* 125 */ - int (*tk_MeasureChars) (Tk_Font tkfont, CONST char * source, int numBytes, int maxPixels, int flags, int * lengthPtr); /* 126 */ + int (*tk_MeasureChars) (Tk_Font tkfont, CONST char *source, int numBytes, int maxPixels, int flags, int *lengthPtr); /* 126 */ void (*tk_MoveResizeWindow) (Tk_Window tkwin, int x, int y, int width, int height); /* 127 */ void (*tk_MoveWindow) (Tk_Window tkwin, int x, int y); /* 128 */ void (*tk_MoveToplevelWindow) (Tk_Window tkwin, int x, int y); /* 129 */ CONST84_RETURN char * (*tk_NameOf3DBorder) (Tk_3DBorder border); /* 130 */ CONST84_RETURN char * (*tk_NameOfAnchor) (Tk_Anchor anchor); /* 131 */ - CONST84_RETURN char * (*tk_NameOfBitmap) (Display * display, Pixmap bitmap); /* 132 */ + CONST84_RETURN char * (*tk_NameOfBitmap) (Display *display, Pixmap bitmap); /* 132 */ CONST84_RETURN char * (*tk_NameOfCapStyle) (int cap); /* 133 */ - CONST84_RETURN char * (*tk_NameOfColor) (XColor * colorPtr); /* 134 */ - CONST84_RETURN char * (*tk_NameOfCursor) (Display * display, Tk_Cursor cursor); /* 135 */ + CONST84_RETURN char * (*tk_NameOfColor) (XColor *colorPtr); /* 134 */ + CONST84_RETURN char * (*tk_NameOfCursor) (Display *display, Tk_Cursor cursor); /* 135 */ CONST84_RETURN char * (*tk_NameOfFont) (Tk_Font font); /* 136 */ CONST84_RETURN char * (*tk_NameOfImage) (Tk_ImageMaster imageMaster); /* 137 */ CONST84_RETURN char * (*tk_NameOfJoinStyle) (int join); /* 138 */ CONST84_RETURN char * (*tk_NameOfJustify) (Tk_Justify justify); /* 139 */ CONST84_RETURN char * (*tk_NameOfRelief) (int relief); /* 140 */ - Tk_Window (*tk_NameToWindow) (Tcl_Interp * interp, CONST char * pathName, Tk_Window tkwin); /* 141 */ - void (*tk_OwnSelection) (Tk_Window tkwin, Atom selection, Tk_LostSelProc * proc, ClientData clientData); /* 142 */ - int (*tk_ParseArgv) (Tcl_Interp * interp, Tk_Window tkwin, int * argcPtr, CONST84 char ** argv, Tk_ArgvInfo * argTable, int flags); /* 143 */ - void (*tk_PhotoPutBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height); /* 144 */ - void (*tk_PhotoPutZoomedBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY); /* 145 */ - int (*tk_PhotoGetImage) (Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr); /* 146 */ + Tk_Window (*tk_NameToWindow) (Tcl_Interp *interp, CONST char *pathName, Tk_Window tkwin); /* 141 */ + void (*tk_OwnSelection) (Tk_Window tkwin, Atom selection, Tk_LostSelProc *proc, ClientData clientData); /* 142 */ + int (*tk_ParseArgv) (Tcl_Interp *interp, Tk_Window tkwin, int *argcPtr, CONST84 char **argv, Tk_ArgvInfo *argTable, int flags); /* 143 */ + void (*tk_PhotoPutBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height); /* 144 */ + void (*tk_PhotoPutZoomedBlock_NoComposite) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY); /* 145 */ + int (*tk_PhotoGetImage) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr); /* 146 */ void (*tk_PhotoBlank) (Tk_PhotoHandle handle); /* 147 */ void (*tk_PhotoExpand_Panic) (Tk_PhotoHandle handle, int width, int height); /* 148 */ - void (*tk_PhotoGetSize) (Tk_PhotoHandle handle, int * widthPtr, int * heightPtr); /* 149 */ + void (*tk_PhotoGetSize) (Tk_PhotoHandle handle, int *widthPtr, int *heightPtr); /* 149 */ void (*tk_PhotoSetSize_Panic) (Tk_PhotoHandle handle, int width, int height); /* 150 */ int (*tk_PointToChar) (Tk_TextLayout layout, int x, int y); /* 151 */ - int (*tk_PostscriptFontName) (Tk_Font tkfont, Tcl_DString * dsPtr); /* 152 */ - void (*tk_PreserveColormap) (Display * display, Colormap colormap); /* 153 */ - void (*tk_QueueWindowEvent) (XEvent * eventPtr, Tcl_QueuePosition position); /* 154 */ + int (*tk_PostscriptFontName) (Tk_Font tkfont, Tcl_DString *dsPtr); /* 152 */ + void (*tk_PreserveColormap) (Display *display, Colormap colormap); /* 153 */ + void (*tk_QueueWindowEvent) (XEvent *eventPtr, Tcl_QueuePosition position); /* 154 */ void (*tk_RedrawImage) (Tk_Image image, int imageX, int imageY, int width, int height, Drawable drawable, int drawableX, int drawableY); /* 155 */ void (*tk_ResizeWindow) (Tk_Window tkwin, int width, int height); /* 156 */ int (*tk_RestackWindow) (Tk_Window tkwin, int aboveBelow, Tk_Window other); /* 157 */ - Tk_RestrictProc * (*tk_RestrictEvents) (Tk_RestrictProc * proc, ClientData arg, ClientData * prevArgPtr); /* 158 */ - int (*tk_SafeInit) (Tcl_Interp * interp); /* 159 */ - CONST char * (*tk_SetAppName) (Tk_Window tkwin, CONST char * name); /* 160 */ + Tk_RestrictProc * (*tk_RestrictEvents) (Tk_RestrictProc *proc, ClientData arg, ClientData *prevArgPtr); /* 158 */ + int (*tk_SafeInit) (Tcl_Interp *interp); /* 159 */ + CONST char * (*tk_SetAppName) (Tk_Window tkwin, CONST char *name); /* 160 */ void (*tk_SetBackgroundFromBorder) (Tk_Window tkwin, Tk_3DBorder border); /* 161 */ - void (*tk_SetClass) (Tk_Window tkwin, CONST char * className); /* 162 */ + void (*tk_SetClass) (Tk_Window tkwin, CONST char *className); /* 162 */ void (*tk_SetGrid) (Tk_Window tkwin, int reqWidth, int reqHeight, int gridWidth, int gridHeight); /* 163 */ void (*tk_SetInternalBorder) (Tk_Window tkwin, int width); /* 164 */ void (*tk_SetWindowBackground) (Tk_Window tkwin, unsigned long pixel); /* 165 */ @@ -1877,109 +1859,109 @@ typedef struct TkStubs { void (*tk_SetWindowBorderWidth) (Tk_Window tkwin, int width); /* 168 */ void (*tk_SetWindowBorderPixmap) (Tk_Window tkwin, Pixmap pixmap); /* 169 */ void (*tk_SetWindowColormap) (Tk_Window tkwin, Colormap colormap); /* 170 */ - int (*tk_SetWindowVisual) (Tk_Window tkwin, Visual * visual, int depth, Colormap colormap); /* 171 */ - void (*tk_SizeOfBitmap) (Display * display, Pixmap bitmap, int * widthPtr, int * heightPtr); /* 172 */ - void (*tk_SizeOfImage) (Tk_Image image, int * widthPtr, int * heightPtr); /* 173 */ + int (*tk_SetWindowVisual) (Tk_Window tkwin, Visual *visual, int depth, Colormap colormap); /* 171 */ + void (*tk_SizeOfBitmap) (Display *display, Pixmap bitmap, int *widthPtr, int *heightPtr); /* 172 */ + void (*tk_SizeOfImage) (Tk_Image image, int *widthPtr, int *heightPtr); /* 173 */ int (*tk_StrictMotif) (Tk_Window tkwin); /* 174 */ - void (*tk_TextLayoutToPostscript) (Tcl_Interp * interp, Tk_TextLayout layout); /* 175 */ - int (*tk_TextWidth) (Tk_Font font, CONST char * str, int numBytes); /* 176 */ + void (*tk_TextLayoutToPostscript) (Tcl_Interp *interp, Tk_TextLayout layout); /* 175 */ + int (*tk_TextWidth) (Tk_Font font, CONST char *str, int numBytes); /* 176 */ void (*tk_UndefineCursor) (Tk_Window window); /* 177 */ - void (*tk_UnderlineChars) (Display * display, Drawable drawable, GC gc, Tk_Font tkfont, CONST char * source, int x, int y, int firstByte, int lastByte); /* 178 */ - void (*tk_UnderlineTextLayout) (Display * display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); /* 179 */ + void (*tk_UnderlineChars) (Display *display, Drawable drawable, GC gc, Tk_Font tkfont, CONST char *source, int x, int y, int firstByte, int lastByte); /* 178 */ + void (*tk_UnderlineTextLayout) (Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); /* 179 */ void (*tk_Ungrab) (Tk_Window tkwin); /* 180 */ void (*tk_UnmaintainGeometry) (Tk_Window slave, Tk_Window master); /* 181 */ void (*tk_UnmapWindow) (Tk_Window tkwin); /* 182 */ void (*tk_UnsetGrid) (Tk_Window tkwin); /* 183 */ void (*tk_UpdatePointer) (Tk_Window tkwin, int x, int y, int state); /* 184 */ - Pixmap (*tk_AllocBitmapFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr); /* 185 */ - Tk_3DBorder (*tk_Alloc3DBorderFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr); /* 186 */ - XColor * (*tk_AllocColorFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr); /* 187 */ - Tk_Cursor (*tk_AllocCursorFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr); /* 188 */ - Tk_Font (*tk_AllocFontFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr); /* 189 */ - Tk_OptionTable (*tk_CreateOptionTable) (Tcl_Interp * interp, CONST Tk_OptionSpec * templatePtr); /* 190 */ + Pixmap (*tk_AllocBitmapFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 185 */ + Tk_3DBorder (*tk_Alloc3DBorderFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 186 */ + XColor * (*tk_AllocColorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 187 */ + Tk_Cursor (*tk_AllocCursorFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 188 */ + Tk_Font (*tk_AllocFontFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr); /* 189 */ + Tk_OptionTable (*tk_CreateOptionTable) (Tcl_Interp *interp, CONST Tk_OptionSpec *templatePtr); /* 190 */ void (*tk_DeleteOptionTable) (Tk_OptionTable optionTable); /* 191 */ - void (*tk_Free3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 192 */ - void (*tk_FreeBitmapFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 193 */ - void (*tk_FreeColorFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 194 */ - void (*tk_FreeConfigOptions) (char * recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 195 */ - void (*tk_FreeSavedOptions) (Tk_SavedOptions * savePtr); /* 196 */ - void (*tk_FreeCursorFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 197 */ - void (*tk_FreeFontFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 198 */ - Tk_3DBorder (*tk_Get3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 199 */ - int (*tk_GetAnchorFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tk_Anchor * anchorPtr); /* 200 */ - Pixmap (*tk_GetBitmapFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 201 */ - XColor * (*tk_GetColorFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 202 */ - Tk_Cursor (*tk_GetCursorFromObj) (Tk_Window tkwin, Tcl_Obj * objPtr); /* 203 */ - Tcl_Obj * (*tk_GetOptionInfo) (Tcl_Interp * interp, char * recordPtr, Tk_OptionTable optionTable, Tcl_Obj * namePtr, Tk_Window tkwin); /* 204 */ - Tcl_Obj * (*tk_GetOptionValue) (Tcl_Interp * interp, char * recordPtr, Tk_OptionTable optionTable, Tcl_Obj * namePtr, Tk_Window tkwin); /* 205 */ - int (*tk_GetJustifyFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tk_Justify * justifyPtr); /* 206 */ - int (*tk_GetMMFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, double * doublePtr); /* 207 */ - int (*tk_GetPixelsFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, int * intPtr); /* 208 */ - int (*tk_GetReliefFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, int * resultPtr); /* 209 */ - int (*tk_GetScrollInfoObj) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], double * dblPtr, int * intPtr); /* 210 */ - int (*tk_InitOptions) (Tcl_Interp * interp, char * recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 211 */ - void (*tk_MainEx) (int argc, char ** argv, Tcl_AppInitProc * appInitProc, Tcl_Interp * interp); /* 212 */ - void (*tk_RestoreSavedOptions) (Tk_SavedOptions * savePtr); /* 213 */ - int (*tk_SetOptions) (Tcl_Interp * interp, char * recordPtr, Tk_OptionTable optionTable, int objc, Tcl_Obj *CONST objv[], Tk_Window tkwin, Tk_SavedOptions * savePtr, int * maskPtr); /* 214 */ - void (*tk_InitConsoleChannels) (Tcl_Interp * interp); /* 215 */ - int (*tk_CreateConsoleWindow) (Tcl_Interp * interp); /* 216 */ - void (*tk_CreateSmoothMethod) (Tcl_Interp * interp, Tk_SmoothMethod * method); /* 217 */ + void (*tk_Free3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 192 */ + void (*tk_FreeBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 193 */ + void (*tk_FreeColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 194 */ + void (*tk_FreeConfigOptions) (char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 195 */ + void (*tk_FreeSavedOptions) (Tk_SavedOptions *savePtr); /* 196 */ + void (*tk_FreeCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 197 */ + void (*tk_FreeFontFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 198 */ + Tk_3DBorder (*tk_Get3DBorderFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 199 */ + int (*tk_GetAnchorFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Anchor *anchorPtr); /* 200 */ + Pixmap (*tk_GetBitmapFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 201 */ + XColor * (*tk_GetColorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 202 */ + Tk_Cursor (*tk_GetCursorFromObj) (Tk_Window tkwin, Tcl_Obj *objPtr); /* 203 */ + Tcl_Obj * (*tk_GetOptionInfo) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 204 */ + Tcl_Obj * (*tk_GetOptionValue) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, Tcl_Obj *namePtr, Tk_Window tkwin); /* 205 */ + int (*tk_GetJustifyFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Tk_Justify *justifyPtr); /* 206 */ + int (*tk_GetMMFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, double *doublePtr); /* 207 */ + int (*tk_GetPixelsFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, int *intPtr); /* 208 */ + int (*tk_GetReliefFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *resultPtr); /* 209 */ + int (*tk_GetScrollInfoObj) (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], double *dblPtr, int *intPtr); /* 210 */ + int (*tk_InitOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionToken, Tk_Window tkwin); /* 211 */ + void (*tk_MainEx) (int argc, char **argv, Tcl_AppInitProc *appInitProc, Tcl_Interp *interp); /* 212 */ + void (*tk_RestoreSavedOptions) (Tk_SavedOptions *savePtr); /* 213 */ + int (*tk_SetOptions) (Tcl_Interp *interp, char *recordPtr, Tk_OptionTable optionTable, int objc, Tcl_Obj *CONST objv[], Tk_Window tkwin, Tk_SavedOptions *savePtr, int *maskPtr); /* 214 */ + void (*tk_InitConsoleChannels) (Tcl_Interp *interp); /* 215 */ + int (*tk_CreateConsoleWindow) (Tcl_Interp *interp); /* 216 */ + void (*tk_CreateSmoothMethod) (Tcl_Interp *interp, Tk_SmoothMethod *method); /* 217 */ void *reserved218; void *reserved219; - int (*tk_GetDash) (Tcl_Interp * interp, CONST char * value, Tk_Dash * dash); /* 220 */ - void (*tk_CreateOutline) (Tk_Outline * outline); /* 221 */ - void (*tk_DeleteOutline) (Display * display, Tk_Outline * outline); /* 222 */ - int (*tk_ConfigOutlineGC) (XGCValues * gcValues, Tk_Canvas canvas, Tk_Item * item, Tk_Outline * outline); /* 223 */ - int (*tk_ChangeOutlineGC) (Tk_Canvas canvas, Tk_Item * item, Tk_Outline * outline); /* 224 */ - int (*tk_ResetOutlineGC) (Tk_Canvas canvas, Tk_Item * item, Tk_Outline * outline); /* 225 */ - int (*tk_CanvasPsOutline) (Tk_Canvas canvas, Tk_Item * item, Tk_Outline * outline); /* 226 */ + int (*tk_GetDash) (Tcl_Interp *interp, CONST char *value, Tk_Dash *dash); /* 220 */ + void (*tk_CreateOutline) (Tk_Outline *outline); /* 221 */ + void (*tk_DeleteOutline) (Display *display, Tk_Outline *outline); /* 222 */ + int (*tk_ConfigOutlineGC) (XGCValues *gcValues, Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 223 */ + int (*tk_ChangeOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 224 */ + int (*tk_ResetOutlineGC) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 225 */ + int (*tk_CanvasPsOutline) (Tk_Canvas canvas, Tk_Item *item, Tk_Outline *outline); /* 226 */ void (*tk_SetTSOrigin) (Tk_Window tkwin, GC gc, int x, int y); /* 227 */ - int (*tk_CanvasGetCoordFromObj) (Tcl_Interp * interp, Tk_Canvas canvas, Tcl_Obj * obj, double * doublePtr); /* 228 */ - void (*tk_CanvasSetOffset) (Tk_Canvas canvas, GC gc, Tk_TSOffset * offset); /* 229 */ + int (*tk_CanvasGetCoordFromObj) (Tcl_Interp *interp, Tk_Canvas canvas, Tcl_Obj *obj, double *doublePtr); /* 228 */ + void (*tk_CanvasSetOffset) (Tk_Canvas canvas, GC gc, Tk_TSOffset *offset); /* 229 */ void (*tk_DitherPhoto) (Tk_PhotoHandle handle, int x, int y, int width, int height); /* 230 */ - int (*tk_PostscriptBitmap) (Tcl_Interp * interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int height); /* 231 */ - int (*tk_PostscriptColor) (Tcl_Interp * interp, Tk_PostscriptInfo psInfo, XColor * colorPtr); /* 232 */ - int (*tk_PostscriptFont) (Tcl_Interp * interp, Tk_PostscriptInfo psInfo, Tk_Font font); /* 233 */ - int (*tk_PostscriptImage) (Tk_Image image, Tcl_Interp * interp, Tk_Window tkwin, Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); /* 234 */ - void (*tk_PostscriptPath) (Tcl_Interp * interp, Tk_PostscriptInfo psInfo, double * coordPtr, int numPoints); /* 235 */ - int (*tk_PostscriptStipple) (Tcl_Interp * interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap); /* 236 */ + int (*tk_PostscriptBitmap) (Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int height); /* 231 */ + int (*tk_PostscriptColor) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, XColor *colorPtr); /* 232 */ + int (*tk_PostscriptFont) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, Tk_Font font); /* 233 */ + int (*tk_PostscriptImage) (Tk_Image image, Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psinfo, int x, int y, int width, int height, int prepass); /* 234 */ + void (*tk_PostscriptPath) (Tcl_Interp *interp, Tk_PostscriptInfo psInfo, double *coordPtr, int numPoints); /* 235 */ + int (*tk_PostscriptStipple) (Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap); /* 236 */ double (*tk_PostscriptY) (double y, Tk_PostscriptInfo psInfo); /* 237 */ - int (*tk_PostscriptPhoto) (Tcl_Interp * interp, Tk_PhotoImageBlock * blockPtr, Tk_PostscriptInfo psInfo, int width, int height); /* 238 */ - void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc * proc); /* 239 */ - void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc * proc); /* 240 */ - Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp * interp, Tk_Window parent, CONST char * screenName); /* 241 */ - void (*tk_SetClassProcs) (Tk_Window tkwin, Tk_ClassProcs * procs, ClientData instanceData); /* 242 */ + int (*tk_PostscriptPhoto) (Tcl_Interp *interp, Tk_PhotoImageBlock *blockPtr, Tk_PostscriptInfo psInfo, int width, int height); /* 238 */ + void (*tk_CreateClientMessageHandler) (Tk_ClientMessageProc *proc); /* 239 */ + void (*tk_DeleteClientMessageHandler) (Tk_ClientMessageProc *proc); /* 240 */ + Tk_Window (*tk_CreateAnonymousWindow) (Tcl_Interp *interp, Tk_Window parent, CONST char *screenName); /* 241 */ + void (*tk_SetClassProcs) (Tk_Window tkwin, Tk_ClassProcs *procs, ClientData instanceData); /* 242 */ void (*tk_SetInternalBorderEx) (Tk_Window tkwin, int left, int right, int top, int bottom); /* 243 */ void (*tk_SetMinimumRequestSize) (Tk_Window tkwin, int minWidth, int minHeight); /* 244 */ void (*tk_SetCaretPos) (Tk_Window tkwin, int x, int y, int height); /* 245 */ - void (*tk_PhotoPutBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height, int compRule); /* 246 */ - void (*tk_PhotoPutZoomedBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 247 */ - int (*tk_CollapseMotionEvents) (Display * display, int collapse); /* 248 */ - Tk_StyleEngine (*tk_RegisterStyleEngine) (CONST char * name, Tk_StyleEngine parent); /* 249 */ - Tk_StyleEngine (*tk_GetStyleEngine) (CONST char * name); /* 250 */ - int (*tk_RegisterStyledElement) (Tk_StyleEngine engine, Tk_ElementSpec * templatePtr); /* 251 */ - int (*tk_GetElementId) (CONST char * name); /* 252 */ - Tk_Style (*tk_CreateStyle) (CONST char * name, Tk_StyleEngine engine, ClientData clientData); /* 253 */ - Tk_Style (*tk_GetStyle) (Tcl_Interp * interp, CONST char * name); /* 254 */ + void (*tk_PhotoPutBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); /* 246 */ + void (*tk_PhotoPutZoomedBlock_Panic) (Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 247 */ + int (*tk_CollapseMotionEvents) (Display *display, int collapse); /* 248 */ + Tk_StyleEngine (*tk_RegisterStyleEngine) (CONST char *name, Tk_StyleEngine parent); /* 249 */ + Tk_StyleEngine (*tk_GetStyleEngine) (CONST char *name); /* 250 */ + int (*tk_RegisterStyledElement) (Tk_StyleEngine engine, Tk_ElementSpec *templatePtr); /* 251 */ + int (*tk_GetElementId) (CONST char *name); /* 252 */ + Tk_Style (*tk_CreateStyle) (CONST char *name, Tk_StyleEngine engine, ClientData clientData); /* 253 */ + Tk_Style (*tk_GetStyle) (Tcl_Interp *interp, CONST char *name); /* 254 */ void (*tk_FreeStyle) (Tk_Style style); /* 255 */ CONST char * (*tk_NameOfStyle) (Tk_Style style); /* 256 */ - Tk_Style (*tk_AllocStyleFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr); /* 257 */ - Tk_Style (*tk_GetStyleFromObj) (Tcl_Obj * objPtr); /* 258 */ - void (*tk_FreeStyleFromObj) (Tcl_Obj * objPtr); /* 259 */ + Tk_Style (*tk_AllocStyleFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); /* 257 */ + Tk_Style (*tk_GetStyleFromObj) (Tcl_Obj *objPtr); /* 258 */ + void (*tk_FreeStyleFromObj) (Tcl_Obj *objPtr); /* 259 */ Tk_StyledElement (*tk_GetStyledElement) (Tk_Style style, int elementId, Tk_OptionTable optionTable); /* 260 */ - void (*tk_GetElementSize) (Tk_Style style, Tk_StyledElement element, char * recordPtr, Tk_Window tkwin, int width, int height, int inner, int * widthPtr, int * heightPtr); /* 261 */ - void (*tk_GetElementBox) (Tk_Style style, Tk_StyledElement element, char * recordPtr, Tk_Window tkwin, int x, int y, int width, int height, int inner, int * xPtr, int * yPtr, int * widthPtr, int * heightPtr); /* 262 */ - int (*tk_GetElementBorderWidth) (Tk_Style style, Tk_StyledElement element, char * recordPtr, Tk_Window tkwin); /* 263 */ - void (*tk_DrawElement) (Tk_Style style, Tk_StyledElement element, char * recordPtr, Tk_Window tkwin, Drawable d, int x, int y, int width, int height, int state); /* 264 */ - int (*tk_PhotoExpand) (Tcl_Interp * interp, Tk_PhotoHandle handle, int width, int height); /* 265 */ - int (*tk_PhotoPutBlock) (Tcl_Interp * interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height, int compRule); /* 266 */ - int (*tk_PhotoPutZoomedBlock) (Tcl_Interp * interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock * blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 267 */ - int (*tk_PhotoSetSize) (Tcl_Interp * interp, Tk_PhotoHandle handle, int width, int height); /* 268 */ - long (*tk_GetUserInactiveTime) (Display * dpy); /* 269 */ - void (*tk_ResetUserInactiveTime) (Display * dpy); /* 270 */ + void (*tk_GetElementSize) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, int width, int height, int inner, int *widthPtr, int *heightPtr); /* 261 */ + void (*tk_GetElementBox) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, int x, int y, int width, int height, int inner, int *xPtr, int *yPtr, int *widthPtr, int *heightPtr); /* 262 */ + int (*tk_GetElementBorderWidth) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin); /* 263 */ + void (*tk_DrawElement) (Tk_Style style, Tk_StyledElement element, char *recordPtr, Tk_Window tkwin, Drawable d, int x, int y, int width, int height, int state); /* 264 */ + int (*tk_PhotoExpand) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 265 */ + int (*tk_PhotoPutBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int compRule); /* 266 */ + int (*tk_PhotoPutZoomedBlock) (Tcl_Interp *interp, Tk_PhotoHandle handle, Tk_PhotoImageBlock *blockPtr, int x, int y, int width, int height, int zoomX, int zoomY, int subsampleX, int subsampleY, int compRule); /* 267 */ + int (*tk_PhotoSetSize) (Tcl_Interp *interp, Tk_PhotoHandle handle, int width, int height); /* 268 */ + long (*tk_GetUserInactiveTime) (Display *dpy); /* 269 */ + void (*tk_ResetUserInactiveTime) (Display *dpy); /* 270 */ Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */ - void (*tk_CreateOldImageType) (Tk_ImageType * typePtr); /* 272 */ - void (*tk_CreateOldPhotoImageFormat) (Tk_PhotoImageFormat * formatPtr); /* 273 */ + void (*tk_CreateOldImageType) (Tk_ImageType *typePtr); /* 272 */ + void (*tk_CreateOldPhotoImageFormat) (Tk_PhotoImageFormat *formatPtr); /* 273 */ } TkStubs; #ifdef __cplusplus diff --git a/generic/tkInt.decls b/generic/tkInt.decls index b4919b2..977f2db 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.44.2.4 2009/12/12 00:20:54 nijtmans Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.44.2.5 2010/02/07 23:24:13 nijtmans Exp $ library tk @@ -131,8 +131,9 @@ declare 29 generic { void TkpFreeCursor(TkCursor *cursorPtr) } declare 30 generic { - char *TkGetBitmapData(Tcl_Interp *interp, char *string, char *fileName, - int *widthPtr, int *heightPtr, int *hotXPtr, int *hotYPtr) + char *TkGetBitmapData(Tcl_Interp *interp, char *string, + char *fileName, int *widthPtr, int *heightPtr, + int *hotXPtr, int *hotYPtr) } declare 31 generic { void TkGetButtPoints(double p1[], double p2[], @@ -524,7 +525,7 @@ declare 157 generic { # as to match 8.6 branch/HEAD. declare 169 generic { int TkStateParseProc(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, const char *value, char *widgRec, int offset) + Tk_Window tkwin, CONST char *value, char *widgRec, int offset) } declare 170 generic { char *TkStatePrintProc(ClientData clientData, Tk_Window tkwin, @@ -532,7 +533,7 @@ declare 170 generic { } declare 171 generic { int TkCanvasDashParseProc(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, const char *value, char *widgRec, int offset) + Tk_Window tkwin, CONST char *value, char *widgRec, int offset) } declare 172 generic { char *TkCanvasDashPrintProc(ClientData clientData, Tk_Window tkwin, @@ -540,7 +541,7 @@ declare 172 generic { } declare 173 generic { int TkOffsetParseProc(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, const char *value, char *widgRec, int offset) + Tk_Window tkwin, CONST char *value, char *widgRec, int offset) } declare 174 generic { char *TkOffsetPrintProc(ClientData clientData, Tk_Window tkwin, @@ -548,7 +549,7 @@ declare 174 generic { } declare 175 generic { int TkPixelParseProc(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, const char *value, char *widgRec, int offset) + Tk_Window tkwin, CONST char *value, char *widgRec, int offset) } declare 176 generic { char *TkPixelPrintProc(ClientData clientData, Tk_Window tkwin, diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index 6649870..8ca2698 100644 --- a/generic/tkIntDecls.h +++ b/generic/tkIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkIntDecls.h,v 1.31.2.2 2009/06/27 19:53:16 nijtmans Exp $ + * RCS: @(#) $Id: tkIntDecls.h,v 1.31.2.3 2010/02/07 23:24:13 nijtmans Exp $ */ #ifndef _TKINTDECLS @@ -37,696 +37,684 @@ #ifndef TkAllocWindow_TCL_DECLARED #define TkAllocWindow_TCL_DECLARED /* 0 */ -EXTERN TkWindow * TkAllocWindow (TkDisplay * dispPtr, int screenNum, - TkWindow * parentPtr); +EXTERN TkWindow * TkAllocWindow(TkDisplay *dispPtr, int screenNum, + TkWindow *parentPtr); #endif #ifndef TkBezierPoints_TCL_DECLARED #define TkBezierPoints_TCL_DECLARED /* 1 */ -EXTERN void TkBezierPoints (double control[], int numSteps, - double * coordPtr); +EXTERN void TkBezierPoints(double control[], int numSteps, + double *coordPtr); #endif #ifndef TkBezierScreenPoints_TCL_DECLARED #define TkBezierScreenPoints_TCL_DECLARED /* 2 */ -EXTERN void TkBezierScreenPoints (Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr); +EXTERN void TkBezierScreenPoints(Tk_Canvas canvas, + double control[], int numSteps, + XPoint *xPointPtr); #endif #ifndef TkBindDeadWindow_TCL_DECLARED #define TkBindDeadWindow_TCL_DECLARED /* 3 */ -EXTERN void TkBindDeadWindow (TkWindow * winPtr); +EXTERN void TkBindDeadWindow(TkWindow *winPtr); #endif #ifndef TkBindEventProc_TCL_DECLARED #define TkBindEventProc_TCL_DECLARED /* 4 */ -EXTERN void TkBindEventProc (TkWindow * winPtr, - XEvent * eventPtr); +EXTERN void TkBindEventProc(TkWindow *winPtr, XEvent *eventPtr); #endif #ifndef TkBindFree_TCL_DECLARED #define TkBindFree_TCL_DECLARED /* 5 */ -EXTERN void TkBindFree (TkMainInfo * mainPtr); +EXTERN void TkBindFree(TkMainInfo *mainPtr); #endif #ifndef TkBindInit_TCL_DECLARED #define TkBindInit_TCL_DECLARED /* 6 */ -EXTERN void TkBindInit (TkMainInfo * mainPtr); +EXTERN void TkBindInit(TkMainInfo *mainPtr); #endif #ifndef TkChangeEventWindow_TCL_DECLARED #define TkChangeEventWindow_TCL_DECLARED /* 7 */ -EXTERN void TkChangeEventWindow (XEvent * eventPtr, - TkWindow * winPtr); +EXTERN void TkChangeEventWindow(XEvent *eventPtr, + TkWindow *winPtr); #endif #ifndef TkClipInit_TCL_DECLARED #define TkClipInit_TCL_DECLARED /* 8 */ -EXTERN int TkClipInit (Tcl_Interp * interp, TkDisplay * dispPtr); +EXTERN int TkClipInit(Tcl_Interp *interp, TkDisplay *dispPtr); #endif #ifndef TkComputeAnchor_TCL_DECLARED #define TkComputeAnchor_TCL_DECLARED /* 9 */ -EXTERN void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, - int padX, int padY, int innerWidth, - int innerHeight, int * xPtr, int * yPtr); +EXTERN void TkComputeAnchor(Tk_Anchor anchor, Tk_Window tkwin, + int padX, int padY, int innerWidth, + int innerHeight, int *xPtr, int *yPtr); #endif #ifndef TkCopyAndGlobalEval_TCL_DECLARED #define TkCopyAndGlobalEval_TCL_DECLARED /* 10 */ -EXTERN int TkCopyAndGlobalEval (Tcl_Interp * interp, - char * script); +EXTERN int TkCopyAndGlobalEval(Tcl_Interp *interp, char *script); #endif #ifndef TkCreateBindingProcedure_TCL_DECLARED #define TkCreateBindingProcedure_TCL_DECLARED /* 11 */ -EXTERN unsigned long TkCreateBindingProcedure (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, +EXTERN unsigned long TkCreateBindingProcedure(Tcl_Interp *interp, + Tk_BindingTable bindingTable, + ClientData object, CONST char *eventString, + TkBindEvalProc *evalProc, + TkBindFreeProc *freeProc, ClientData clientData); #endif #ifndef TkCreateCursorFromData_TCL_DECLARED #define TkCreateCursorFromData_TCL_DECLARED /* 12 */ -EXTERN TkCursor * TkCreateCursorFromData (Tk_Window tkwin, - CONST char * source, CONST char * mask, - int width, int height, int xHot, int yHot, +EXTERN TkCursor * TkCreateCursorFromData(Tk_Window tkwin, + CONST char *source, CONST char *mask, + int width, int height, int xHot, int yHot, XColor fg, XColor bg); #endif #ifndef TkCreateFrame_TCL_DECLARED #define TkCreateFrame_TCL_DECLARED /* 13 */ -EXTERN int TkCreateFrame (ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName); +EXTERN int TkCreateFrame(ClientData clientData, + Tcl_Interp *interp, int argc, char **argv, + int toplevel, char *appName); #endif #ifndef TkCreateMainWindow_TCL_DECLARED #define TkCreateMainWindow_TCL_DECLARED /* 14 */ -EXTERN Tk_Window TkCreateMainWindow (Tcl_Interp * interp, - CONST char * screenName, char * baseName); +EXTERN Tk_Window TkCreateMainWindow(Tcl_Interp *interp, + CONST char *screenName, char *baseName); #endif #ifndef TkCurrentTime_TCL_DECLARED #define TkCurrentTime_TCL_DECLARED /* 15 */ -EXTERN Time TkCurrentTime (TkDisplay * dispPtr); +EXTERN Time TkCurrentTime(TkDisplay *dispPtr); #endif #ifndef TkDeleteAllImages_TCL_DECLARED #define TkDeleteAllImages_TCL_DECLARED /* 16 */ -EXTERN void TkDeleteAllImages (TkMainInfo * mainPtr); +EXTERN void TkDeleteAllImages(TkMainInfo *mainPtr); #endif #ifndef TkDoConfigureNotify_TCL_DECLARED #define TkDoConfigureNotify_TCL_DECLARED /* 17 */ -EXTERN void TkDoConfigureNotify (TkWindow * winPtr); +EXTERN void TkDoConfigureNotify(TkWindow *winPtr); #endif #ifndef TkDrawInsetFocusHighlight_TCL_DECLARED #define TkDrawInsetFocusHighlight_TCL_DECLARED /* 18 */ -EXTERN void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, +EXTERN void TkDrawInsetFocusHighlight(Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding); #endif #ifndef TkEventDeadWindow_TCL_DECLARED #define TkEventDeadWindow_TCL_DECLARED /* 19 */ -EXTERN void TkEventDeadWindow (TkWindow * winPtr); +EXTERN void TkEventDeadWindow(TkWindow *winPtr); #endif #ifndef TkFillPolygon_TCL_DECLARED #define TkFillPolygon_TCL_DECLARED /* 20 */ -EXTERN void TkFillPolygon (Tk_Canvas canvas, double * coordPtr, - int numPoints, Display * display, +EXTERN void TkFillPolygon(Tk_Canvas canvas, double *coordPtr, + int numPoints, Display *display, Drawable drawable, GC gc, GC outlineGC); #endif #ifndef TkFindStateNum_TCL_DECLARED #define TkFindStateNum_TCL_DECLARED /* 21 */ -EXTERN int TkFindStateNum (Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey); +EXTERN int TkFindStateNum(Tcl_Interp *interp, + CONST char *option, CONST TkStateMap *mapPtr, + CONST char *strKey); #endif #ifndef TkFindStateString_TCL_DECLARED #define TkFindStateString_TCL_DECLARED /* 22 */ -EXTERN char * TkFindStateString (CONST TkStateMap * mapPtr, +EXTERN char * TkFindStateString(CONST TkStateMap *mapPtr, int numKey); #endif #ifndef TkFocusDeadWindow_TCL_DECLARED #define TkFocusDeadWindow_TCL_DECLARED /* 23 */ -EXTERN void TkFocusDeadWindow (TkWindow * winPtr); +EXTERN void TkFocusDeadWindow(TkWindow *winPtr); #endif #ifndef TkFocusFilterEvent_TCL_DECLARED #define TkFocusFilterEvent_TCL_DECLARED /* 24 */ -EXTERN int TkFocusFilterEvent (TkWindow * winPtr, - XEvent * eventPtr); +EXTERN int TkFocusFilterEvent(TkWindow *winPtr, + XEvent *eventPtr); #endif #ifndef TkFocusKeyEvent_TCL_DECLARED #define TkFocusKeyEvent_TCL_DECLARED /* 25 */ -EXTERN TkWindow * TkFocusKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); +EXTERN TkWindow * TkFocusKeyEvent(TkWindow *winPtr, XEvent *eventPtr); #endif #ifndef TkFontPkgInit_TCL_DECLARED #define TkFontPkgInit_TCL_DECLARED /* 26 */ -EXTERN void TkFontPkgInit (TkMainInfo * mainPtr); +EXTERN void TkFontPkgInit(TkMainInfo *mainPtr); #endif #ifndef TkFontPkgFree_TCL_DECLARED #define TkFontPkgFree_TCL_DECLARED /* 27 */ -EXTERN void TkFontPkgFree (TkMainInfo * mainPtr); +EXTERN void TkFontPkgFree(TkMainInfo *mainPtr); #endif #ifndef TkFreeBindingTags_TCL_DECLARED #define TkFreeBindingTags_TCL_DECLARED /* 28 */ -EXTERN void TkFreeBindingTags (TkWindow * winPtr); +EXTERN void TkFreeBindingTags(TkWindow *winPtr); #endif #ifndef TkpFreeCursor_TCL_DECLARED #define TkpFreeCursor_TCL_DECLARED /* 29 */ -EXTERN void TkpFreeCursor (TkCursor * cursorPtr); +EXTERN void TkpFreeCursor(TkCursor *cursorPtr); #endif #ifndef TkGetBitmapData_TCL_DECLARED #define TkGetBitmapData_TCL_DECLARED /* 30 */ -EXTERN char * TkGetBitmapData (Tcl_Interp * interp, char * string, - char * fileName, int * widthPtr, - int * heightPtr, int * hotXPtr, - int * hotYPtr); +EXTERN char * TkGetBitmapData(Tcl_Interp *interp, char *string, + char *fileName, int *widthPtr, + int *heightPtr, int *hotXPtr, int *hotYPtr); #endif #ifndef TkGetButtPoints_TCL_DECLARED #define TkGetButtPoints_TCL_DECLARED /* 31 */ -EXTERN void TkGetButtPoints (double p1[], double p2[], - double width, int project, double m1[], +EXTERN void TkGetButtPoints(double p1[], double p2[], + double width, int project, double m1[], double m2[]); #endif #ifndef TkGetCursorByName_TCL_DECLARED #define TkGetCursorByName_TCL_DECLARED /* 32 */ -EXTERN TkCursor * TkGetCursorByName (Tcl_Interp * interp, +EXTERN TkCursor * TkGetCursorByName(Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid string); #endif #ifndef TkGetDefaultScreenName_TCL_DECLARED #define TkGetDefaultScreenName_TCL_DECLARED /* 33 */ -EXTERN CONST84_RETURN char * TkGetDefaultScreenName (Tcl_Interp * interp, - CONST char * screenName); +EXTERN CONST84_RETURN char * TkGetDefaultScreenName(Tcl_Interp *interp, + CONST char *screenName); #endif #ifndef TkGetDisplay_TCL_DECLARED #define TkGetDisplay_TCL_DECLARED /* 34 */ -EXTERN TkDisplay * TkGetDisplay (Display * display); +EXTERN TkDisplay * TkGetDisplay(Display *display); #endif #ifndef TkGetDisplayOf_TCL_DECLARED #define TkGetDisplayOf_TCL_DECLARED /* 35 */ -EXTERN int TkGetDisplayOf (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); +EXTERN int TkGetDisplayOf(Tcl_Interp *interp, int objc, + Tcl_Obj *CONST objv[], Tk_Window *tkwinPtr); #endif #ifndef TkGetFocusWin_TCL_DECLARED #define TkGetFocusWin_TCL_DECLARED /* 36 */ -EXTERN TkWindow * TkGetFocusWin (TkWindow * winPtr); +EXTERN TkWindow * TkGetFocusWin(TkWindow *winPtr); #endif #ifndef TkGetInterpNames_TCL_DECLARED #define TkGetInterpNames_TCL_DECLARED /* 37 */ -EXTERN int TkGetInterpNames (Tcl_Interp * interp, - Tk_Window tkwin); +EXTERN int TkGetInterpNames(Tcl_Interp *interp, Tk_Window tkwin); #endif #ifndef TkGetMiterPoints_TCL_DECLARED #define TkGetMiterPoints_TCL_DECLARED /* 38 */ -EXTERN int TkGetMiterPoints (double p1[], double p2[], - double p3[], double width, double m1[], +EXTERN int TkGetMiterPoints(double p1[], double p2[], + double p3[], double width, double m1[], double m2[]); #endif #ifndef TkGetPointerCoords_TCL_DECLARED #define TkGetPointerCoords_TCL_DECLARED /* 39 */ -EXTERN void TkGetPointerCoords (Tk_Window tkwin, int * xPtr, - int * yPtr); +EXTERN void TkGetPointerCoords(Tk_Window tkwin, int *xPtr, + int *yPtr); #endif #ifndef TkGetServerInfo_TCL_DECLARED #define TkGetServerInfo_TCL_DECLARED /* 40 */ -EXTERN void TkGetServerInfo (Tcl_Interp * interp, - Tk_Window tkwin); +EXTERN void TkGetServerInfo(Tcl_Interp *interp, Tk_Window tkwin); #endif #ifndef TkGrabDeadWindow_TCL_DECLARED #define TkGrabDeadWindow_TCL_DECLARED /* 41 */ -EXTERN void TkGrabDeadWindow (TkWindow * winPtr); +EXTERN void TkGrabDeadWindow(TkWindow *winPtr); #endif #ifndef TkGrabState_TCL_DECLARED #define TkGrabState_TCL_DECLARED /* 42 */ -EXTERN int TkGrabState (TkWindow * winPtr); +EXTERN int TkGrabState(TkWindow *winPtr); #endif #ifndef TkIncludePoint_TCL_DECLARED #define TkIncludePoint_TCL_DECLARED /* 43 */ -EXTERN void TkIncludePoint (Tk_Item * itemPtr, double * pointPtr); +EXTERN void TkIncludePoint(Tk_Item *itemPtr, double *pointPtr); #endif #ifndef TkInOutEvents_TCL_DECLARED #define TkInOutEvents_TCL_DECLARED /* 44 */ -EXTERN void TkInOutEvents (XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position); +EXTERN void TkInOutEvents(XEvent *eventPtr, TkWindow *sourcePtr, + TkWindow *destPtr, int leaveType, + int enterType, Tcl_QueuePosition position); #endif #ifndef TkInstallFrameMenu_TCL_DECLARED #define TkInstallFrameMenu_TCL_DECLARED /* 45 */ -EXTERN void TkInstallFrameMenu (Tk_Window tkwin); +EXTERN void TkInstallFrameMenu(Tk_Window tkwin); #endif #ifndef TkKeysymToString_TCL_DECLARED #define TkKeysymToString_TCL_DECLARED /* 46 */ -EXTERN char * TkKeysymToString (KeySym keysym); +EXTERN char * TkKeysymToString(KeySym keysym); #endif #ifndef TkLineToArea_TCL_DECLARED #define TkLineToArea_TCL_DECLARED /* 47 */ -EXTERN int TkLineToArea (double end1Ptr[], double end2Ptr[], +EXTERN int TkLineToArea(double end1Ptr[], double end2Ptr[], double rectPtr[]); #endif #ifndef TkLineToPoint_TCL_DECLARED #define TkLineToPoint_TCL_DECLARED /* 48 */ -EXTERN double TkLineToPoint (double end1Ptr[], double end2Ptr[], +EXTERN double TkLineToPoint(double end1Ptr[], double end2Ptr[], double pointPtr[]); #endif #ifndef TkMakeBezierCurve_TCL_DECLARED #define TkMakeBezierCurve_TCL_DECLARED /* 49 */ -EXTERN int TkMakeBezierCurve (Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[]); +EXTERN int TkMakeBezierCurve(Tk_Canvas canvas, double *pointPtr, + int numPoints, int numSteps, + XPoint xPoints[], double dblPoints[]); #endif #ifndef TkMakeBezierPostscript_TCL_DECLARED #define TkMakeBezierPostscript_TCL_DECLARED /* 50 */ -EXTERN void TkMakeBezierPostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, +EXTERN void TkMakeBezierPostscript(Tcl_Interp *interp, + Tk_Canvas canvas, double *pointPtr, int numPoints); #endif #ifndef TkOptionClassChanged_TCL_DECLARED #define TkOptionClassChanged_TCL_DECLARED /* 51 */ -EXTERN void TkOptionClassChanged (TkWindow * winPtr); +EXTERN void TkOptionClassChanged(TkWindow *winPtr); #endif #ifndef TkOptionDeadWindow_TCL_DECLARED #define TkOptionDeadWindow_TCL_DECLARED /* 52 */ -EXTERN void TkOptionDeadWindow (TkWindow * winPtr); +EXTERN void TkOptionDeadWindow(TkWindow *winPtr); #endif #ifndef TkOvalToArea_TCL_DECLARED #define TkOvalToArea_TCL_DECLARED /* 53 */ -EXTERN int TkOvalToArea (double * ovalPtr, double * rectPtr); +EXTERN int TkOvalToArea(double *ovalPtr, double *rectPtr); #endif #ifndef TkOvalToPoint_TCL_DECLARED #define TkOvalToPoint_TCL_DECLARED /* 54 */ -EXTERN double TkOvalToPoint (double ovalPtr[], double width, +EXTERN double TkOvalToPoint(double ovalPtr[], double width, int filled, double pointPtr[]); #endif #ifndef TkpChangeFocus_TCL_DECLARED #define TkpChangeFocus_TCL_DECLARED /* 55 */ -EXTERN int TkpChangeFocus (TkWindow * winPtr, int force); +EXTERN int TkpChangeFocus(TkWindow *winPtr, int force); #endif #ifndef TkpCloseDisplay_TCL_DECLARED #define TkpCloseDisplay_TCL_DECLARED /* 56 */ -EXTERN void TkpCloseDisplay (TkDisplay * dispPtr); +EXTERN void TkpCloseDisplay(TkDisplay *dispPtr); #endif #ifndef TkpClaimFocus_TCL_DECLARED #define TkpClaimFocus_TCL_DECLARED /* 57 */ -EXTERN void TkpClaimFocus (TkWindow * topLevelPtr, int force); +EXTERN void TkpClaimFocus(TkWindow *topLevelPtr, int force); #endif #ifndef TkpDisplayWarning_TCL_DECLARED #define TkpDisplayWarning_TCL_DECLARED /* 58 */ -EXTERN void TkpDisplayWarning (CONST char * msg, - CONST char * title); +EXTERN void TkpDisplayWarning(CONST char *msg, CONST char *title); #endif #ifndef TkpGetAppName_TCL_DECLARED #define TkpGetAppName_TCL_DECLARED /* 59 */ -EXTERN void TkpGetAppName (Tcl_Interp * interp, - Tcl_DString * name); +EXTERN void TkpGetAppName(Tcl_Interp *interp, Tcl_DString *name); #endif #ifndef TkpGetOtherWindow_TCL_DECLARED #define TkpGetOtherWindow_TCL_DECLARED /* 60 */ -EXTERN TkWindow * TkpGetOtherWindow (TkWindow * winPtr); +EXTERN TkWindow * TkpGetOtherWindow(TkWindow *winPtr); #endif #ifndef TkpGetWrapperWindow_TCL_DECLARED #define TkpGetWrapperWindow_TCL_DECLARED /* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow (TkWindow * winPtr); +EXTERN TkWindow * TkpGetWrapperWindow(TkWindow *winPtr); #endif #ifndef TkpInit_TCL_DECLARED #define TkpInit_TCL_DECLARED /* 62 */ -EXTERN int TkpInit (Tcl_Interp * interp); +EXTERN int TkpInit(Tcl_Interp *interp); #endif #ifndef TkpInitializeMenuBindings_TCL_DECLARED #define TkpInitializeMenuBindings_TCL_DECLARED /* 63 */ -EXTERN void TkpInitializeMenuBindings (Tcl_Interp * interp, +EXTERN void TkpInitializeMenuBindings(Tcl_Interp *interp, Tk_BindingTable bindingTable); #endif #ifndef TkpMakeContainer_TCL_DECLARED #define TkpMakeContainer_TCL_DECLARED /* 64 */ -EXTERN void TkpMakeContainer (Tk_Window tkwin); +EXTERN void TkpMakeContainer(Tk_Window tkwin); #endif #ifndef TkpMakeMenuWindow_TCL_DECLARED #define TkpMakeMenuWindow_TCL_DECLARED /* 65 */ -EXTERN void TkpMakeMenuWindow (Tk_Window tkwin, int transient); +EXTERN void TkpMakeMenuWindow(Tk_Window tkwin, int transient); #endif #ifndef TkpMakeWindow_TCL_DECLARED #define TkpMakeWindow_TCL_DECLARED /* 66 */ -EXTERN Window TkpMakeWindow (TkWindow * winPtr, Window parent); +EXTERN Window TkpMakeWindow(TkWindow *winPtr, Window parent); #endif #ifndef TkpMenuNotifyToplevelCreate_TCL_DECLARED #define TkpMenuNotifyToplevelCreate_TCL_DECLARED /* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate (Tcl_Interp * interp1, - char * menuName); +EXTERN void TkpMenuNotifyToplevelCreate(Tcl_Interp *interp1, + char *menuName); #endif #ifndef TkpOpenDisplay_TCL_DECLARED #define TkpOpenDisplay_TCL_DECLARED /* 68 */ -EXTERN TkDisplay * TkpOpenDisplay (CONST char * display_name); +EXTERN TkDisplay * TkpOpenDisplay(CONST char *display_name); #endif #ifndef TkPointerEvent_TCL_DECLARED #define TkPointerEvent_TCL_DECLARED /* 69 */ -EXTERN int TkPointerEvent (XEvent * eventPtr, TkWindow * winPtr); +EXTERN int TkPointerEvent(XEvent *eventPtr, TkWindow *winPtr); #endif #ifndef TkPolygonToArea_TCL_DECLARED #define TkPolygonToArea_TCL_DECLARED /* 70 */ -EXTERN int TkPolygonToArea (double * polyPtr, int numPoints, - double * rectPtr); +EXTERN int TkPolygonToArea(double *polyPtr, int numPoints, + double *rectPtr); #endif #ifndef TkPolygonToPoint_TCL_DECLARED #define TkPolygonToPoint_TCL_DECLARED /* 71 */ -EXTERN double TkPolygonToPoint (double * polyPtr, int numPoints, - double * pointPtr); +EXTERN double TkPolygonToPoint(double *polyPtr, int numPoints, + double *pointPtr); #endif #ifndef TkPositionInTree_TCL_DECLARED #define TkPositionInTree_TCL_DECLARED /* 72 */ -EXTERN int TkPositionInTree (TkWindow * winPtr, - TkWindow * treePtr); +EXTERN int TkPositionInTree(TkWindow *winPtr, TkWindow *treePtr); #endif #ifndef TkpRedirectKeyEvent_TCL_DECLARED #define TkpRedirectKeyEvent_TCL_DECLARED /* 73 */ -EXTERN void TkpRedirectKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); +EXTERN void TkpRedirectKeyEvent(TkWindow *winPtr, + XEvent *eventPtr); #endif #ifndef TkpSetMainMenubar_TCL_DECLARED #define TkpSetMainMenubar_TCL_DECLARED /* 74 */ -EXTERN void TkpSetMainMenubar (Tcl_Interp * interp, - Tk_Window tkwin, char * menuName); +EXTERN void TkpSetMainMenubar(Tcl_Interp *interp, + Tk_Window tkwin, char *menuName); #endif #ifndef TkpUseWindow_TCL_DECLARED #define TkpUseWindow_TCL_DECLARED /* 75 */ -EXTERN int TkpUseWindow (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * string); +EXTERN int TkpUseWindow(Tcl_Interp *interp, Tk_Window tkwin, + CONST char *string); #endif #ifndef TkpWindowWasRecentlyDeleted_TCL_DECLARED #define TkpWindowWasRecentlyDeleted_TCL_DECLARED /* 76 */ -EXTERN int TkpWindowWasRecentlyDeleted (Window win, - TkDisplay * dispPtr); +EXTERN int TkpWindowWasRecentlyDeleted(Window win, + TkDisplay *dispPtr); #endif #ifndef TkQueueEventForAllChildren_TCL_DECLARED #define TkQueueEventForAllChildren_TCL_DECLARED /* 77 */ -EXTERN void TkQueueEventForAllChildren (TkWindow * winPtr, - XEvent * eventPtr); +EXTERN void TkQueueEventForAllChildren(TkWindow *winPtr, + XEvent *eventPtr); #endif #ifndef TkReadBitmapFile_TCL_DECLARED #define TkReadBitmapFile_TCL_DECLARED /* 78 */ -EXTERN 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); +EXTERN 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); #endif #ifndef TkScrollWindow_TCL_DECLARED #define TkScrollWindow_TCL_DECLARED /* 79 */ -EXTERN int TkScrollWindow (Tk_Window tkwin, GC gc, int x, int y, - int width, int height, int dx, int dy, +EXTERN int TkScrollWindow(Tk_Window tkwin, GC gc, int x, int y, + int width, int height, int dx, int dy, TkRegion damageRgn); #endif #ifndef TkSelDeadWindow_TCL_DECLARED #define TkSelDeadWindow_TCL_DECLARED /* 80 */ -EXTERN void TkSelDeadWindow (TkWindow * winPtr); +EXTERN void TkSelDeadWindow(TkWindow *winPtr); #endif #ifndef TkSelEventProc_TCL_DECLARED #define TkSelEventProc_TCL_DECLARED /* 81 */ -EXTERN void TkSelEventProc (Tk_Window tkwin, XEvent * eventPtr); +EXTERN void TkSelEventProc(Tk_Window tkwin, XEvent *eventPtr); #endif #ifndef TkSelInit_TCL_DECLARED #define TkSelInit_TCL_DECLARED /* 82 */ -EXTERN void TkSelInit (Tk_Window tkwin); +EXTERN void TkSelInit(Tk_Window tkwin); #endif #ifndef TkSelPropProc_TCL_DECLARED #define TkSelPropProc_TCL_DECLARED /* 83 */ -EXTERN void TkSelPropProc (XEvent * eventPtr); +EXTERN void TkSelPropProc(XEvent *eventPtr); #endif /* Slot 84 is reserved */ #ifndef TkSetWindowMenuBar_TCL_DECLARED #define TkSetWindowMenuBar_TCL_DECLARED /* 85 */ -EXTERN void TkSetWindowMenuBar (Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName); +EXTERN void TkSetWindowMenuBar(Tcl_Interp *interp, + Tk_Window tkwin, char *oldMenuName, + char *menuName); #endif #ifndef TkStringToKeysym_TCL_DECLARED #define TkStringToKeysym_TCL_DECLARED /* 86 */ -EXTERN KeySym TkStringToKeysym (char * name); +EXTERN KeySym TkStringToKeysym(char *name); #endif #ifndef TkThickPolyLineToArea_TCL_DECLARED #define TkThickPolyLineToArea_TCL_DECLARED /* 87 */ -EXTERN int TkThickPolyLineToArea (double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr); +EXTERN int TkThickPolyLineToArea(double *coordPtr, + int numPoints, double width, int capStyle, + int joinStyle, double *rectPtr); #endif #ifndef TkWmAddToColormapWindows_TCL_DECLARED #define TkWmAddToColormapWindows_TCL_DECLARED /* 88 */ -EXTERN void TkWmAddToColormapWindows (TkWindow * winPtr); +EXTERN void TkWmAddToColormapWindows(TkWindow *winPtr); #endif #ifndef TkWmDeadWindow_TCL_DECLARED #define TkWmDeadWindow_TCL_DECLARED /* 89 */ -EXTERN void TkWmDeadWindow (TkWindow * winPtr); +EXTERN void TkWmDeadWindow(TkWindow *winPtr); #endif #ifndef TkWmFocusToplevel_TCL_DECLARED #define TkWmFocusToplevel_TCL_DECLARED /* 90 */ -EXTERN TkWindow * TkWmFocusToplevel (TkWindow * winPtr); +EXTERN TkWindow * TkWmFocusToplevel(TkWindow *winPtr); #endif #ifndef TkWmMapWindow_TCL_DECLARED #define TkWmMapWindow_TCL_DECLARED /* 91 */ -EXTERN void TkWmMapWindow (TkWindow * winPtr); +EXTERN void TkWmMapWindow(TkWindow *winPtr); #endif #ifndef TkWmNewWindow_TCL_DECLARED #define TkWmNewWindow_TCL_DECLARED /* 92 */ -EXTERN void TkWmNewWindow (TkWindow * winPtr); +EXTERN void TkWmNewWindow(TkWindow *winPtr); #endif #ifndef TkWmProtocolEventProc_TCL_DECLARED #define TkWmProtocolEventProc_TCL_DECLARED /* 93 */ -EXTERN void TkWmProtocolEventProc (TkWindow * winPtr, - XEvent * evenvPtr); +EXTERN void TkWmProtocolEventProc(TkWindow *winPtr, + XEvent *evenvPtr); #endif #ifndef TkWmRemoveFromColormapWindows_TCL_DECLARED #define TkWmRemoveFromColormapWindows_TCL_DECLARED /* 94 */ -EXTERN void TkWmRemoveFromColormapWindows (TkWindow * winPtr); +EXTERN void TkWmRemoveFromColormapWindows(TkWindow *winPtr); #endif #ifndef TkWmRestackToplevel_TCL_DECLARED #define TkWmRestackToplevel_TCL_DECLARED /* 95 */ -EXTERN void TkWmRestackToplevel (TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr); +EXTERN void TkWmRestackToplevel(TkWindow *winPtr, int aboveBelow, + TkWindow *otherPtr); #endif #ifndef TkWmSetClass_TCL_DECLARED #define TkWmSetClass_TCL_DECLARED /* 96 */ -EXTERN void TkWmSetClass (TkWindow * winPtr); +EXTERN void TkWmSetClass(TkWindow *winPtr); #endif #ifndef TkWmUnmapWindow_TCL_DECLARED #define TkWmUnmapWindow_TCL_DECLARED /* 97 */ -EXTERN void TkWmUnmapWindow (TkWindow * winPtr); +EXTERN void TkWmUnmapWindow(TkWindow *winPtr); #endif #ifndef TkDebugBitmap_TCL_DECLARED #define TkDebugBitmap_TCL_DECLARED /* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap (Tk_Window tkwin, char * name); +EXTERN Tcl_Obj * TkDebugBitmap(Tk_Window tkwin, char *name); #endif #ifndef TkDebugBorder_TCL_DECLARED #define TkDebugBorder_TCL_DECLARED /* 99 */ -EXTERN Tcl_Obj * TkDebugBorder (Tk_Window tkwin, char * name); +EXTERN Tcl_Obj * TkDebugBorder(Tk_Window tkwin, char *name); #endif #ifndef TkDebugCursor_TCL_DECLARED #define TkDebugCursor_TCL_DECLARED /* 100 */ -EXTERN Tcl_Obj * TkDebugCursor (Tk_Window tkwin, char * name); +EXTERN Tcl_Obj * TkDebugCursor(Tk_Window tkwin, char *name); #endif #ifndef TkDebugColor_TCL_DECLARED #define TkDebugColor_TCL_DECLARED /* 101 */ -EXTERN Tcl_Obj * TkDebugColor (Tk_Window tkwin, char * name); +EXTERN Tcl_Obj * TkDebugColor(Tk_Window tkwin, char *name); #endif #ifndef TkDebugConfig_TCL_DECLARED #define TkDebugConfig_TCL_DECLARED /* 102 */ -EXTERN Tcl_Obj * TkDebugConfig (Tcl_Interp * interp, +EXTERN Tcl_Obj * TkDebugConfig(Tcl_Interp *interp, Tk_OptionTable table); #endif #ifndef TkDebugFont_TCL_DECLARED #define TkDebugFont_TCL_DECLARED /* 103 */ -EXTERN Tcl_Obj * TkDebugFont (Tk_Window tkwin, char * name); +EXTERN Tcl_Obj * TkDebugFont(Tk_Window tkwin, char *name); #endif #ifndef TkFindStateNumObj_TCL_DECLARED #define TkFindStateNumObj_TCL_DECLARED /* 104 */ -EXTERN int TkFindStateNumObj (Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); +EXTERN int TkFindStateNumObj(Tcl_Interp *interp, + Tcl_Obj *optionPtr, CONST TkStateMap *mapPtr, + Tcl_Obj *keyPtr); #endif #ifndef TkGetBitmapPredefTable_TCL_DECLARED #define TkGetBitmapPredefTable_TCL_DECLARED /* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable (void); +EXTERN Tcl_HashTable * TkGetBitmapPredefTable(void); #endif #ifndef TkGetDisplayList_TCL_DECLARED #define TkGetDisplayList_TCL_DECLARED /* 106 */ -EXTERN TkDisplay * TkGetDisplayList (void); +EXTERN TkDisplay * TkGetDisplayList(void); #endif #ifndef TkGetMainInfoList_TCL_DECLARED #define TkGetMainInfoList_TCL_DECLARED /* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList (void); +EXTERN TkMainInfo * TkGetMainInfoList(void); #endif #ifndef TkGetWindowFromObj_TCL_DECLARED #define TkGetWindowFromObj_TCL_DECLARED /* 108 */ -EXTERN int TkGetWindowFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr); +EXTERN int TkGetWindowFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr, + Tk_Window *windowPtr); #endif #ifndef TkpGetString_TCL_DECLARED #define TkpGetString_TCL_DECLARED /* 109 */ -EXTERN char * TkpGetString (TkWindow * winPtr, XEvent * eventPtr, - Tcl_DString * dsPtr); +EXTERN char * TkpGetString(TkWindow *winPtr, XEvent *eventPtr, + Tcl_DString *dsPtr); #endif #ifndef TkpGetSubFonts_TCL_DECLARED #define TkpGetSubFonts_TCL_DECLARED /* 110 */ -EXTERN void TkpGetSubFonts (Tcl_Interp * interp, Tk_Font tkfont); +EXTERN void TkpGetSubFonts(Tcl_Interp *interp, Tk_Font tkfont); #endif #ifndef TkpGetSystemDefault_TCL_DECLARED #define TkpGetSystemDefault_TCL_DECLARED /* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); +EXTERN Tcl_Obj * TkpGetSystemDefault(Tk_Window tkwin, + CONST char *dbName, CONST char *className); #endif #ifndef TkpMenuThreadInit_TCL_DECLARED #define TkpMenuThreadInit_TCL_DECLARED /* 112 */ -EXTERN void TkpMenuThreadInit (void); +EXTERN void TkpMenuThreadInit(void); #endif #ifdef __WIN32__ /* WIN */ #ifndef TkClipBox_TCL_DECLARED #define TkClipBox_TCL_DECLARED /* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); +EXTERN void TkClipBox(TkRegion rgn, XRectangle *rect_return); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkClipBox_TCL_DECLARED #define TkClipBox_TCL_DECLARED /* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); +EXTERN void TkClipBox(TkRegion rgn, XRectangle *rect_return); #endif #endif /* AQUA */ #ifdef __WIN32__ /* WIN */ #ifndef TkCreateRegion_TCL_DECLARED #define TkCreateRegion_TCL_DECLARED /* 114 */ -EXTERN TkRegion TkCreateRegion (void); +EXTERN TkRegion TkCreateRegion(void); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkCreateRegion_TCL_DECLARED #define TkCreateRegion_TCL_DECLARED /* 114 */ -EXTERN TkRegion TkCreateRegion (void); +EXTERN TkRegion TkCreateRegion(void); #endif #endif /* AQUA */ #ifdef __WIN32__ /* WIN */ #ifndef TkDestroyRegion_TCL_DECLARED #define TkDestroyRegion_TCL_DECLARED /* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); +EXTERN void TkDestroyRegion(TkRegion rgn); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkDestroyRegion_TCL_DECLARED #define TkDestroyRegion_TCL_DECLARED /* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); +EXTERN void TkDestroyRegion(TkRegion rgn); #endif #endif /* AQUA */ #ifdef __WIN32__ /* WIN */ #ifndef TkIntersectRegion_TCL_DECLARED #define TkIntersectRegion_TCL_DECLARED /* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, +EXTERN void TkIntersectRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return); #endif #endif /* WIN */ @@ -734,7 +722,7 @@ EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, #ifndef TkIntersectRegion_TCL_DECLARED #define TkIntersectRegion_TCL_DECLARED /* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, +EXTERN void TkIntersectRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return); #endif #endif /* AQUA */ @@ -742,7 +730,7 @@ EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, #ifndef TkRectInRegion_TCL_DECLARED #define TkRectInRegion_TCL_DECLARED /* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, +EXTERN int TkRectInRegion(TkRegion rgn, int x, int y, unsigned int width, unsigned int height); #endif #endif /* WIN */ @@ -750,7 +738,7 @@ EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, #ifndef TkRectInRegion_TCL_DECLARED #define TkRectInRegion_TCL_DECLARED /* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, +EXTERN int TkRectInRegion(TkRegion rgn, int x, int y, unsigned int width, unsigned int height); #endif #endif /* AQUA */ @@ -758,30 +746,30 @@ EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, #ifndef TkSetRegion_TCL_DECLARED #define TkSetRegion_TCL_DECLARED /* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); +EXTERN void TkSetRegion(Display *display, GC gc, TkRegion rgn); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkSetRegion_TCL_DECLARED #define TkSetRegion_TCL_DECLARED /* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); +EXTERN void TkSetRegion(Display *display, GC gc, TkRegion rgn); #endif #endif /* AQUA */ #ifdef __WIN32__ /* WIN */ #ifndef TkUnionRectWithRegion_TCL_DECLARED #define TkUnionRectWithRegion_TCL_DECLARED /* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); +EXTERN void TkUnionRectWithRegion(XRectangle *rect, TkRegion src, + TkRegion dr_return); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkUnionRectWithRegion_TCL_DECLARED #define TkUnionRectWithRegion_TCL_DECLARED /* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); +EXTERN void TkUnionRectWithRegion(XRectangle *rect, TkRegion src, + TkRegion dr_return); #endif #endif /* AQUA */ /* Slot 120 is reserved */ @@ -789,15 +777,15 @@ EXTERN void TkUnionRectWithRegion (XRectangle * rect, #ifndef TkpCreateNativeBitmap_TCL_DECLARED #define TkpCreateNativeBitmap_TCL_DECLARED /* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap (Display * display, - CONST char * source); +EXTERN Pixmap TkpCreateNativeBitmap(Display *display, + CONST char *source); #endif #endif /* AQUA */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef TkpDefineNativeBitmaps_TCL_DECLARED #define TkpDefineNativeBitmaps_TCL_DECLARED /* 122 */ -EXTERN void TkpDefineNativeBitmaps (void); +EXTERN void TkpDefineNativeBitmaps(void); #endif #endif /* AQUA */ /* Slot 123 is reserved */ @@ -805,8 +793,8 @@ EXTERN void TkpDefineNativeBitmaps (void); #ifndef TkpGetNativeAppBitmap_TCL_DECLARED #define TkpGetNativeAppBitmap_TCL_DECLARED /* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap (Display * display, - CONST char * name, int * width, int * height); +EXTERN Pixmap TkpGetNativeAppBitmap(Display *display, + CONST char *name, int *width, int *height); #endif #endif /* AQUA */ /* Slot 125 is reserved */ @@ -822,61 +810,61 @@ EXTERN Pixmap TkpGetNativeAppBitmap (Display * display, #ifndef TkpDrawHighlightBorder_TCL_DECLARED #define TkpDrawHighlightBorder_TCL_DECLARED /* 135 */ -EXTERN void TkpDrawHighlightBorder (Tk_Window tkwin, GC fgGC, - GC bgGC, int highlightWidth, +EXTERN void TkpDrawHighlightBorder(Tk_Window tkwin, GC fgGC, + GC bgGC, int highlightWidth, Drawable drawable); #endif #ifndef TkSetFocusWin_TCL_DECLARED #define TkSetFocusWin_TCL_DECLARED /* 136 */ -EXTERN void TkSetFocusWin (TkWindow * winPtr, int force); +EXTERN void TkSetFocusWin(TkWindow *winPtr, int force); #endif #ifndef TkpSetKeycodeAndState_TCL_DECLARED #define TkpSetKeycodeAndState_TCL_DECLARED /* 137 */ -EXTERN void TkpSetKeycodeAndState (Tk_Window tkwin, - KeySym keySym, XEvent * eventPtr); +EXTERN void TkpSetKeycodeAndState(Tk_Window tkwin, KeySym keySym, + XEvent *eventPtr); #endif #ifndef TkpGetKeySym_TCL_DECLARED #define TkpGetKeySym_TCL_DECLARED /* 138 */ -EXTERN KeySym TkpGetKeySym (TkDisplay * dispPtr, XEvent * eventPtr); +EXTERN KeySym TkpGetKeySym(TkDisplay *dispPtr, XEvent *eventPtr); #endif #ifndef TkpInitKeymapInfo_TCL_DECLARED #define TkpInitKeymapInfo_TCL_DECLARED /* 139 */ -EXTERN void TkpInitKeymapInfo (TkDisplay * dispPtr); +EXTERN void TkpInitKeymapInfo(TkDisplay *dispPtr); #endif #ifndef TkPhotoGetValidRegion_TCL_DECLARED #define TkPhotoGetValidRegion_TCL_DECLARED /* 140 */ -EXTERN TkRegion TkPhotoGetValidRegion (Tk_PhotoHandle handle); +EXTERN TkRegion TkPhotoGetValidRegion(Tk_PhotoHandle handle); #endif #ifndef TkWmStackorderToplevel_TCL_DECLARED #define TkWmStackorderToplevel_TCL_DECLARED /* 141 */ -EXTERN TkWindow ** TkWmStackorderToplevel (TkWindow * parentPtr); +EXTERN TkWindow ** TkWmStackorderToplevel(TkWindow *parentPtr); #endif #ifndef TkFocusFree_TCL_DECLARED #define TkFocusFree_TCL_DECLARED /* 142 */ -EXTERN void TkFocusFree (TkMainInfo * mainPtr); +EXTERN void TkFocusFree(TkMainInfo *mainPtr); #endif #ifndef TkClipCleanup_TCL_DECLARED #define TkClipCleanup_TCL_DECLARED /* 143 */ -EXTERN void TkClipCleanup (TkDisplay * dispPtr); +EXTERN void TkClipCleanup(TkDisplay *dispPtr); #endif #ifndef TkGCCleanup_TCL_DECLARED #define TkGCCleanup_TCL_DECLARED /* 144 */ -EXTERN void TkGCCleanup (TkDisplay * dispPtr); +EXTERN void TkGCCleanup(TkDisplay *dispPtr); #endif #ifdef __WIN32__ /* WIN */ #ifndef TkSubtractRegion_TCL_DECLARED #define TkSubtractRegion_TCL_DECLARED /* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, +EXTERN void TkSubtractRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return); #endif #endif /* WIN */ @@ -884,79 +872,78 @@ EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, #ifndef TkSubtractRegion_TCL_DECLARED #define TkSubtractRegion_TCL_DECLARED /* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, +EXTERN void TkSubtractRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return); #endif #endif /* AQUA */ #ifndef TkStylePkgInit_TCL_DECLARED #define TkStylePkgInit_TCL_DECLARED /* 146 */ -EXTERN void TkStylePkgInit (TkMainInfo * mainPtr); +EXTERN void TkStylePkgInit(TkMainInfo *mainPtr); #endif #ifndef TkStylePkgFree_TCL_DECLARED #define TkStylePkgFree_TCL_DECLARED /* 147 */ -EXTERN void TkStylePkgFree (TkMainInfo * mainPtr); +EXTERN void TkStylePkgFree(TkMainInfo *mainPtr); #endif #ifndef TkToplevelWindowForCommand_TCL_DECLARED #define TkToplevelWindowForCommand_TCL_DECLARED /* 148 */ -EXTERN Tk_Window TkToplevelWindowForCommand (Tcl_Interp * interp, - CONST char * cmdName); +EXTERN Tk_Window TkToplevelWindowForCommand(Tcl_Interp *interp, + CONST char *cmdName); #endif #ifndef TkGetOptionSpec_TCL_DECLARED #define TkGetOptionSpec_TCL_DECLARED /* 149 */ -EXTERN CONST Tk_OptionSpec * TkGetOptionSpec (CONST char * name, +EXTERN CONST Tk_OptionSpec * TkGetOptionSpec(CONST char *name, Tk_OptionTable optionTable); #endif #ifndef TkMakeRawCurve_TCL_DECLARED #define TkMakeRawCurve_TCL_DECLARED /* 150 */ -EXTERN int TkMakeRawCurve (Tk_Canvas canvas, double * pointPtr, - int numPoints, int numSteps, +EXTERN int TkMakeRawCurve(Tk_Canvas canvas, double *pointPtr, + int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); #endif #ifndef TkMakeRawCurvePostscript_TCL_DECLARED #define TkMakeRawCurvePostscript_TCL_DECLARED /* 151 */ -EXTERN void TkMakeRawCurvePostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, +EXTERN void TkMakeRawCurvePostscript(Tcl_Interp *interp, + Tk_Canvas canvas, double *pointPtr, int numPoints); #endif #ifndef TkpDrawFrame_TCL_DECLARED #define TkpDrawFrame_TCL_DECLARED /* 152 */ -EXTERN void TkpDrawFrame (Tk_Window tkwin, Tk_3DBorder border, - int highlightWidth, int borderWidth, +EXTERN void TkpDrawFrame(Tk_Window tkwin, Tk_3DBorder border, + int highlightWidth, int borderWidth, int relief); #endif #ifndef TkCreateThreadExitHandler_TCL_DECLARED #define TkCreateThreadExitHandler_TCL_DECLARED /* 153 */ -EXTERN void TkCreateThreadExitHandler (Tcl_ExitProc * proc, +EXTERN void TkCreateThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData); #endif #ifndef TkDeleteThreadExitHandler_TCL_DECLARED #define TkDeleteThreadExitHandler_TCL_DECLARED /* 154 */ -EXTERN void TkDeleteThreadExitHandler (Tcl_ExitProc * proc, +EXTERN void TkDeleteThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData); #endif /* Slot 155 is reserved */ #ifndef TkpTestembedCmd_TCL_DECLARED #define TkpTestembedCmd_TCL_DECLARED /* 156 */ -EXTERN int TkpTestembedCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); +EXTERN int TkpTestembedCmd(ClientData clientData, + Tcl_Interp *interp, int argc, + CONST char **argv); #endif #ifndef TkpTesttextCmd_TCL_DECLARED #define TkpTesttextCmd_TCL_DECLARED /* 157 */ -EXTERN int TkpTesttextCmd (ClientData dummy, - Tcl_Interp * interp, int argc, - CONST char ** argv); +EXTERN int TkpTesttextCmd(ClientData dummy, Tcl_Interp *interp, + int argc, CONST char **argv); #endif /* Slot 158 is reserved */ /* Slot 159 is reserved */ @@ -972,220 +959,214 @@ EXTERN int TkpTesttextCmd (ClientData dummy, #ifndef TkStateParseProc_TCL_DECLARED #define TkStateParseProc_TCL_DECLARED /* 169 */ -EXTERN int TkStateParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - const char * value, char * widgRec, - int offset); +EXTERN int TkStateParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkStatePrintProc_TCL_DECLARED #define TkStatePrintProc_TCL_DECLARED /* 170 */ -EXTERN char * TkStatePrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkStatePrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef TkCanvasDashParseProc_TCL_DECLARED #define TkCanvasDashParseProc_TCL_DECLARED /* 171 */ -EXTERN int TkCanvasDashParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - const char * value, char * widgRec, - int offset); +EXTERN int TkCanvasDashParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkCanvasDashPrintProc_TCL_DECLARED #define TkCanvasDashPrintProc_TCL_DECLARED /* 172 */ -EXTERN char * TkCanvasDashPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkCanvasDashPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef TkOffsetParseProc_TCL_DECLARED #define TkOffsetParseProc_TCL_DECLARED /* 173 */ -EXTERN int TkOffsetParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - const char * value, char * widgRec, - int offset); +EXTERN int TkOffsetParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkOffsetPrintProc_TCL_DECLARED #define TkOffsetPrintProc_TCL_DECLARED /* 174 */ -EXTERN char * TkOffsetPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkOffsetPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef TkPixelParseProc_TCL_DECLARED #define TkPixelParseProc_TCL_DECLARED /* 175 */ -EXTERN int TkPixelParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - const char * value, char * widgRec, - int offset); +EXTERN int TkPixelParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkPixelPrintProc_TCL_DECLARED #define TkPixelPrintProc_TCL_DECLARED /* 176 */ -EXTERN char * TkPixelPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkPixelPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef TkOrientParseProc_TCL_DECLARED #define TkOrientParseProc_TCL_DECLARED /* 177 */ -EXTERN int TkOrientParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - CONST char * value, char * widgRec, - int offset); +EXTERN int TkOrientParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkOrientPrintProc_TCL_DECLARED #define TkOrientPrintProc_TCL_DECLARED /* 178 */ -EXTERN char * TkOrientPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkOrientPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif #ifndef TkSmoothParseProc_TCL_DECLARED #define TkSmoothParseProc_TCL_DECLARED /* 179 */ -EXTERN int TkSmoothParseProc (ClientData clientData, - Tcl_Interp * interp, Tk_Window tkwin, - CONST char * value, char * widgRec, - int offset); +EXTERN int TkSmoothParseProc(ClientData clientData, + Tcl_Interp *interp, Tk_Window tkwin, + CONST char *value, char *widgRec, int offset); #endif #ifndef TkSmoothPrintProc_TCL_DECLARED #define TkSmoothPrintProc_TCL_DECLARED /* 180 */ -EXTERN char * TkSmoothPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN char * TkSmoothPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif typedef struct TkIntStubs { int magic; struct TkIntStubHooks *hooks; - TkWindow * (*tkAllocWindow) (TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr); /* 0 */ - void (*tkBezierPoints) (double control[], int numSteps, double * coordPtr); /* 1 */ - void (*tkBezierScreenPoints) (Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr); /* 2 */ - void (*tkBindDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkBindEventProc) (TkWindow * winPtr, XEvent * eventPtr); /* 4 */ - void (*tkBindFree) (TkMainInfo * mainPtr); /* 5 */ - void (*tkBindInit) (TkMainInfo * mainPtr); /* 6 */ - void (*tkChangeEventWindow) (XEvent * eventPtr, TkWindow * winPtr); /* 7 */ - int (*tkClipInit) (Tcl_Interp * interp, TkDisplay * dispPtr); /* 8 */ - void (*tkComputeAnchor) (Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr); /* 9 */ - int (*tkCopyAndGlobalEval) (Tcl_Interp * interp, char * script); /* 10 */ - unsigned long (*tkCreateBindingProcedure) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData); /* 11 */ - TkCursor * (*tkCreateCursorFromData) (Tk_Window tkwin, CONST char * source, CONST char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg); /* 12 */ - int (*tkCreateFrame) (ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName); /* 13 */ - Tk_Window (*tkCreateMainWindow) (Tcl_Interp * interp, CONST char * screenName, char * baseName); /* 14 */ - Time (*tkCurrentTime) (TkDisplay * dispPtr); /* 15 */ - void (*tkDeleteAllImages) (TkMainInfo * mainPtr); /* 16 */ - void (*tkDoConfigureNotify) (TkWindow * winPtr); /* 17 */ + TkWindow * (*tkAllocWindow) (TkDisplay *dispPtr, int screenNum, TkWindow *parentPtr); /* 0 */ + void (*tkBezierPoints) (double control[], int numSteps, double *coordPtr); /* 1 */ + void (*tkBezierScreenPoints) (Tk_Canvas canvas, double control[], int numSteps, XPoint *xPointPtr); /* 2 */ + void (*tkBindDeadWindow) (TkWindow *winPtr); /* 3 */ + void (*tkBindEventProc) (TkWindow *winPtr, XEvent *eventPtr); /* 4 */ + void (*tkBindFree) (TkMainInfo *mainPtr); /* 5 */ + void (*tkBindInit) (TkMainInfo *mainPtr); /* 6 */ + void (*tkChangeEventWindow) (XEvent *eventPtr, TkWindow *winPtr); /* 7 */ + int (*tkClipInit) (Tcl_Interp *interp, TkDisplay *dispPtr); /* 8 */ + void (*tkComputeAnchor) (Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int *xPtr, int *yPtr); /* 9 */ + int (*tkCopyAndGlobalEval) (Tcl_Interp *interp, char *script); /* 10 */ + unsigned long (*tkCreateBindingProcedure) (Tcl_Interp *interp, Tk_BindingTable bindingTable, ClientData object, CONST char *eventString, TkBindEvalProc *evalProc, TkBindFreeProc *freeProc, ClientData clientData); /* 11 */ + TkCursor * (*tkCreateCursorFromData) (Tk_Window tkwin, CONST char *source, CONST char *mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg); /* 12 */ + int (*tkCreateFrame) (ClientData clientData, Tcl_Interp *interp, int argc, char **argv, int toplevel, char *appName); /* 13 */ + Tk_Window (*tkCreateMainWindow) (Tcl_Interp *interp, CONST char *screenName, char *baseName); /* 14 */ + Time (*tkCurrentTime) (TkDisplay *dispPtr); /* 15 */ + void (*tkDeleteAllImages) (TkMainInfo *mainPtr); /* 16 */ + void (*tkDoConfigureNotify) (TkWindow *winPtr); /* 17 */ void (*tkDrawInsetFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding); /* 18 */ - void (*tkEventDeadWindow) (TkWindow * winPtr); /* 19 */ - void (*tkFillPolygon) (Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC); /* 20 */ - int (*tkFindStateNum) (Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey); /* 21 */ - char * (*tkFindStateString) (CONST TkStateMap * mapPtr, int numKey); /* 22 */ - void (*tkFocusDeadWindow) (TkWindow * winPtr); /* 23 */ - int (*tkFocusFilterEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 24 */ - TkWindow * (*tkFocusKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 25 */ - void (*tkFontPkgInit) (TkMainInfo * mainPtr); /* 26 */ - void (*tkFontPkgFree) (TkMainInfo * mainPtr); /* 27 */ - void (*tkFreeBindingTags) (TkWindow * winPtr); /* 28 */ - void (*tkpFreeCursor) (TkCursor * cursorPtr); /* 29 */ - char * (*tkGetBitmapData) (Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr); /* 30 */ + void (*tkEventDeadWindow) (TkWindow *winPtr); /* 19 */ + void (*tkFillPolygon) (Tk_Canvas canvas, double *coordPtr, int numPoints, Display *display, Drawable drawable, GC gc, GC outlineGC); /* 20 */ + int (*tkFindStateNum) (Tcl_Interp *interp, CONST char *option, CONST TkStateMap *mapPtr, CONST char *strKey); /* 21 */ + char * (*tkFindStateString) (CONST TkStateMap *mapPtr, int numKey); /* 22 */ + void (*tkFocusDeadWindow) (TkWindow *winPtr); /* 23 */ + int (*tkFocusFilterEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 24 */ + TkWindow * (*tkFocusKeyEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 25 */ + void (*tkFontPkgInit) (TkMainInfo *mainPtr); /* 26 */ + void (*tkFontPkgFree) (TkMainInfo *mainPtr); /* 27 */ + void (*tkFreeBindingTags) (TkWindow *winPtr); /* 28 */ + void (*tkpFreeCursor) (TkCursor *cursorPtr); /* 29 */ + char * (*tkGetBitmapData) (Tcl_Interp *interp, char *string, char *fileName, int *widthPtr, int *heightPtr, int *hotXPtr, int *hotYPtr); /* 30 */ void (*tkGetButtPoints) (double p1[], double p2[], double width, int project, double m1[], double m2[]); /* 31 */ - TkCursor * (*tkGetCursorByName) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string); /* 32 */ - CONST84_RETURN char * (*tkGetDefaultScreenName) (Tcl_Interp * interp, CONST char * screenName); /* 33 */ - TkDisplay * (*tkGetDisplay) (Display * display); /* 34 */ - int (*tkGetDisplayOf) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); /* 35 */ - TkWindow * (*tkGetFocusWin) (TkWindow * winPtr); /* 36 */ - int (*tkGetInterpNames) (Tcl_Interp * interp, Tk_Window tkwin); /* 37 */ + TkCursor * (*tkGetCursorByName) (Tcl_Interp *interp, Tk_Window tkwin, Tk_Uid string); /* 32 */ + CONST84_RETURN char * (*tkGetDefaultScreenName) (Tcl_Interp *interp, CONST char *screenName); /* 33 */ + TkDisplay * (*tkGetDisplay) (Display *display); /* 34 */ + int (*tkGetDisplayOf) (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], Tk_Window *tkwinPtr); /* 35 */ + TkWindow * (*tkGetFocusWin) (TkWindow *winPtr); /* 36 */ + int (*tkGetInterpNames) (Tcl_Interp *interp, Tk_Window tkwin); /* 37 */ int (*tkGetMiterPoints) (double p1[], double p2[], double p3[], double width, double m1[], double m2[]); /* 38 */ - void (*tkGetPointerCoords) (Tk_Window tkwin, int * xPtr, int * yPtr); /* 39 */ - void (*tkGetServerInfo) (Tcl_Interp * interp, Tk_Window tkwin); /* 40 */ - void (*tkGrabDeadWindow) (TkWindow * winPtr); /* 41 */ - int (*tkGrabState) (TkWindow * winPtr); /* 42 */ - void (*tkIncludePoint) (Tk_Item * itemPtr, double * pointPtr); /* 43 */ - void (*tkInOutEvents) (XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position); /* 44 */ + void (*tkGetPointerCoords) (Tk_Window tkwin, int *xPtr, int *yPtr); /* 39 */ + void (*tkGetServerInfo) (Tcl_Interp *interp, Tk_Window tkwin); /* 40 */ + void (*tkGrabDeadWindow) (TkWindow *winPtr); /* 41 */ + int (*tkGrabState) (TkWindow *winPtr); /* 42 */ + void (*tkIncludePoint) (Tk_Item *itemPtr, double *pointPtr); /* 43 */ + void (*tkInOutEvents) (XEvent *eventPtr, TkWindow *sourcePtr, TkWindow *destPtr, int leaveType, int enterType, Tcl_QueuePosition position); /* 44 */ void (*tkInstallFrameMenu) (Tk_Window tkwin); /* 45 */ char * (*tkKeysymToString) (KeySym keysym); /* 46 */ int (*tkLineToArea) (double end1Ptr[], double end2Ptr[], double rectPtr[]); /* 47 */ double (*tkLineToPoint) (double end1Ptr[], double end2Ptr[], double pointPtr[]); /* 48 */ - int (*tkMakeBezierCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 49 */ - void (*tkMakeBezierPostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 50 */ - void (*tkOptionClassChanged) (TkWindow * winPtr); /* 51 */ - void (*tkOptionDeadWindow) (TkWindow * winPtr); /* 52 */ - int (*tkOvalToArea) (double * ovalPtr, double * rectPtr); /* 53 */ + int (*tkMakeBezierCurve) (Tk_Canvas canvas, double *pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 49 */ + void (*tkMakeBezierPostscript) (Tcl_Interp *interp, Tk_Canvas canvas, double *pointPtr, int numPoints); /* 50 */ + void (*tkOptionClassChanged) (TkWindow *winPtr); /* 51 */ + void (*tkOptionDeadWindow) (TkWindow *winPtr); /* 52 */ + int (*tkOvalToArea) (double *ovalPtr, double *rectPtr); /* 53 */ double (*tkOvalToPoint) (double ovalPtr[], double width, int filled, double pointPtr[]); /* 54 */ - int (*tkpChangeFocus) (TkWindow * winPtr, int force); /* 55 */ - void (*tkpCloseDisplay) (TkDisplay * dispPtr); /* 56 */ - void (*tkpClaimFocus) (TkWindow * topLevelPtr, int force); /* 57 */ - void (*tkpDisplayWarning) (CONST char * msg, CONST char * title); /* 58 */ - void (*tkpGetAppName) (Tcl_Interp * interp, Tcl_DString * name); /* 59 */ - TkWindow * (*tkpGetOtherWindow) (TkWindow * winPtr); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) (TkWindow * winPtr); /* 61 */ - int (*tkpInit) (Tcl_Interp * interp); /* 62 */ - void (*tkpInitializeMenuBindings) (Tcl_Interp * interp, Tk_BindingTable bindingTable); /* 63 */ + int (*tkpChangeFocus) (TkWindow *winPtr, int force); /* 55 */ + void (*tkpCloseDisplay) (TkDisplay *dispPtr); /* 56 */ + void (*tkpClaimFocus) (TkWindow *topLevelPtr, int force); /* 57 */ + void (*tkpDisplayWarning) (CONST char *msg, CONST char *title); /* 58 */ + void (*tkpGetAppName) (Tcl_Interp *interp, Tcl_DString *name); /* 59 */ + TkWindow * (*tkpGetOtherWindow) (TkWindow *winPtr); /* 60 */ + TkWindow * (*tkpGetWrapperWindow) (TkWindow *winPtr); /* 61 */ + int (*tkpInit) (Tcl_Interp *interp); /* 62 */ + void (*tkpInitializeMenuBindings) (Tcl_Interp *interp, Tk_BindingTable bindingTable); /* 63 */ void (*tkpMakeContainer) (Tk_Window tkwin); /* 64 */ void (*tkpMakeMenuWindow) (Tk_Window tkwin, int transient); /* 65 */ - Window (*tkpMakeWindow) (TkWindow * winPtr, Window parent); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) (Tcl_Interp * interp1, char * menuName); /* 67 */ - TkDisplay * (*tkpOpenDisplay) (CONST char * display_name); /* 68 */ - int (*tkPointerEvent) (XEvent * eventPtr, TkWindow * winPtr); /* 69 */ - int (*tkPolygonToArea) (double * polyPtr, int numPoints, double * rectPtr); /* 70 */ - double (*tkPolygonToPoint) (double * polyPtr, int numPoints, double * pointPtr); /* 71 */ - int (*tkPositionInTree) (TkWindow * winPtr, TkWindow * treePtr); /* 72 */ - void (*tkpRedirectKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 73 */ - void (*tkpSetMainMenubar) (Tcl_Interp * interp, Tk_Window tkwin, char * menuName); /* 74 */ - int (*tkpUseWindow) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * string); /* 75 */ - int (*tkpWindowWasRecentlyDeleted) (Window win, TkDisplay * dispPtr); /* 76 */ - void (*tkQueueEventForAllChildren) (TkWindow * winPtr, XEvent * eventPtr); /* 77 */ - 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 */ + Window (*tkpMakeWindow) (TkWindow *winPtr, Window parent); /* 66 */ + void (*tkpMenuNotifyToplevelCreate) (Tcl_Interp *interp1, char *menuName); /* 67 */ + TkDisplay * (*tkpOpenDisplay) (CONST char *display_name); /* 68 */ + int (*tkPointerEvent) (XEvent *eventPtr, TkWindow *winPtr); /* 69 */ + int (*tkPolygonToArea) (double *polyPtr, int numPoints, double *rectPtr); /* 70 */ + double (*tkPolygonToPoint) (double *polyPtr, int numPoints, double *pointPtr); /* 71 */ + int (*tkPositionInTree) (TkWindow *winPtr, TkWindow *treePtr); /* 72 */ + void (*tkpRedirectKeyEvent) (TkWindow *winPtr, XEvent *eventPtr); /* 73 */ + void (*tkpSetMainMenubar) (Tcl_Interp *interp, Tk_Window tkwin, char *menuName); /* 74 */ + int (*tkpUseWindow) (Tcl_Interp *interp, Tk_Window tkwin, CONST char *string); /* 75 */ + int (*tkpWindowWasRecentlyDeleted) (Window win, TkDisplay *dispPtr); /* 76 */ + void (*tkQueueEventForAllChildren) (TkWindow *winPtr, XEvent *eventPtr); /* 77 */ + 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 */ int (*tkScrollWindow) (Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn); /* 79 */ - void (*tkSelDeadWindow) (TkWindow * winPtr); /* 80 */ - void (*tkSelEventProc) (Tk_Window tkwin, XEvent * eventPtr); /* 81 */ + void (*tkSelDeadWindow) (TkWindow *winPtr); /* 80 */ + void (*tkSelEventProc) (Tk_Window tkwin, XEvent *eventPtr); /* 81 */ void (*tkSelInit) (Tk_Window tkwin); /* 82 */ - void (*tkSelPropProc) (XEvent * eventPtr); /* 83 */ + void (*tkSelPropProc) (XEvent *eventPtr); /* 83 */ void *reserved84; - void (*tkSetWindowMenuBar) (Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName); /* 85 */ - KeySym (*tkStringToKeysym) (char * name); /* 86 */ - int (*tkThickPolyLineToArea) (double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr); /* 87 */ - void (*tkWmAddToColormapWindows) (TkWindow * winPtr); /* 88 */ - void (*tkWmDeadWindow) (TkWindow * winPtr); /* 89 */ - TkWindow * (*tkWmFocusToplevel) (TkWindow * winPtr); /* 90 */ - void (*tkWmMapWindow) (TkWindow * winPtr); /* 91 */ - void (*tkWmNewWindow) (TkWindow * winPtr); /* 92 */ - void (*tkWmProtocolEventProc) (TkWindow * winPtr, XEvent * evenvPtr); /* 93 */ - void (*tkWmRemoveFromColormapWindows) (TkWindow * winPtr); /* 94 */ - void (*tkWmRestackToplevel) (TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr); /* 95 */ - void (*tkWmSetClass) (TkWindow * winPtr); /* 96 */ - void (*tkWmUnmapWindow) (TkWindow * winPtr); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) (Tk_Window tkwin, char * name); /* 98 */ - Tcl_Obj * (*tkDebugBorder) (Tk_Window tkwin, char * name); /* 99 */ - Tcl_Obj * (*tkDebugCursor) (Tk_Window tkwin, char * name); /* 100 */ - Tcl_Obj * (*tkDebugColor) (Tk_Window tkwin, char * name); /* 101 */ - Tcl_Obj * (*tkDebugConfig) (Tcl_Interp * interp, Tk_OptionTable table); /* 102 */ - Tcl_Obj * (*tkDebugFont) (Tk_Window tkwin, char * name); /* 103 */ - int (*tkFindStateNumObj) (Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); /* 104 */ + void (*tkSetWindowMenuBar) (Tcl_Interp *interp, Tk_Window tkwin, char *oldMenuName, char *menuName); /* 85 */ + KeySym (*tkStringToKeysym) (char *name); /* 86 */ + int (*tkThickPolyLineToArea) (double *coordPtr, int numPoints, double width, int capStyle, int joinStyle, double *rectPtr); /* 87 */ + void (*tkWmAddToColormapWindows) (TkWindow *winPtr); /* 88 */ + void (*tkWmDeadWindow) (TkWindow *winPtr); /* 89 */ + TkWindow * (*tkWmFocusToplevel) (TkWindow *winPtr); /* 90 */ + void (*tkWmMapWindow) (TkWindow *winPtr); /* 91 */ + void (*tkWmNewWindow) (TkWindow *winPtr); /* 92 */ + void (*tkWmProtocolEventProc) (TkWindow *winPtr, XEvent *evenvPtr); /* 93 */ + void (*tkWmRemoveFromColormapWindows) (TkWindow *winPtr); /* 94 */ + void (*tkWmRestackToplevel) (TkWindow *winPtr, int aboveBelow, TkWindow *otherPtr); /* 95 */ + void (*tkWmSetClass) (TkWindow *winPtr); /* 96 */ + void (*tkWmUnmapWindow) (TkWindow *winPtr); /* 97 */ + Tcl_Obj * (*tkDebugBitmap) (Tk_Window tkwin, char *name); /* 98 */ + Tcl_Obj * (*tkDebugBorder) (Tk_Window tkwin, char *name); /* 99 */ + Tcl_Obj * (*tkDebugCursor) (Tk_Window tkwin, char *name); /* 100 */ + Tcl_Obj * (*tkDebugColor) (Tk_Window tkwin, char *name); /* 101 */ + Tcl_Obj * (*tkDebugConfig) (Tcl_Interp *interp, Tk_OptionTable table); /* 102 */ + Tcl_Obj * (*tkDebugFont) (Tk_Window tkwin, char *name); /* 103 */ + int (*tkFindStateNumObj) (Tcl_Interp *interp, Tcl_Obj *optionPtr, CONST TkStateMap *mapPtr, Tcl_Obj *keyPtr); /* 104 */ Tcl_HashTable * (*tkGetBitmapPredefTable) (void); /* 105 */ TkDisplay * (*tkGetDisplayList) (void); /* 106 */ TkMainInfo * (*tkGetMainInfoList) (void); /* 107 */ - int (*tkGetWindowFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr); /* 108 */ - char * (*tkpGetString) (TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr); /* 109 */ - void (*tkpGetSubFonts) (Tcl_Interp * interp, Tk_Font tkfont); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 111 */ + int (*tkGetWindowFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, Tk_Window *windowPtr); /* 108 */ + char * (*tkpGetString) (TkWindow *winPtr, XEvent *eventPtr, Tcl_DString *dsPtr); /* 109 */ + void (*tkpGetSubFonts) (Tcl_Interp *interp, Tk_Font tkfont); /* 110 */ + Tcl_Obj * (*tkpGetSystemDefault) (Tk_Window tkwin, CONST char *dbName, CONST char *className); /* 111 */ void (*tkpMenuThreadInit) (void); /* 112 */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void *reserved113; #endif /* X11 */ #ifdef __WIN32__ /* WIN */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ + void (*tkClipBox) (TkRegion rgn, XRectangle *rect_return); /* 113 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void *reserved113; /* Dummy entry for stubs table backwards compatibility */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ + void (*tkClipBox) (TkRegion rgn, XRectangle *rect_return); /* 113 */ #endif /* AQUA */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void *reserved114; @@ -1231,21 +1212,21 @@ typedef struct TkIntStubs { void *reserved118; #endif /* X11 */ #ifdef __WIN32__ /* WIN */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ + void (*tkSetRegion) (Display *display, GC gc, TkRegion rgn); /* 118 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void *reserved118; /* Dummy entry for stubs table backwards compatibility */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ + void (*tkSetRegion) (Display *display, GC gc, TkRegion rgn); /* 118 */ #endif /* AQUA */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void *reserved119; #endif /* X11 */ #ifdef __WIN32__ /* WIN */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ + void (*tkUnionRectWithRegion) (XRectangle *rect, TkRegion src, TkRegion dr_return); /* 119 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void *reserved119; /* Dummy entry for stubs table backwards compatibility */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ + void (*tkUnionRectWithRegion) (XRectangle *rect, TkRegion src, TkRegion dr_return); /* 119 */ #endif /* AQUA */ void *reserved120; #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ @@ -1256,7 +1237,7 @@ typedef struct TkIntStubs { #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void *reserved121; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpCreateNativeBitmap) (Display * display, CONST char * source); /* 121 */ + Pixmap (*tkpCreateNativeBitmap) (Display *display, CONST char *source); /* 121 */ #endif /* AQUA */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void *reserved122; @@ -1277,7 +1258,7 @@ typedef struct TkIntStubs { #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ void *reserved124; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpGetNativeAppBitmap) (Display * display, CONST char * name, int * width, int * height); /* 124 */ + Pixmap (*tkpGetNativeAppBitmap) (Display *display, CONST char *name, int *width, int *height); /* 124 */ #endif /* AQUA */ void *reserved125; void *reserved126; @@ -1290,15 +1271,15 @@ typedef struct TkIntStubs { void *reserved133; void *reserved134; void (*tkpDrawHighlightBorder) (Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable); /* 135 */ - void (*tkSetFocusWin) (TkWindow * winPtr, int force); /* 136 */ - void (*tkpSetKeycodeAndState) (Tk_Window tkwin, KeySym keySym, XEvent * eventPtr); /* 137 */ - KeySym (*tkpGetKeySym) (TkDisplay * dispPtr, XEvent * eventPtr); /* 138 */ - void (*tkpInitKeymapInfo) (TkDisplay * dispPtr); /* 139 */ + void (*tkSetFocusWin) (TkWindow *winPtr, int force); /* 136 */ + void (*tkpSetKeycodeAndState) (Tk_Window tkwin, KeySym keySym, XEvent *eventPtr); /* 137 */ + KeySym (*tkpGetKeySym) (TkDisplay *dispPtr, XEvent *eventPtr); /* 138 */ + void (*tkpInitKeymapInfo) (TkDisplay *dispPtr); /* 139 */ TkRegion (*tkPhotoGetValidRegion) (Tk_PhotoHandle handle); /* 140 */ - TkWindow ** (*tkWmStackorderToplevel) (TkWindow * parentPtr); /* 141 */ - void (*tkFocusFree) (TkMainInfo * mainPtr); /* 142 */ - void (*tkClipCleanup) (TkDisplay * dispPtr); /* 143 */ - void (*tkGCCleanup) (TkDisplay * dispPtr); /* 144 */ + TkWindow ** (*tkWmStackorderToplevel) (TkWindow *parentPtr); /* 141 */ + void (*tkFocusFree) (TkMainInfo *mainPtr); /* 142 */ + void (*tkClipCleanup) (TkDisplay *dispPtr); /* 143 */ + void (*tkGCCleanup) (TkDisplay *dispPtr); /* 144 */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void *reserved145; #endif /* X11 */ @@ -1309,18 +1290,18 @@ typedef struct TkIntStubs { void *reserved145; /* Dummy entry for stubs table backwards compatibility */ void (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */ #endif /* AQUA */ - void (*tkStylePkgInit) (TkMainInfo * mainPtr); /* 146 */ - void (*tkStylePkgFree) (TkMainInfo * mainPtr); /* 147 */ - Tk_Window (*tkToplevelWindowForCommand) (Tcl_Interp * interp, CONST char * cmdName); /* 148 */ - CONST Tk_OptionSpec * (*tkGetOptionSpec) (CONST char * name, Tk_OptionTable optionTable); /* 149 */ - int (*tkMakeRawCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 150 */ - void (*tkMakeRawCurvePostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 151 */ + void (*tkStylePkgInit) (TkMainInfo *mainPtr); /* 146 */ + void (*tkStylePkgFree) (TkMainInfo *mainPtr); /* 147 */ + Tk_Window (*tkToplevelWindowForCommand) (Tcl_Interp *interp, CONST char *cmdName); /* 148 */ + CONST Tk_OptionSpec * (*tkGetOptionSpec) (CONST char *name, Tk_OptionTable optionTable); /* 149 */ + int (*tkMakeRawCurve) (Tk_Canvas canvas, double *pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 150 */ + void (*tkMakeRawCurvePostscript) (Tcl_Interp *interp, Tk_Canvas canvas, double *pointPtr, int numPoints); /* 151 */ void (*tkpDrawFrame) (Tk_Window tkwin, Tk_3DBorder border, int highlightWidth, int borderWidth, int relief); /* 152 */ - void (*tkCreateThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 153 */ - void (*tkDeleteThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 154 */ + void (*tkCreateThreadExitHandler) (Tcl_ExitProc *proc, ClientData clientData); /* 153 */ + void (*tkDeleteThreadExitHandler) (Tcl_ExitProc *proc, ClientData clientData); /* 154 */ void *reserved155; - int (*tkpTestembedCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 156 */ - int (*tkpTesttextCmd) (ClientData dummy, Tcl_Interp * interp, int argc, CONST char ** argv); /* 157 */ + int (*tkpTestembedCmd) (ClientData clientData, Tcl_Interp *interp, int argc, CONST char **argv); /* 156 */ + int (*tkpTesttextCmd) (ClientData dummy, Tcl_Interp *interp, int argc, CONST char **argv); /* 157 */ void *reserved158; void *reserved159; void *reserved160; @@ -1332,18 +1313,18 @@ typedef struct TkIntStubs { void *reserved166; void *reserved167; void *reserved168; - int (*tkStateParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, const char * value, char * widgRec, int offset); /* 169 */ - char * (*tkStatePrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 170 */ - int (*tkCanvasDashParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, const char * value, char * widgRec, int offset); /* 171 */ - char * (*tkCanvasDashPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 172 */ - int (*tkOffsetParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, const char * value, char * widgRec, int offset); /* 173 */ - char * (*tkOffsetPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 174 */ - int (*tkPixelParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, const char * value, char * widgRec, int offset); /* 175 */ - char * (*tkPixelPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 176 */ - int (*tkOrientParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, CONST char * value, char * widgRec, int offset); /* 177 */ - char * (*tkOrientPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 178 */ - int (*tkSmoothParseProc) (ClientData clientData, Tcl_Interp * interp, Tk_Window tkwin, CONST char * value, char * widgRec, int offset); /* 179 */ - char * (*tkSmoothPrintProc) (ClientData clientData, Tk_Window tkwin, char * widgRec, int offset, Tcl_FreeProc ** freeProcPtr); /* 180 */ + int (*tkStateParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 169 */ + char * (*tkStatePrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 170 */ + int (*tkCanvasDashParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 171 */ + char * (*tkCanvasDashPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 172 */ + int (*tkOffsetParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 173 */ + char * (*tkOffsetPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 174 */ + int (*tkPixelParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 175 */ + char * (*tkPixelPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 176 */ + int (*tkOrientParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 177 */ + char * (*tkOrientPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 178 */ + int (*tkSmoothParseProc) (ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, CONST char *value, char *widgRec, int offset); /* 179 */ + char * (*tkSmoothPrintProc) (ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr); /* 180 */ } TkIntStubs; #ifdef __cplusplus diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index f7a50f9..22f7b37 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.29.2.1 2009/12/02 22:20:01 nijtmans Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.29.2.2 2010/02/07 23:24:13 nijtmans Exp $ */ #ifndef _TKINTPLATDECLS @@ -36,198 +36,196 @@ #ifndef TkAlignImageData_TCL_DECLARED #define TkAlignImageData_TCL_DECLARED /* 0 */ -EXTERN char * TkAlignImageData (XImage * image, int alignment, +EXTERN char * TkAlignImageData(XImage *image, int alignment, int bitOrder); #endif /* Slot 1 is reserved */ #ifndef TkGenerateActivateEvents_TCL_DECLARED #define TkGenerateActivateEvents_TCL_DECLARED /* 2 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, +EXTERN void TkGenerateActivateEvents(TkWindow *winPtr, int active); #endif #ifndef TkpGetMS_TCL_DECLARED #define TkpGetMS_TCL_DECLARED /* 3 */ -EXTERN unsigned long TkpGetMS (void); +EXTERN unsigned long TkpGetMS(void); #endif #ifndef TkPointerDeadWindow_TCL_DECLARED #define TkPointerDeadWindow_TCL_DECLARED /* 4 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); +EXTERN void TkPointerDeadWindow(TkWindow *winPtr); #endif #ifndef TkpPrintWindowId_TCL_DECLARED #define TkpPrintWindowId_TCL_DECLARED /* 5 */ -EXTERN void TkpPrintWindowId (char * buf, Window window); +EXTERN void TkpPrintWindowId(char *buf, Window window); #endif #ifndef TkpScanWindowId_TCL_DECLARED #define TkpScanWindowId_TCL_DECLARED /* 6 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); +EXTERN int TkpScanWindowId(Tcl_Interp *interp, + CONST char *string, Window *idPtr); #endif #ifndef TkpSetCapture_TCL_DECLARED #define TkpSetCapture_TCL_DECLARED /* 7 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); +EXTERN void TkpSetCapture(TkWindow *winPtr); #endif #ifndef TkpSetCursor_TCL_DECLARED #define TkpSetCursor_TCL_DECLARED /* 8 */ -EXTERN void TkpSetCursor (TkpCursor cursor); +EXTERN void TkpSetCursor(TkpCursor cursor); #endif #ifndef TkpWmSetState_TCL_DECLARED #define TkpWmSetState_TCL_DECLARED /* 9 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); +EXTERN void TkpWmSetState(TkWindow *winPtr, int state); #endif #ifndef TkSetPixmapColormap_TCL_DECLARED #define TkSetPixmapColormap_TCL_DECLARED /* 10 */ -EXTERN void TkSetPixmapColormap (Pixmap pixmap, - Colormap colormap); +EXTERN void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap); #endif #ifndef TkWinCancelMouseTimer_TCL_DECLARED #define TkWinCancelMouseTimer_TCL_DECLARED /* 11 */ -EXTERN void TkWinCancelMouseTimer (void); +EXTERN void TkWinCancelMouseTimer(void); #endif #ifndef TkWinClipboardRender_TCL_DECLARED #define TkWinClipboardRender_TCL_DECLARED /* 12 */ -EXTERN void TkWinClipboardRender (TkDisplay * dispPtr, - UINT format); +EXTERN void TkWinClipboardRender(TkDisplay *dispPtr, UINT format); #endif #ifndef TkWinEmbeddedEventProc_TCL_DECLARED #define TkWinEmbeddedEventProc_TCL_DECLARED /* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc (HWND hwnd, UINT message, +EXTERN LRESULT TkWinEmbeddedEventProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); #endif #ifndef TkWinFillRect_TCL_DECLARED #define TkWinFillRect_TCL_DECLARED /* 14 */ -EXTERN void TkWinFillRect (HDC dc, int x, int y, int width, +EXTERN void TkWinFillRect(HDC dc, int x, int y, int width, int height, int pixel); #endif #ifndef TkWinGetBorderPixels_TCL_DECLARED #define TkWinGetBorderPixels_TCL_DECLARED /* 15 */ -EXTERN COLORREF TkWinGetBorderPixels (Tk_Window tkwin, +EXTERN COLORREF TkWinGetBorderPixels(Tk_Window tkwin, Tk_3DBorder border, int which); #endif #ifndef TkWinGetDrawableDC_TCL_DECLARED #define TkWinGetDrawableDC_TCL_DECLARED /* 16 */ -EXTERN HDC TkWinGetDrawableDC (Display * display, Drawable d, - TkWinDCState * state); +EXTERN HDC TkWinGetDrawableDC(Display *display, Drawable d, + TkWinDCState *state); #endif #ifndef TkWinGetModifierState_TCL_DECLARED #define TkWinGetModifierState_TCL_DECLARED /* 17 */ -EXTERN int TkWinGetModifierState (void); +EXTERN int TkWinGetModifierState(void); #endif #ifndef TkWinGetSystemPalette_TCL_DECLARED #define TkWinGetSystemPalette_TCL_DECLARED /* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette (void); +EXTERN HPALETTE TkWinGetSystemPalette(void); #endif #ifndef TkWinGetWrapperWindow_TCL_DECLARED #define TkWinGetWrapperWindow_TCL_DECLARED /* 19 */ -EXTERN HWND TkWinGetWrapperWindow (Tk_Window tkwin); +EXTERN HWND TkWinGetWrapperWindow(Tk_Window tkwin); #endif #ifndef TkWinHandleMenuEvent_TCL_DECLARED #define TkWinHandleMenuEvent_TCL_DECLARED /* 20 */ -EXTERN int TkWinHandleMenuEvent (HWND * phwnd, UINT * pMessage, - WPARAM * pwParam, LPARAM * plParam, - LRESULT * plResult); +EXTERN int TkWinHandleMenuEvent(HWND *phwnd, UINT *pMessage, + WPARAM *pwParam, LPARAM *plParam, + LRESULT *plResult); #endif #ifndef TkWinIndexOfColor_TCL_DECLARED #define TkWinIndexOfColor_TCL_DECLARED /* 21 */ -EXTERN int TkWinIndexOfColor (XColor * colorPtr); +EXTERN int TkWinIndexOfColor(XColor *colorPtr); #endif #ifndef TkWinReleaseDrawableDC_TCL_DECLARED #define TkWinReleaseDrawableDC_TCL_DECLARED /* 22 */ -EXTERN void TkWinReleaseDrawableDC (Drawable d, HDC hdc, - TkWinDCState * state); +EXTERN void TkWinReleaseDrawableDC(Drawable d, HDC hdc, + TkWinDCState *state); #endif #ifndef TkWinResendEvent_TCL_DECLARED #define TkWinResendEvent_TCL_DECLARED /* 23 */ -EXTERN LRESULT TkWinResendEvent (WNDPROC wndproc, HWND hwnd, - XEvent * eventPtr); +EXTERN LRESULT TkWinResendEvent(WNDPROC wndproc, HWND hwnd, + XEvent *eventPtr); #endif #ifndef TkWinSelectPalette_TCL_DECLARED #define TkWinSelectPalette_TCL_DECLARED /* 24 */ -EXTERN HPALETTE TkWinSelectPalette (HDC dc, Colormap colormap); +EXTERN HPALETTE TkWinSelectPalette(HDC dc, Colormap colormap); #endif #ifndef TkWinSetMenu_TCL_DECLARED #define TkWinSetMenu_TCL_DECLARED /* 25 */ -EXTERN void TkWinSetMenu (Tk_Window tkwin, HMENU hMenu); +EXTERN void TkWinSetMenu(Tk_Window tkwin, HMENU hMenu); #endif #ifndef TkWinSetWindowPos_TCL_DECLARED #define TkWinSetWindowPos_TCL_DECLARED /* 26 */ -EXTERN void TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, +EXTERN void TkWinSetWindowPos(HWND hwnd, HWND siblingHwnd, int pos); #endif #ifndef TkWinWmCleanup_TCL_DECLARED #define TkWinWmCleanup_TCL_DECLARED /* 27 */ -EXTERN void TkWinWmCleanup (HINSTANCE hInstance); +EXTERN void TkWinWmCleanup(HINSTANCE hInstance); #endif #ifndef TkWinXCleanup_TCL_DECLARED #define TkWinXCleanup_TCL_DECLARED /* 28 */ -EXTERN void TkWinXCleanup (ClientData clientData); +EXTERN void TkWinXCleanup(ClientData clientData); #endif #ifndef TkWinXInit_TCL_DECLARED #define TkWinXInit_TCL_DECLARED /* 29 */ -EXTERN void TkWinXInit (HINSTANCE hInstance); +EXTERN void TkWinXInit(HINSTANCE hInstance); #endif #ifndef TkWinSetForegroundWindow_TCL_DECLARED #define TkWinSetForegroundWindow_TCL_DECLARED /* 30 */ -EXTERN void TkWinSetForegroundWindow (TkWindow * winPtr); +EXTERN void TkWinSetForegroundWindow(TkWindow *winPtr); #endif #ifndef TkWinDialogDebug_TCL_DECLARED #define TkWinDialogDebug_TCL_DECLARED /* 31 */ -EXTERN void TkWinDialogDebug (int debug); +EXTERN void TkWinDialogDebug(int debug); #endif #ifndef TkWinGetMenuSystemDefault_TCL_DECLARED #define TkWinGetMenuSystemDefault_TCL_DECLARED /* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); +EXTERN Tcl_Obj * TkWinGetMenuSystemDefault(Tk_Window tkwin, + CONST char *dbName, CONST char *className); #endif #ifndef TkWinGetPlatformId_TCL_DECLARED #define TkWinGetPlatformId_TCL_DECLARED /* 33 */ -EXTERN int TkWinGetPlatformId (void); +EXTERN int TkWinGetPlatformId(void); #endif #ifndef TkWinSetHINSTANCE_TCL_DECLARED #define TkWinSetHINSTANCE_TCL_DECLARED /* 34 */ -EXTERN void TkWinSetHINSTANCE (HINSTANCE hInstance); +EXTERN void TkWinSetHINSTANCE(HINSTANCE hInstance); #endif #ifndef TkWinGetPlatformTheme_TCL_DECLARED #define TkWinGetPlatformTheme_TCL_DECLARED /* 35 */ -EXTERN int TkWinGetPlatformTheme (void); +EXTERN int TkWinGetPlatformTheme(void); #endif #ifndef TkWinChildProc_TCL_DECLARED #define TkWinChildProc_TCL_DECLARED /* 36 */ -EXTERN LRESULT CALLBACK TkWinChildProc (HWND hwnd, UINT message, +EXTERN LRESULT CALLBACK TkWinChildProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); #endif #endif /* WIN */ @@ -235,7 +233,7 @@ EXTERN LRESULT CALLBACK TkWinChildProc (HWND hwnd, UINT message, #ifndef TkGenerateActivateEvents_TCL_DECLARED #define TkGenerateActivateEvents_TCL_DECLARED /* 0 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, +EXTERN void TkGenerateActivateEvents(TkWindow *winPtr, int active); #endif /* Slot 1 is reserved */ @@ -243,75 +241,75 @@ EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, #ifndef TkPointerDeadWindow_TCL_DECLARED #define TkPointerDeadWindow_TCL_DECLARED /* 3 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); +EXTERN void TkPointerDeadWindow(TkWindow *winPtr); #endif #ifndef TkpSetCapture_TCL_DECLARED #define TkpSetCapture_TCL_DECLARED /* 4 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); +EXTERN void TkpSetCapture(TkWindow *winPtr); #endif #ifndef TkpSetCursor_TCL_DECLARED #define TkpSetCursor_TCL_DECLARED /* 5 */ -EXTERN void TkpSetCursor (TkpCursor cursor); +EXTERN void TkpSetCursor(TkpCursor cursor); #endif #ifndef TkpWmSetState_TCL_DECLARED #define TkpWmSetState_TCL_DECLARED /* 6 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); +EXTERN void TkpWmSetState(TkWindow *winPtr, int state); #endif #ifndef TkAboutDlg_TCL_DECLARED #define TkAboutDlg_TCL_DECLARED /* 7 */ -EXTERN void TkAboutDlg (void); +EXTERN void TkAboutDlg(void); #endif #ifndef TkMacOSXButtonKeyState_TCL_DECLARED #define TkMacOSXButtonKeyState_TCL_DECLARED /* 8 */ -EXTERN unsigned int TkMacOSXButtonKeyState (void); +EXTERN unsigned int TkMacOSXButtonKeyState(void); #endif #ifndef TkMacOSXClearMenubarActive_TCL_DECLARED #define TkMacOSXClearMenubarActive_TCL_DECLARED /* 9 */ -EXTERN void TkMacOSXClearMenubarActive (void); +EXTERN void TkMacOSXClearMenubarActive(void); #endif #ifndef TkMacOSXDispatchMenuEvent_TCL_DECLARED #define TkMacOSXDispatchMenuEvent_TCL_DECLARED /* 10 */ -EXTERN int TkMacOSXDispatchMenuEvent (int menuID, int index); +EXTERN int TkMacOSXDispatchMenuEvent(int menuID, int index); #endif #ifndef TkMacOSXInstallCursor_TCL_DECLARED #define TkMacOSXInstallCursor_TCL_DECLARED /* 11 */ -EXTERN void TkMacOSXInstallCursor (int resizeOverride); +EXTERN void TkMacOSXInstallCursor(int resizeOverride); #endif #ifndef TkMacOSXHandleTearoffMenu_TCL_DECLARED #define TkMacOSXHandleTearoffMenu_TCL_DECLARED /* 12 */ -EXTERN void TkMacOSXHandleTearoffMenu (void); +EXTERN void TkMacOSXHandleTearoffMenu(void); #endif /* Slot 13 is reserved */ #ifndef TkMacOSXDoHLEvent_TCL_DECLARED #define TkMacOSXDoHLEvent_TCL_DECLARED /* 14 */ -EXTERN int TkMacOSXDoHLEvent (EventRecord * theEvent); +EXTERN int TkMacOSXDoHLEvent(EventRecord *theEvent); #endif /* Slot 15 is reserved */ #ifndef TkMacOSXGetXWindow_TCL_DECLARED #define TkMacOSXGetXWindow_TCL_DECLARED /* 16 */ -EXTERN Window TkMacOSXGetXWindow (WindowRef macWinPtr); +EXTERN Window TkMacOSXGetXWindow(WindowRef macWinPtr); #endif #ifndef TkMacOSXGrowToplevel_TCL_DECLARED #define TkMacOSXGrowToplevel_TCL_DECLARED /* 17 */ -EXTERN int TkMacOSXGrowToplevel (WindowRef whichWindow, +EXTERN int TkMacOSXGrowToplevel(WindowRef whichWindow, Point start); #endif #ifndef TkMacOSXHandleMenuSelect_TCL_DECLARED #define TkMacOSXHandleMenuSelect_TCL_DECLARED /* 18 */ -EXTERN void TkMacOSXHandleMenuSelect (MenuID theMenu, +EXTERN void TkMacOSXHandleMenuSelect(MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed); #endif /* Slot 19 is reserved */ @@ -319,244 +317,242 @@ EXTERN void TkMacOSXHandleMenuSelect (MenuID theMenu, #ifndef TkMacOSXInvalidateWindow_TCL_DECLARED #define TkMacOSXInvalidateWindow_TCL_DECLARED /* 21 */ -EXTERN void TkMacOSXInvalidateWindow (MacDrawable * macWin, +EXTERN void TkMacOSXInvalidateWindow(MacDrawable *macWin, int flag); #endif #ifndef TkMacOSXIsCharacterMissing_TCL_DECLARED #define TkMacOSXIsCharacterMissing_TCL_DECLARED /* 22 */ -EXTERN int TkMacOSXIsCharacterMissing (Tk_Font tkfont, +EXTERN int TkMacOSXIsCharacterMissing(Tk_Font tkfont, unsigned int searchChar); #endif #ifndef TkMacOSXMakeRealWindowExist_TCL_DECLARED #define TkMacOSXMakeRealWindowExist_TCL_DECLARED /* 23 */ -EXTERN void TkMacOSXMakeRealWindowExist (TkWindow * winPtr); +EXTERN void TkMacOSXMakeRealWindowExist(TkWindow *winPtr); #endif #ifndef TkMacOSXMakeStippleMap_TCL_DECLARED #define TkMacOSXMakeStippleMap_TCL_DECLARED /* 24 */ -EXTERN BitMapPtr TkMacOSXMakeStippleMap (Drawable d1, Drawable d2); +EXTERN BitMapPtr TkMacOSXMakeStippleMap(Drawable d1, Drawable d2); #endif #ifndef TkMacOSXMenuClick_TCL_DECLARED #define TkMacOSXMenuClick_TCL_DECLARED /* 25 */ -EXTERN void TkMacOSXMenuClick (void); +EXTERN void TkMacOSXMenuClick(void); #endif #ifndef TkMacOSXRegisterOffScreenWindow_TCL_DECLARED #define TkMacOSXRegisterOffScreenWindow_TCL_DECLARED /* 26 */ -EXTERN void TkMacOSXRegisterOffScreenWindow (Window window, +EXTERN void TkMacOSXRegisterOffScreenWindow(Window window, GWorldPtr portPtr); #endif #ifndef TkMacOSXResizable_TCL_DECLARED #define TkMacOSXResizable_TCL_DECLARED /* 27 */ -EXTERN int TkMacOSXResizable (TkWindow * winPtr); +EXTERN int TkMacOSXResizable(TkWindow *winPtr); #endif #ifndef TkMacOSXSetHelpMenuItemCount_TCL_DECLARED #define TkMacOSXSetHelpMenuItemCount_TCL_DECLARED /* 28 */ -EXTERN void TkMacOSXSetHelpMenuItemCount (void); +EXTERN void TkMacOSXSetHelpMenuItemCount(void); #endif #ifndef TkMacOSXSetScrollbarGrow_TCL_DECLARED #define TkMacOSXSetScrollbarGrow_TCL_DECLARED /* 29 */ -EXTERN void TkMacOSXSetScrollbarGrow (TkWindow * winPtr, - int flag); +EXTERN void TkMacOSXSetScrollbarGrow(TkWindow *winPtr, int flag); #endif #ifndef TkMacOSXSetUpClippingRgn_TCL_DECLARED #define TkMacOSXSetUpClippingRgn_TCL_DECLARED /* 30 */ -EXTERN void TkMacOSXSetUpClippingRgn (Drawable drawable); +EXTERN void TkMacOSXSetUpClippingRgn(Drawable drawable); #endif #ifndef TkMacOSXSetUpGraphicsPort_TCL_DECLARED #define TkMacOSXSetUpGraphicsPort_TCL_DECLARED /* 31 */ -EXTERN void TkMacOSXSetUpGraphicsPort (GC gc, GWorldPtr destPort); +EXTERN void TkMacOSXSetUpGraphicsPort(GC gc, GWorldPtr destPort); #endif #ifndef TkMacOSXUpdateClipRgn_TCL_DECLARED #define TkMacOSXUpdateClipRgn_TCL_DECLARED /* 32 */ -EXTERN void TkMacOSXUpdateClipRgn (TkWindow * winPtr); +EXTERN void TkMacOSXUpdateClipRgn(TkWindow *winPtr); #endif #ifndef TkMacOSXUnregisterMacWindow_TCL_DECLARED #define TkMacOSXUnregisterMacWindow_TCL_DECLARED /* 33 */ -EXTERN void TkMacOSXUnregisterMacWindow (WindowRef portPtr); +EXTERN void TkMacOSXUnregisterMacWindow(WindowRef portPtr); #endif #ifndef TkMacOSXUseMenuID_TCL_DECLARED #define TkMacOSXUseMenuID_TCL_DECLARED /* 34 */ -EXTERN int TkMacOSXUseMenuID (short macID); +EXTERN int TkMacOSXUseMenuID(short macID); #endif #ifndef TkMacOSXVisableClipRgn_TCL_DECLARED #define TkMacOSXVisableClipRgn_TCL_DECLARED /* 35 */ -EXTERN RgnHandle TkMacOSXVisableClipRgn (TkWindow * winPtr); +EXTERN RgnHandle TkMacOSXVisableClipRgn(TkWindow *winPtr); #endif #ifndef TkMacOSXWinBounds_TCL_DECLARED #define TkMacOSXWinBounds_TCL_DECLARED /* 36 */ -EXTERN void TkMacOSXWinBounds (TkWindow * winPtr, - Rect * geometry); +EXTERN void TkMacOSXWinBounds(TkWindow *winPtr, Rect *geometry); #endif #ifndef TkMacOSXWindowOffset_TCL_DECLARED #define TkMacOSXWindowOffset_TCL_DECLARED /* 37 */ -EXTERN void TkMacOSXWindowOffset (WindowRef wRef, int * xOffset, - int * yOffset); +EXTERN void TkMacOSXWindowOffset(WindowRef wRef, int *xOffset, + int *yOffset); #endif #ifndef TkSetMacColor_TCL_DECLARED #define TkSetMacColor_TCL_DECLARED /* 38 */ -EXTERN int TkSetMacColor (unsigned long pixel, - RGBColor * macColor); +EXTERN int TkSetMacColor(unsigned long pixel, + RGBColor *macColor); #endif #ifndef TkSetWMName_TCL_DECLARED #define TkSetWMName_TCL_DECLARED /* 39 */ -EXTERN void TkSetWMName (TkWindow * winPtr, Tk_Uid titleUid); +EXTERN void TkSetWMName(TkWindow *winPtr, Tk_Uid titleUid); #endif #ifndef TkSuspendClipboard_TCL_DECLARED #define TkSuspendClipboard_TCL_DECLARED /* 40 */ -EXTERN void TkSuspendClipboard (void); +EXTERN void TkSuspendClipboard(void); #endif #ifndef TkMacOSXZoomToplevel_TCL_DECLARED #define TkMacOSXZoomToplevel_TCL_DECLARED /* 41 */ -EXTERN int TkMacOSXZoomToplevel (WindowPtr whichWindow, +EXTERN int TkMacOSXZoomToplevel(WindowPtr whichWindow, short zoomPart); #endif #ifndef Tk_TopCoordsToWindow_TCL_DECLARED #define Tk_TopCoordsToWindow_TCL_DECLARED /* 42 */ -EXTERN Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, int rootX, - int rootY, int * newX, int * newY); +EXTERN Tk_Window Tk_TopCoordsToWindow(Tk_Window tkwin, int rootX, + int rootY, int *newX, int *newY); #endif #ifndef TkMacOSXContainerId_TCL_DECLARED #define TkMacOSXContainerId_TCL_DECLARED /* 43 */ -EXTERN MacDrawable * TkMacOSXContainerId (TkWindow * winPtr); +EXTERN MacDrawable * TkMacOSXContainerId(TkWindow *winPtr); #endif #ifndef TkMacOSXGetHostToplevel_TCL_DECLARED #define TkMacOSXGetHostToplevel_TCL_DECLARED /* 44 */ -EXTERN MacDrawable * TkMacOSXGetHostToplevel (TkWindow * winPtr); +EXTERN MacDrawable * TkMacOSXGetHostToplevel(TkWindow *winPtr); #endif #ifndef TkMacOSXPreprocessMenu_TCL_DECLARED #define TkMacOSXPreprocessMenu_TCL_DECLARED /* 45 */ -EXTERN void TkMacOSXPreprocessMenu (void); +EXTERN void TkMacOSXPreprocessMenu(void); #endif #ifndef TkpIsWindowFloating_TCL_DECLARED #define TkpIsWindowFloating_TCL_DECLARED /* 46 */ -EXTERN int TkpIsWindowFloating (WindowRef window); +EXTERN int TkpIsWindowFloating(WindowRef window); #endif #ifndef TkMacOSXGetCapture_TCL_DECLARED #define TkMacOSXGetCapture_TCL_DECLARED /* 47 */ -EXTERN Tk_Window TkMacOSXGetCapture (void); +EXTERN Tk_Window TkMacOSXGetCapture(void); #endif /* Slot 48 is reserved */ #ifndef TkGetTransientMaster_TCL_DECLARED #define TkGetTransientMaster_TCL_DECLARED /* 49 */ -EXTERN Window TkGetTransientMaster (TkWindow * winPtr); +EXTERN Window TkGetTransientMaster(TkWindow *winPtr); #endif #ifndef TkGenerateButtonEvent_TCL_DECLARED #define TkGenerateButtonEvent_TCL_DECLARED /* 50 */ -EXTERN int TkGenerateButtonEvent (int x, int y, Window window, +EXTERN int TkGenerateButtonEvent(int x, int y, Window window, unsigned int state); #endif #ifndef TkGenWMDestroyEvent_TCL_DECLARED #define TkGenWMDestroyEvent_TCL_DECLARED /* 51 */ -EXTERN void TkGenWMDestroyEvent (Tk_Window tkwin); +EXTERN void TkGenWMDestroyEvent(Tk_Window tkwin); #endif /* Slot 52 is reserved */ #ifndef TkpGetMS_TCL_DECLARED #define TkpGetMS_TCL_DECLARED /* 53 */ -EXTERN unsigned long TkpGetMS (void); +EXTERN unsigned long TkpGetMS(void); #endif #endif /* AQUA */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ #ifndef TkCreateXEventSource_TCL_DECLARED #define TkCreateXEventSource_TCL_DECLARED /* 0 */ -EXTERN void TkCreateXEventSource (void); +EXTERN void TkCreateXEventSource(void); #endif #ifndef TkFreeWindowId_TCL_DECLARED #define TkFreeWindowId_TCL_DECLARED /* 1 */ -EXTERN void TkFreeWindowId (TkDisplay * dispPtr, Window w); +EXTERN void TkFreeWindowId(TkDisplay *dispPtr, Window w); #endif #ifndef TkInitXId_TCL_DECLARED #define TkInitXId_TCL_DECLARED /* 2 */ -EXTERN void TkInitXId (TkDisplay * dispPtr); +EXTERN void TkInitXId(TkDisplay *dispPtr); #endif #ifndef TkpCmapStressed_TCL_DECLARED #define TkpCmapStressed_TCL_DECLARED /* 3 */ -EXTERN int TkpCmapStressed (Tk_Window tkwin, Colormap colormap); +EXTERN int TkpCmapStressed(Tk_Window tkwin, Colormap colormap); #endif #ifndef TkpSync_TCL_DECLARED #define TkpSync_TCL_DECLARED /* 4 */ -EXTERN void TkpSync (Display * display); +EXTERN void TkpSync(Display *display); #endif #ifndef TkUnixContainerId_TCL_DECLARED #define TkUnixContainerId_TCL_DECLARED /* 5 */ -EXTERN Window TkUnixContainerId (TkWindow * winPtr); +EXTERN Window TkUnixContainerId(TkWindow *winPtr); #endif #ifndef TkUnixDoOneXEvent_TCL_DECLARED #define TkUnixDoOneXEvent_TCL_DECLARED /* 6 */ -EXTERN int TkUnixDoOneXEvent (Tcl_Time * timePtr); +EXTERN int TkUnixDoOneXEvent(Tcl_Time *timePtr); #endif #ifndef TkUnixSetMenubar_TCL_DECLARED #define TkUnixSetMenubar_TCL_DECLARED /* 7 */ -EXTERN void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar); +EXTERN void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar); #endif #ifndef TkpScanWindowId_TCL_DECLARED #define TkpScanWindowId_TCL_DECLARED /* 8 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); +EXTERN int TkpScanWindowId(Tcl_Interp *interp, + CONST char *string, Window *idPtr); #endif #ifndef TkWmCleanup_TCL_DECLARED #define TkWmCleanup_TCL_DECLARED /* 9 */ -EXTERN void TkWmCleanup (TkDisplay * dispPtr); +EXTERN void TkWmCleanup(TkDisplay *dispPtr); #endif #ifndef TkSendCleanup_TCL_DECLARED #define TkSendCleanup_TCL_DECLARED /* 10 */ -EXTERN void TkSendCleanup (TkDisplay * dispPtr); +EXTERN void TkSendCleanup(TkDisplay *dispPtr); #endif #ifndef TkFreeXId_TCL_DECLARED #define TkFreeXId_TCL_DECLARED /* 11 */ -EXTERN void TkFreeXId (TkDisplay * dispPtr); +EXTERN void TkFreeXId(TkDisplay *dispPtr); #endif #ifndef TkpWmSetState_TCL_DECLARED #define TkpWmSetState_TCL_DECLARED /* 12 */ -EXTERN int TkpWmSetState (TkWindow * winPtr, int state); +EXTERN int TkpWmSetState(TkWindow *winPtr, int state); #endif #ifndef TkpTestsendCmd_TCL_DECLARED #define TkpTestsendCmd_TCL_DECLARED /* 13 */ -EXTERN int TkpTestsendCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); +EXTERN int TkpTestsendCmd(ClientData clientData, + Tcl_Interp *interp, int argc, + CONST char **argv); #endif #endif /* X11 */ @@ -565,52 +561,52 @@ typedef struct TkIntPlatStubs { struct TkIntPlatStubHooks *hooks; #ifdef __WIN32__ /* WIN */ - char * (*tkAlignImageData) (XImage * image, int alignment, int bitOrder); /* 0 */ + char * (*tkAlignImageData) (XImage *image, int alignment, int bitOrder); /* 0 */ void *reserved1; - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 2 */ + void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active); /* 2 */ unsigned long (*tkpGetMS) (void); /* 3 */ - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 4 */ - void (*tkpPrintWindowId) (char * buf, Window window); /* 5 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 6 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 7 */ + void (*tkPointerDeadWindow) (TkWindow *winPtr); /* 4 */ + void (*tkpPrintWindowId) (char *buf, Window window); /* 5 */ + int (*tkpScanWindowId) (Tcl_Interp *interp, CONST char *string, Window *idPtr); /* 6 */ + void (*tkpSetCapture) (TkWindow *winPtr); /* 7 */ void (*tkpSetCursor) (TkpCursor cursor); /* 8 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 9 */ + void (*tkpWmSetState) (TkWindow *winPtr, int state); /* 9 */ void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap); /* 10 */ void (*tkWinCancelMouseTimer) (void); /* 11 */ - void (*tkWinClipboardRender) (TkDisplay * dispPtr, UINT format); /* 12 */ + void (*tkWinClipboardRender) (TkDisplay *dispPtr, UINT format); /* 12 */ LRESULT (*tkWinEmbeddedEventProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 13 */ void (*tkWinFillRect) (HDC dc, int x, int y, int width, int height, int pixel); /* 14 */ COLORREF (*tkWinGetBorderPixels) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 15 */ - HDC (*tkWinGetDrawableDC) (Display * display, Drawable d, TkWinDCState * state); /* 16 */ + HDC (*tkWinGetDrawableDC) (Display *display, Drawable d, TkWinDCState *state); /* 16 */ int (*tkWinGetModifierState) (void); /* 17 */ HPALETTE (*tkWinGetSystemPalette) (void); /* 18 */ HWND (*tkWinGetWrapperWindow) (Tk_Window tkwin); /* 19 */ - int (*tkWinHandleMenuEvent) (HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult); /* 20 */ - int (*tkWinIndexOfColor) (XColor * colorPtr); /* 21 */ - void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState * state); /* 22 */ - LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent * eventPtr); /* 23 */ + int (*tkWinHandleMenuEvent) (HWND *phwnd, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, LRESULT *plResult); /* 20 */ + int (*tkWinIndexOfColor) (XColor *colorPtr); /* 21 */ + void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState *state); /* 22 */ + LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr); /* 23 */ HPALETTE (*tkWinSelectPalette) (HDC dc, Colormap colormap); /* 24 */ void (*tkWinSetMenu) (Tk_Window tkwin, HMENU hMenu); /* 25 */ void (*tkWinSetWindowPos) (HWND hwnd, HWND siblingHwnd, int pos); /* 26 */ void (*tkWinWmCleanup) (HINSTANCE hInstance); /* 27 */ void (*tkWinXCleanup) (ClientData clientData); /* 28 */ void (*tkWinXInit) (HINSTANCE hInstance); /* 29 */ - void (*tkWinSetForegroundWindow) (TkWindow * winPtr); /* 30 */ + void (*tkWinSetForegroundWindow) (TkWindow *winPtr); /* 30 */ void (*tkWinDialogDebug) (int debug); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 32 */ + Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, CONST char *dbName, CONST char *className); /* 32 */ int (*tkWinGetPlatformId) (void); /* 33 */ void (*tkWinSetHINSTANCE) (HINSTANCE hInstance); /* 34 */ int (*tkWinGetPlatformTheme) (void); /* 35 */ LRESULT (CALLBACK *tkWinChildProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 36 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 0 */ + void (*tkGenerateActivateEvents) (TkWindow *winPtr, int active); /* 0 */ void *reserved1; void *reserved2; - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 4 */ + void (*tkPointerDeadWindow) (TkWindow *winPtr); /* 3 */ + void (*tkpSetCapture) (TkWindow *winPtr); /* 4 */ void (*tkpSetCursor) (TkpCursor cursor); /* 5 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 6 */ + void (*tkpWmSetState) (TkWindow *winPtr, int state); /* 6 */ void (*tkAboutDlg) (void); /* 7 */ unsigned int (*tkMacOSXButtonKeyState) (void); /* 8 */ void (*tkMacOSXClearMenubarActive) (void); /* 9 */ @@ -618,42 +614,42 @@ typedef struct TkIntPlatStubs { void (*tkMacOSXInstallCursor) (int resizeOverride); /* 11 */ void (*tkMacOSXHandleTearoffMenu) (void); /* 12 */ void *reserved13; - int (*tkMacOSXDoHLEvent) (EventRecord * theEvent); /* 14 */ + int (*tkMacOSXDoHLEvent) (EventRecord *theEvent); /* 14 */ void *reserved15; Window (*tkMacOSXGetXWindow) (WindowRef macWinPtr); /* 16 */ int (*tkMacOSXGrowToplevel) (WindowRef whichWindow, Point start); /* 17 */ void (*tkMacOSXHandleMenuSelect) (MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed); /* 18 */ void *reserved19; void *reserved20; - void (*tkMacOSXInvalidateWindow) (MacDrawable * macWin, int flag); /* 21 */ + void (*tkMacOSXInvalidateWindow) (MacDrawable *macWin, int flag); /* 21 */ int (*tkMacOSXIsCharacterMissing) (Tk_Font tkfont, unsigned int searchChar); /* 22 */ - void (*tkMacOSXMakeRealWindowExist) (TkWindow * winPtr); /* 23 */ + void (*tkMacOSXMakeRealWindowExist) (TkWindow *winPtr); /* 23 */ BitMapPtr (*tkMacOSXMakeStippleMap) (Drawable d1, Drawable d2); /* 24 */ void (*tkMacOSXMenuClick) (void); /* 25 */ void (*tkMacOSXRegisterOffScreenWindow) (Window window, GWorldPtr portPtr); /* 26 */ - int (*tkMacOSXResizable) (TkWindow * winPtr); /* 27 */ + int (*tkMacOSXResizable) (TkWindow *winPtr); /* 27 */ void (*tkMacOSXSetHelpMenuItemCount) (void); /* 28 */ - void (*tkMacOSXSetScrollbarGrow) (TkWindow * winPtr, int flag); /* 29 */ + void (*tkMacOSXSetScrollbarGrow) (TkWindow *winPtr, int flag); /* 29 */ void (*tkMacOSXSetUpClippingRgn) (Drawable drawable); /* 30 */ void (*tkMacOSXSetUpGraphicsPort) (GC gc, GWorldPtr destPort); /* 31 */ - void (*tkMacOSXUpdateClipRgn) (TkWindow * winPtr); /* 32 */ + void (*tkMacOSXUpdateClipRgn) (TkWindow *winPtr); /* 32 */ void (*tkMacOSXUnregisterMacWindow) (WindowRef portPtr); /* 33 */ int (*tkMacOSXUseMenuID) (short macID); /* 34 */ - RgnHandle (*tkMacOSXVisableClipRgn) (TkWindow * winPtr); /* 35 */ - void (*tkMacOSXWinBounds) (TkWindow * winPtr, Rect * geometry); /* 36 */ - void (*tkMacOSXWindowOffset) (WindowRef wRef, int * xOffset, int * yOffset); /* 37 */ - int (*tkSetMacColor) (unsigned long pixel, RGBColor * macColor); /* 38 */ - void (*tkSetWMName) (TkWindow * winPtr, Tk_Uid titleUid); /* 39 */ + RgnHandle (*tkMacOSXVisableClipRgn) (TkWindow *winPtr); /* 35 */ + void (*tkMacOSXWinBounds) (TkWindow *winPtr, Rect *geometry); /* 36 */ + void (*tkMacOSXWindowOffset) (WindowRef wRef, int *xOffset, int *yOffset); /* 37 */ + int (*tkSetMacColor) (unsigned long pixel, RGBColor *macColor); /* 38 */ + void (*tkSetWMName) (TkWindow *winPtr, Tk_Uid titleUid); /* 39 */ void (*tkSuspendClipboard) (void); /* 40 */ int (*tkMacOSXZoomToplevel) (WindowPtr whichWindow, short zoomPart); /* 41 */ - Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY); /* 42 */ - MacDrawable * (*tkMacOSXContainerId) (TkWindow * winPtr); /* 43 */ - MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow * winPtr); /* 44 */ + Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int *newX, int *newY); /* 42 */ + MacDrawable * (*tkMacOSXContainerId) (TkWindow *winPtr); /* 43 */ + MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow *winPtr); /* 44 */ void (*tkMacOSXPreprocessMenu) (void); /* 45 */ int (*tkpIsWindowFloating) (WindowRef window); /* 46 */ Tk_Window (*tkMacOSXGetCapture) (void); /* 47 */ void *reserved48; - Window (*tkGetTransientMaster) (TkWindow * winPtr); /* 49 */ + Window (*tkGetTransientMaster) (TkWindow *winPtr); /* 49 */ int (*tkGenerateButtonEvent) (int x, int y, Window window, unsigned int state); /* 50 */ void (*tkGenWMDestroyEvent) (Tk_Window tkwin); /* 51 */ void *reserved52; @@ -661,19 +657,19 @@ typedef struct TkIntPlatStubs { #endif /* AQUA */ #if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ void (*tkCreateXEventSource) (void); /* 0 */ - void (*tkFreeWindowId) (TkDisplay * dispPtr, Window w); /* 1 */ - void (*tkInitXId) (TkDisplay * dispPtr); /* 2 */ + void (*tkFreeWindowId) (TkDisplay *dispPtr, Window w); /* 1 */ + void (*tkInitXId) (TkDisplay *dispPtr); /* 2 */ int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap); /* 3 */ - void (*tkpSync) (Display * display); /* 4 */ - Window (*tkUnixContainerId) (TkWindow * winPtr); /* 5 */ - int (*tkUnixDoOneXEvent) (Tcl_Time * timePtr); /* 6 */ + void (*tkpSync) (Display *display); /* 4 */ + Window (*tkUnixContainerId) (TkWindow *winPtr); /* 5 */ + int (*tkUnixDoOneXEvent) (Tcl_Time *timePtr); /* 6 */ void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar); /* 7 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 8 */ - void (*tkWmCleanup) (TkDisplay * dispPtr); /* 9 */ - void (*tkSendCleanup) (TkDisplay * dispPtr); /* 10 */ - void (*tkFreeXId) (TkDisplay * dispPtr); /* 11 */ - int (*tkpWmSetState) (TkWindow * winPtr, int state); /* 12 */ - int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 13 */ + int (*tkpScanWindowId) (Tcl_Interp *interp, CONST char *string, Window *idPtr); /* 8 */ + void (*tkWmCleanup) (TkDisplay *dispPtr); /* 9 */ + void (*tkSendCleanup) (TkDisplay *dispPtr); /* 10 */ + void (*tkFreeXId) (TkDisplay *dispPtr); /* 11 */ + int (*tkpWmSetState) (TkWindow *winPtr, int state); /* 12 */ + int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp *interp, int argc, CONST char **argv); /* 13 */ #endif /* X11 */ } TkIntPlatStubs; diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h index aadd545..8f776d8 100644 --- a/generic/tkIntXlibDecls.h +++ b/generic/tkIntXlibDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.23 2007/12/13 15:24:15 dgp Exp $ + * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.23.2.1 2010/02/07 23:24:13 nijtmans Exp $ */ #ifndef _TKINTXLIBDECLS @@ -38,625 +38,615 @@ #ifndef XSetDashes_TCL_DECLARED #define XSetDashes_TCL_DECLARED /* 0 */ -EXTERN void XSetDashes (Display * display, GC gc, - int dash_offset, _Xconst char * dash_list, - int n); +EXTERN void XSetDashes(Display *display, GC gc, int dash_offset, + _Xconst char *dash_list, int n); #endif #ifndef XGetModifierMapping_TCL_DECLARED #define XGetModifierMapping_TCL_DECLARED /* 1 */ -EXTERN XModifierKeymap * XGetModifierMapping (Display * d); +EXTERN XModifierKeymap * XGetModifierMapping(Display *d); #endif #ifndef XCreateImage_TCL_DECLARED #define XCreateImage_TCL_DECLARED /* 2 */ -EXTERN XImage * XCreateImage (Display * d, Visual * v, - unsigned int ui1, int i1, int i2, char * cp, - unsigned int ui2, unsigned int ui3, int i3, - int i4); +EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1, + int i1, int i2, char *cp, unsigned int ui2, + unsigned int ui3, int i3, int i4); #endif #ifndef XGetImage_TCL_DECLARED #define XGetImage_TCL_DECLARED /* 3 */ -EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2, - unsigned int ui1, unsigned int ui2, +EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2, + unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); #endif #ifndef XGetAtomName_TCL_DECLARED #define XGetAtomName_TCL_DECLARED /* 4 */ -EXTERN char * XGetAtomName (Display * d, Atom a); +EXTERN char * XGetAtomName(Display *d, Atom a); #endif #ifndef XKeysymToString_TCL_DECLARED #define XKeysymToString_TCL_DECLARED /* 5 */ -EXTERN char * XKeysymToString (KeySym k); +EXTERN char * XKeysymToString(KeySym k); #endif #ifndef XCreateColormap_TCL_DECLARED #define XCreateColormap_TCL_DECLARED /* 6 */ -EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v, +EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v, int i); #endif #ifndef XCreatePixmapCursor_TCL_DECLARED #define XCreatePixmapCursor_TCL_DECLARED /* 7 */ -EXTERN Cursor XCreatePixmapCursor (Display * d, Pixmap p1, - Pixmap p2, XColor * x1, XColor * x2, - unsigned int ui1, unsigned int ui2); +EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2, + XColor *x1, XColor *x2, unsigned int ui1, + unsigned int ui2); #endif #ifndef XCreateGlyphCursor_TCL_DECLARED #define XCreateGlyphCursor_TCL_DECLARED /* 8 */ -EXTERN Cursor XCreateGlyphCursor (Display * d, Font f1, Font f2, - unsigned int ui1, unsigned int ui2, - XColor * x1, XColor * x2); +EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2, + unsigned int ui1, unsigned int ui2, + XColor *x1, XColor *x2); #endif #ifndef XGContextFromGC_TCL_DECLARED #define XGContextFromGC_TCL_DECLARED /* 9 */ -EXTERN GContext XGContextFromGC (GC g); +EXTERN GContext XGContextFromGC(GC g); #endif #ifndef XListHosts_TCL_DECLARED #define XListHosts_TCL_DECLARED /* 10 */ -EXTERN XHostAddress * XListHosts (Display * d, int * i, Bool * b); +EXTERN XHostAddress * XListHosts(Display *d, int *i, Bool *b); #endif #ifndef XKeycodeToKeysym_TCL_DECLARED #define XKeycodeToKeysym_TCL_DECLARED /* 11 */ -EXTERN KeySym XKeycodeToKeysym (Display * d, unsigned int k, int i); +EXTERN KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i); #endif #ifndef XStringToKeysym_TCL_DECLARED #define XStringToKeysym_TCL_DECLARED /* 12 */ -EXTERN KeySym XStringToKeysym (_Xconst char * c); +EXTERN KeySym XStringToKeysym(_Xconst char *c); #endif #ifndef XRootWindow_TCL_DECLARED #define XRootWindow_TCL_DECLARED /* 13 */ -EXTERN Window XRootWindow (Display * d, int i); +EXTERN Window XRootWindow(Display *d, int i); #endif #ifndef XSetErrorHandler_TCL_DECLARED #define XSetErrorHandler_TCL_DECLARED /* 14 */ -EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x); +EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x); #endif #ifndef XIconifyWindow_TCL_DECLARED #define XIconifyWindow_TCL_DECLARED /* 15 */ -EXTERN Status XIconifyWindow (Display * d, Window w, int i); +EXTERN Status XIconifyWindow(Display *d, Window w, int i); #endif #ifndef XWithdrawWindow_TCL_DECLARED #define XWithdrawWindow_TCL_DECLARED /* 16 */ -EXTERN Status XWithdrawWindow (Display * d, Window w, int i); +EXTERN Status XWithdrawWindow(Display *d, Window w, int i); #endif #ifndef XGetWMColormapWindows_TCL_DECLARED #define XGetWMColormapWindows_TCL_DECLARED /* 17 */ -EXTERN Status XGetWMColormapWindows (Display * d, Window w, - Window ** wpp, int * ip); +EXTERN Status XGetWMColormapWindows(Display *d, Window w, + Window **wpp, int *ip); #endif #ifndef XAllocColor_TCL_DECLARED #define XAllocColor_TCL_DECLARED /* 18 */ -EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp); +EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp); #endif #ifndef XBell_TCL_DECLARED #define XBell_TCL_DECLARED /* 19 */ -EXTERN void XBell (Display * d, int i); +EXTERN void XBell(Display *d, int i); #endif #ifndef XChangeProperty_TCL_DECLARED #define XChangeProperty_TCL_DECLARED /* 20 */ -EXTERN void XChangeProperty (Display * d, Window w, Atom a1, - Atom a2, int i1, int i2, - _Xconst unsigned char * c, int i3); +EXTERN void XChangeProperty(Display *d, Window w, Atom a1, + Atom a2, int i1, int i2, + _Xconst unsigned char *c, int i3); #endif #ifndef XChangeWindowAttributes_TCL_DECLARED #define XChangeWindowAttributes_TCL_DECLARED /* 21 */ -EXTERN void XChangeWindowAttributes (Display * d, Window w, - unsigned long ul, XSetWindowAttributes * x); +EXTERN void XChangeWindowAttributes(Display *d, Window w, + unsigned long ul, XSetWindowAttributes *x); #endif #ifndef XClearWindow_TCL_DECLARED #define XClearWindow_TCL_DECLARED /* 22 */ -EXTERN void XClearWindow (Display * d, Window w); +EXTERN void XClearWindow(Display *d, Window w); #endif #ifndef XConfigureWindow_TCL_DECLARED #define XConfigureWindow_TCL_DECLARED /* 23 */ -EXTERN void XConfigureWindow (Display * d, Window w, - unsigned int i, XWindowChanges * x); +EXTERN void XConfigureWindow(Display *d, Window w, + unsigned int i, XWindowChanges *x); #endif #ifndef XCopyArea_TCL_DECLARED #define XCopyArea_TCL_DECLARED /* 24 */ -EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2, - GC g, int i1, int i2, unsigned int ui1, +EXTERN void XCopyArea(Display *d, Drawable dr1, Drawable dr2, + GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XCopyPlane_TCL_DECLARED #define XCopyPlane_TCL_DECLARED /* 25 */ -EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2, - GC g, int i1, int i2, unsigned int ui1, - unsigned int ui2, int i3, int i4, +EXTERN void XCopyPlane(Display *d, Drawable dr1, Drawable dr2, + GC g, int i1, int i2, unsigned int ui1, + unsigned int ui2, int i3, int i4, unsigned long ul); #endif #ifndef XCreateBitmapFromData_TCL_DECLARED #define XCreateBitmapFromData_TCL_DECLARED /* 26 */ -EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d, - _Xconst char * data, unsigned int width, +EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d, + _Xconst char *data, unsigned int width, unsigned int height); #endif #ifndef XDefineCursor_TCL_DECLARED #define XDefineCursor_TCL_DECLARED /* 27 */ -EXTERN void XDefineCursor (Display * d, Window w, Cursor c); +EXTERN void XDefineCursor(Display *d, Window w, Cursor c); #endif #ifndef XDeleteProperty_TCL_DECLARED #define XDeleteProperty_TCL_DECLARED /* 28 */ -EXTERN void XDeleteProperty (Display * d, Window w, Atom a); +EXTERN void XDeleteProperty(Display *d, Window w, Atom a); #endif #ifndef XDestroyWindow_TCL_DECLARED #define XDestroyWindow_TCL_DECLARED /* 29 */ -EXTERN void XDestroyWindow (Display * d, Window w); +EXTERN void XDestroyWindow(Display *d, Window w); #endif #ifndef XDrawArc_TCL_DECLARED #define XDrawArc_TCL_DECLARED /* 30 */ -EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1, - int i2, unsigned int ui1, unsigned int ui2, +EXTERN void XDrawArc(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XDrawLines_TCL_DECLARED #define XDrawLines_TCL_DECLARED /* 31 */ -EXTERN void XDrawLines (Display * d, Drawable dr, GC g, - XPoint * x, int i1, int i2); +EXTERN void XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, + int i1, int i2); #endif #ifndef XDrawRectangle_TCL_DECLARED #define XDrawRectangle_TCL_DECLARED /* 32 */ -EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g, - int i1, int i2, unsigned int ui1, - unsigned int ui2); +EXTERN void XDrawRectangle(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2); #endif #ifndef XFillArc_TCL_DECLARED #define XFillArc_TCL_DECLARED /* 33 */ -EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1, - int i2, unsigned int ui1, unsigned int ui2, +EXTERN void XFillArc(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XFillPolygon_TCL_DECLARED #define XFillPolygon_TCL_DECLARED /* 34 */ -EXTERN void XFillPolygon (Display * d, Drawable dr, GC g, - XPoint * x, int i1, int i2, int i3); +EXTERN void XFillPolygon(Display *d, Drawable dr, GC g, + XPoint *x, int i1, int i2, int i3); #endif #ifndef XFillRectangles_TCL_DECLARED #define XFillRectangles_TCL_DECLARED /* 35 */ -EXTERN void XFillRectangles (Display * d, Drawable dr, GC g, - XRectangle * x, int i); +EXTERN void XFillRectangles(Display *d, Drawable dr, GC g, + XRectangle *x, int i); #endif #ifndef XForceScreenSaver_TCL_DECLARED #define XForceScreenSaver_TCL_DECLARED /* 36 */ -EXTERN void XForceScreenSaver (Display * d, int i); +EXTERN void XForceScreenSaver(Display *d, int i); #endif #ifndef XFreeColormap_TCL_DECLARED #define XFreeColormap_TCL_DECLARED /* 37 */ -EXTERN void XFreeColormap (Display * d, Colormap c); +EXTERN void XFreeColormap(Display *d, Colormap c); #endif #ifndef XFreeColors_TCL_DECLARED #define XFreeColors_TCL_DECLARED /* 38 */ -EXTERN void XFreeColors (Display * d, Colormap c, - unsigned long * ulp, int i, unsigned long ul); +EXTERN void XFreeColors(Display *d, Colormap c, + unsigned long *ulp, int i, unsigned long ul); #endif #ifndef XFreeCursor_TCL_DECLARED #define XFreeCursor_TCL_DECLARED /* 39 */ -EXTERN void XFreeCursor (Display * d, Cursor c); +EXTERN void XFreeCursor(Display *d, Cursor c); #endif #ifndef XFreeModifiermap_TCL_DECLARED #define XFreeModifiermap_TCL_DECLARED /* 40 */ -EXTERN void XFreeModifiermap (XModifierKeymap * x); +EXTERN void XFreeModifiermap(XModifierKeymap *x); #endif #ifndef XGetGeometry_TCL_DECLARED #define XGetGeometry_TCL_DECLARED /* 41 */ -EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w, - int * i1, int * i2, unsigned int * ui1, - unsigned int * ui2, unsigned int * ui3, - unsigned int * ui4); +EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w, + int *i1, int *i2, unsigned int *ui1, + unsigned int *ui2, unsigned int *ui3, + unsigned int *ui4); #endif #ifndef XGetInputFocus_TCL_DECLARED #define XGetInputFocus_TCL_DECLARED /* 42 */ -EXTERN void XGetInputFocus (Display * d, Window * w, int * i); +EXTERN void XGetInputFocus(Display *d, Window *w, int *i); #endif #ifndef XGetWindowProperty_TCL_DECLARED #define XGetWindowProperty_TCL_DECLARED /* 43 */ -EXTERN int XGetWindowProperty (Display * d, Window w, Atom a1, - long l1, long l2, Bool b, Atom a2, Atom * ap, - int * ip, unsigned long * ulp1, - unsigned long * ulp2, unsigned char ** cpp); +EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1, + long l1, long l2, Bool b, Atom a2, Atom *ap, + int *ip, unsigned long *ulp1, + unsigned long *ulp2, unsigned char **cpp); #endif #ifndef XGetWindowAttributes_TCL_DECLARED #define XGetWindowAttributes_TCL_DECLARED /* 44 */ -EXTERN Status XGetWindowAttributes (Display * d, Window w, - XWindowAttributes * x); +EXTERN Status XGetWindowAttributes(Display *d, Window w, + XWindowAttributes *x); #endif #ifndef XGrabKeyboard_TCL_DECLARED #define XGrabKeyboard_TCL_DECLARED /* 45 */ -EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1, +EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t); #endif #ifndef XGrabPointer_TCL_DECLARED #define XGrabPointer_TCL_DECLARED /* 46 */ -EXTERN int XGrabPointer (Display * d, Window w1, Bool b, - unsigned int ui, int i1, int i2, Window w2, +EXTERN int XGrabPointer(Display *d, Window w1, Bool b, + unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); #endif #ifndef XKeysymToKeycode_TCL_DECLARED #define XKeysymToKeycode_TCL_DECLARED /* 47 */ -EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k); +EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k); #endif #ifndef XLookupColor_TCL_DECLARED #define XLookupColor_TCL_DECLARED /* 48 */ -EXTERN Status XLookupColor (Display * d, Colormap c1, - _Xconst char * c2, XColor * x1, XColor * x2); +EXTERN Status XLookupColor(Display *d, Colormap c1, + _Xconst char *c2, XColor *x1, XColor *x2); #endif #ifndef XMapWindow_TCL_DECLARED #define XMapWindow_TCL_DECLARED /* 49 */ -EXTERN void XMapWindow (Display * d, Window w); +EXTERN void XMapWindow(Display *d, Window w); #endif #ifndef XMoveResizeWindow_TCL_DECLARED #define XMoveResizeWindow_TCL_DECLARED /* 50 */ -EXTERN void XMoveResizeWindow (Display * d, Window w, int i1, +EXTERN void XMoveResizeWindow(Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); #endif #ifndef XMoveWindow_TCL_DECLARED #define XMoveWindow_TCL_DECLARED /* 51 */ -EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2); +EXTERN void XMoveWindow(Display *d, Window w, int i1, int i2); #endif #ifndef XNextEvent_TCL_DECLARED #define XNextEvent_TCL_DECLARED /* 52 */ -EXTERN void XNextEvent (Display * d, XEvent * x); +EXTERN void XNextEvent(Display *d, XEvent *x); #endif #ifndef XPutBackEvent_TCL_DECLARED #define XPutBackEvent_TCL_DECLARED /* 53 */ -EXTERN void XPutBackEvent (Display * d, XEvent * x); +EXTERN void XPutBackEvent(Display *d, XEvent *x); #endif #ifndef XQueryColors_TCL_DECLARED #define XQueryColors_TCL_DECLARED /* 54 */ -EXTERN void XQueryColors (Display * d, Colormap c, XColor * x, +EXTERN void XQueryColors(Display *d, Colormap c, XColor *x, int i); #endif #ifndef XQueryPointer_TCL_DECLARED #define XQueryPointer_TCL_DECLARED /* 55 */ -EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2, - Window * w3, int * i1, int * i2, int * i3, - int * i4, unsigned int * ui); +EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2, + Window *w3, int *i1, int *i2, int *i3, + int *i4, unsigned int *ui); #endif #ifndef XQueryTree_TCL_DECLARED #define XQueryTree_TCL_DECLARED /* 56 */ -EXTERN Status XQueryTree (Display * d, Window w1, Window * w2, - Window * w3, Window ** w4, unsigned int * ui); +EXTERN Status XQueryTree(Display *d, Window w1, Window *w2, + Window *w3, Window **w4, unsigned int *ui); #endif #ifndef XRaiseWindow_TCL_DECLARED #define XRaiseWindow_TCL_DECLARED /* 57 */ -EXTERN void XRaiseWindow (Display * d, Window w); +EXTERN void XRaiseWindow(Display *d, Window w); #endif #ifndef XRefreshKeyboardMapping_TCL_DECLARED #define XRefreshKeyboardMapping_TCL_DECLARED /* 58 */ -EXTERN void XRefreshKeyboardMapping (XMappingEvent * x); +EXTERN void XRefreshKeyboardMapping(XMappingEvent *x); #endif #ifndef XResizeWindow_TCL_DECLARED #define XResizeWindow_TCL_DECLARED /* 59 */ -EXTERN void XResizeWindow (Display * d, Window w, - unsigned int ui1, unsigned int ui2); +EXTERN void XResizeWindow(Display *d, Window w, unsigned int ui1, + unsigned int ui2); #endif #ifndef XSelectInput_TCL_DECLARED #define XSelectInput_TCL_DECLARED /* 60 */ -EXTERN void XSelectInput (Display * d, Window w, long l); +EXTERN void XSelectInput(Display *d, Window w, long l); #endif #ifndef XSendEvent_TCL_DECLARED #define XSendEvent_TCL_DECLARED /* 61 */ -EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l, - XEvent * x); +EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l, + XEvent *x); #endif #ifndef XSetCommand_TCL_DECLARED #define XSetCommand_TCL_DECLARED /* 62 */ -EXTERN void XSetCommand (Display * d, Window w, CONST char ** c, +EXTERN void XSetCommand(Display *d, Window w, CONST char **c, int i); #endif #ifndef XSetIconName_TCL_DECLARED #define XSetIconName_TCL_DECLARED /* 63 */ -EXTERN void XSetIconName (Display * d, Window w, - _Xconst char * c); +EXTERN void XSetIconName(Display *d, Window w, _Xconst char *c); #endif #ifndef XSetInputFocus_TCL_DECLARED #define XSetInputFocus_TCL_DECLARED /* 64 */ -EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t); +EXTERN void XSetInputFocus(Display *d, Window w, int i, Time t); #endif #ifndef XSetSelectionOwner_TCL_DECLARED #define XSetSelectionOwner_TCL_DECLARED /* 65 */ -EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w, +EXTERN void XSetSelectionOwner(Display *d, Atom a, Window w, Time t); #endif #ifndef XSetWindowBackground_TCL_DECLARED #define XSetWindowBackground_TCL_DECLARED /* 66 */ -EXTERN void XSetWindowBackground (Display * d, Window w, +EXTERN void XSetWindowBackground(Display *d, Window w, unsigned long ul); #endif #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED #define XSetWindowBackgroundPixmap_TCL_DECLARED /* 67 */ -EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w, +EXTERN void XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p); #endif #ifndef XSetWindowBorder_TCL_DECLARED #define XSetWindowBorder_TCL_DECLARED /* 68 */ -EXTERN void XSetWindowBorder (Display * d, Window w, +EXTERN void XSetWindowBorder(Display *d, Window w, unsigned long ul); #endif #ifndef XSetWindowBorderPixmap_TCL_DECLARED #define XSetWindowBorderPixmap_TCL_DECLARED /* 69 */ -EXTERN void XSetWindowBorderPixmap (Display * d, Window w, +EXTERN void XSetWindowBorderPixmap(Display *d, Window w, Pixmap p); #endif #ifndef XSetWindowBorderWidth_TCL_DECLARED #define XSetWindowBorderWidth_TCL_DECLARED /* 70 */ -EXTERN void XSetWindowBorderWidth (Display * d, Window w, +EXTERN void XSetWindowBorderWidth(Display *d, Window w, unsigned int ui); #endif #ifndef XSetWindowColormap_TCL_DECLARED #define XSetWindowColormap_TCL_DECLARED /* 71 */ -EXTERN void XSetWindowColormap (Display * d, Window w, - Colormap c); +EXTERN void XSetWindowColormap(Display *d, Window w, Colormap c); #endif #ifndef XTranslateCoordinates_TCL_DECLARED #define XTranslateCoordinates_TCL_DECLARED /* 72 */ -EXTERN Bool XTranslateCoordinates (Display * d, Window w1, - Window w2, int i1, int i2, int * i3, - int * i4, Window * w3); +EXTERN Bool XTranslateCoordinates(Display *d, Window w1, + Window w2, int i1, int i2, int *i3, int *i4, + Window *w3); #endif #ifndef XUngrabKeyboard_TCL_DECLARED #define XUngrabKeyboard_TCL_DECLARED /* 73 */ -EXTERN void XUngrabKeyboard (Display * d, Time t); +EXTERN void XUngrabKeyboard(Display *d, Time t); #endif #ifndef XUngrabPointer_TCL_DECLARED #define XUngrabPointer_TCL_DECLARED /* 74 */ -EXTERN void XUngrabPointer (Display * d, Time t); +EXTERN void XUngrabPointer(Display *d, Time t); #endif #ifndef XUnmapWindow_TCL_DECLARED #define XUnmapWindow_TCL_DECLARED /* 75 */ -EXTERN void XUnmapWindow (Display * d, Window w); +EXTERN void XUnmapWindow(Display *d, Window w); #endif #ifndef XWindowEvent_TCL_DECLARED #define XWindowEvent_TCL_DECLARED /* 76 */ -EXTERN void XWindowEvent (Display * d, Window w, long l, - XEvent * x); +EXTERN void XWindowEvent(Display *d, Window w, long l, XEvent *x); #endif #ifndef XDestroyIC_TCL_DECLARED #define XDestroyIC_TCL_DECLARED /* 77 */ -EXTERN void XDestroyIC (XIC x); +EXTERN void XDestroyIC(XIC x); #endif #ifndef XFilterEvent_TCL_DECLARED #define XFilterEvent_TCL_DECLARED /* 78 */ -EXTERN Bool XFilterEvent (XEvent * x, Window w); +EXTERN Bool XFilterEvent(XEvent *x, Window w); #endif #ifndef XmbLookupString_TCL_DECLARED #define XmbLookupString_TCL_DECLARED /* 79 */ -EXTERN int XmbLookupString (XIC xi, XKeyPressedEvent * xk, - char * c, int i, KeySym * k, Status * s); +EXTERN int XmbLookupString(XIC xi, XKeyPressedEvent *xk, + char *c, int i, KeySym *k, Status *s); #endif #ifndef TkPutImage_TCL_DECLARED #define TkPutImage_TCL_DECLARED /* 80 */ -EXTERN void TkPutImage (unsigned long * colors, int ncolors, - Display * display, Drawable d, GC gc, - XImage * image, int src_x, int src_y, - int dest_x, int dest_y, unsigned int width, +EXTERN void TkPutImage(unsigned long *colors, int ncolors, + Display *display, Drawable d, GC gc, + XImage *image, int src_x, int src_y, + int dest_x, int dest_y, unsigned int width, unsigned int height); #endif /* Slot 81 is reserved */ #ifndef XParseColor_TCL_DECLARED #define XParseColor_TCL_DECLARED /* 82 */ -EXTERN Status XParseColor (Display * display, Colormap map, - _Xconst char * spec, XColor * colorPtr); +EXTERN Status XParseColor(Display *display, Colormap map, + _Xconst char *spec, XColor *colorPtr); #endif #ifndef XCreateGC_TCL_DECLARED #define XCreateGC_TCL_DECLARED /* 83 */ -EXTERN GC XCreateGC (Display * display, Drawable d, - unsigned long valuemask, XGCValues * values); +EXTERN GC XCreateGC(Display *display, Drawable d, + unsigned long valuemask, XGCValues *values); #endif #ifndef XFreeGC_TCL_DECLARED #define XFreeGC_TCL_DECLARED /* 84 */ -EXTERN void XFreeGC (Display * display, GC gc); +EXTERN void XFreeGC(Display *display, GC gc); #endif #ifndef XInternAtom_TCL_DECLARED #define XInternAtom_TCL_DECLARED /* 85 */ -EXTERN Atom XInternAtom (Display * display, - _Xconst char * atom_name, - Bool only_if_exists); +EXTERN Atom XInternAtom(Display *display, + _Xconst char *atom_name, Bool only_if_exists); #endif #ifndef XSetBackground_TCL_DECLARED #define XSetBackground_TCL_DECLARED /* 86 */ -EXTERN void XSetBackground (Display * display, GC gc, +EXTERN void XSetBackground(Display *display, GC gc, unsigned long foreground); #endif #ifndef XSetForeground_TCL_DECLARED #define XSetForeground_TCL_DECLARED /* 87 */ -EXTERN void XSetForeground (Display * display, GC gc, +EXTERN void XSetForeground(Display *display, GC gc, unsigned long foreground); #endif #ifndef XSetClipMask_TCL_DECLARED #define XSetClipMask_TCL_DECLARED /* 88 */ -EXTERN void XSetClipMask (Display * display, GC gc, - Pixmap pixmap); +EXTERN void XSetClipMask(Display *display, GC gc, Pixmap pixmap); #endif #ifndef XSetClipOrigin_TCL_DECLARED #define XSetClipOrigin_TCL_DECLARED /* 89 */ -EXTERN void XSetClipOrigin (Display * display, GC gc, +EXTERN void XSetClipOrigin(Display *display, GC gc, int clip_x_origin, int clip_y_origin); #endif #ifndef XSetTSOrigin_TCL_DECLARED #define XSetTSOrigin_TCL_DECLARED /* 90 */ -EXTERN void XSetTSOrigin (Display * display, GC gc, +EXTERN void XSetTSOrigin(Display *display, GC gc, int ts_x_origin, int ts_y_origin); #endif #ifndef XChangeGC_TCL_DECLARED #define XChangeGC_TCL_DECLARED /* 91 */ -EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask, - XGCValues * values); +EXTERN void XChangeGC(Display *d, GC gc, unsigned long mask, + XGCValues *values); #endif #ifndef XSetFont_TCL_DECLARED #define XSetFont_TCL_DECLARED /* 92 */ -EXTERN void XSetFont (Display * display, GC gc, Font font); +EXTERN void XSetFont(Display *display, GC gc, Font font); #endif #ifndef XSetArcMode_TCL_DECLARED #define XSetArcMode_TCL_DECLARED /* 93 */ -EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode); +EXTERN void XSetArcMode(Display *display, GC gc, int arc_mode); #endif #ifndef XSetStipple_TCL_DECLARED #define XSetStipple_TCL_DECLARED /* 94 */ -EXTERN void XSetStipple (Display * display, GC gc, - Pixmap stipple); +EXTERN void XSetStipple(Display *display, GC gc, Pixmap stipple); #endif #ifndef XSetFillRule_TCL_DECLARED #define XSetFillRule_TCL_DECLARED /* 95 */ -EXTERN void XSetFillRule (Display * display, GC gc, - int fill_rule); +EXTERN void XSetFillRule(Display *display, GC gc, int fill_rule); #endif #ifndef XSetFillStyle_TCL_DECLARED #define XSetFillStyle_TCL_DECLARED /* 96 */ -EXTERN void XSetFillStyle (Display * display, GC gc, +EXTERN void XSetFillStyle(Display *display, GC gc, int fill_style); #endif #ifndef XSetFunction_TCL_DECLARED #define XSetFunction_TCL_DECLARED /* 97 */ -EXTERN void XSetFunction (Display * display, GC gc, int function); +EXTERN void XSetFunction(Display *display, GC gc, int function); #endif #ifndef XSetLineAttributes_TCL_DECLARED #define XSetLineAttributes_TCL_DECLARED /* 98 */ -EXTERN void XSetLineAttributes (Display * display, GC gc, - unsigned int line_width, int line_style, +EXTERN void XSetLineAttributes(Display *display, GC gc, + unsigned int line_width, int line_style, int cap_style, int join_style); #endif #ifndef _XInitImageFuncPtrs_TCL_DECLARED #define _XInitImageFuncPtrs_TCL_DECLARED /* 99 */ -EXTERN int _XInitImageFuncPtrs (XImage * image); +EXTERN int _XInitImageFuncPtrs(XImage *image); #endif #ifndef XCreateIC_TCL_DECLARED #define XCreateIC_TCL_DECLARED /* 100 */ -EXTERN XIC XCreateIC (void); +EXTERN XIC XCreateIC(void); #endif #ifndef XGetVisualInfo_TCL_DECLARED #define XGetVisualInfo_TCL_DECLARED /* 101 */ -EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask, - XVisualInfo * vinfo_template, - int * nitems_return); +EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask, + XVisualInfo *vinfo_template, + int *nitems_return); #endif #ifndef XSetWMClientMachine_TCL_DECLARED #define XSetWMClientMachine_TCL_DECLARED /* 102 */ -EXTERN void XSetWMClientMachine (Display * display, Window w, - XTextProperty * text_prop); +EXTERN void XSetWMClientMachine(Display *display, Window w, + XTextProperty *text_prop); #endif #ifndef XStringListToTextProperty_TCL_DECLARED #define XStringListToTextProperty_TCL_DECLARED /* 103 */ -EXTERN Status XStringListToTextProperty (char ** list, int count, - XTextProperty * text_prop_return); +EXTERN Status XStringListToTextProperty(char **list, int count, + XTextProperty *text_prop_return); #endif #ifndef XDrawLine_TCL_DECLARED #define XDrawLine_TCL_DECLARED /* 104 */ -EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1, +EXTERN void XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); #endif #ifndef XWarpPointer_TCL_DECLARED #define XWarpPointer_TCL_DECLARED /* 105 */ -EXTERN void XWarpPointer (Display * d, Window s, Window dw, - int sx, int sy, unsigned int sw, - unsigned int sh, int dx, int dy); +EXTERN void XWarpPointer(Display *d, Window s, Window dw, int sx, + int sy, unsigned int sw, unsigned int sh, + int dx, int dy); #endif #ifndef XFillRectangle_TCL_DECLARED #define XFillRectangle_TCL_DECLARED /* 106 */ -EXTERN void XFillRectangle (Display * display, Drawable d, GC gc, - int x, int y, unsigned int width, +EXTERN void XFillRectangle(Display *display, Drawable d, GC gc, + int x, int y, unsigned int width, unsigned int height); #endif #endif /* WIN */ @@ -664,549 +654,540 @@ EXTERN void XFillRectangle (Display * display, Drawable d, GC gc, #ifndef XSetDashes_TCL_DECLARED #define XSetDashes_TCL_DECLARED /* 0 */ -EXTERN void XSetDashes (Display * display, GC gc, - int dash_offset, _Xconst char * dash_list, - int n); +EXTERN void XSetDashes(Display *display, GC gc, int dash_offset, + _Xconst char *dash_list, int n); #endif #ifndef XGetModifierMapping_TCL_DECLARED #define XGetModifierMapping_TCL_DECLARED /* 1 */ -EXTERN XModifierKeymap * XGetModifierMapping (Display * d); +EXTERN XModifierKeymap * XGetModifierMapping(Display *d); #endif #ifndef XCreateImage_TCL_DECLARED #define XCreateImage_TCL_DECLARED /* 2 */ -EXTERN XImage * XCreateImage (Display * d, Visual * v, - unsigned int ui1, int i1, int i2, char * cp, - unsigned int ui2, unsigned int ui3, int i3, - int i4); +EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1, + int i1, int i2, char *cp, unsigned int ui2, + unsigned int ui3, int i3, int i4); #endif #ifndef XGetImage_TCL_DECLARED #define XGetImage_TCL_DECLARED /* 3 */ -EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2, - unsigned int ui1, unsigned int ui2, +EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2, + unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); #endif #ifndef XGetAtomName_TCL_DECLARED #define XGetAtomName_TCL_DECLARED /* 4 */ -EXTERN char * XGetAtomName (Display * d, Atom a); +EXTERN char * XGetAtomName(Display *d, Atom a); #endif #ifndef XKeysymToString_TCL_DECLARED #define XKeysymToString_TCL_DECLARED /* 5 */ -EXTERN char * XKeysymToString (KeySym k); +EXTERN char * XKeysymToString(KeySym k); #endif #ifndef XCreateColormap_TCL_DECLARED #define XCreateColormap_TCL_DECLARED /* 6 */ -EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v, +EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v, int i); #endif #ifndef XGContextFromGC_TCL_DECLARED #define XGContextFromGC_TCL_DECLARED /* 7 */ -EXTERN GContext XGContextFromGC (GC g); +EXTERN GContext XGContextFromGC(GC g); #endif #ifndef XKeycodeToKeysym_TCL_DECLARED #define XKeycodeToKeysym_TCL_DECLARED /* 8 */ -EXTERN KeySym XKeycodeToKeysym (Display * d, KeyCode k, int i); +EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i); #endif #ifndef XStringToKeysym_TCL_DECLARED #define XStringToKeysym_TCL_DECLARED /* 9 */ -EXTERN KeySym XStringToKeysym (_Xconst char * c); +EXTERN KeySym XStringToKeysym(_Xconst char *c); #endif #ifndef XRootWindow_TCL_DECLARED #define XRootWindow_TCL_DECLARED /* 10 */ -EXTERN Window XRootWindow (Display * d, int i); +EXTERN Window XRootWindow(Display *d, int i); #endif #ifndef XSetErrorHandler_TCL_DECLARED #define XSetErrorHandler_TCL_DECLARED /* 11 */ -EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x); +EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x); #endif #ifndef XAllocColor_TCL_DECLARED #define XAllocColor_TCL_DECLARED /* 12 */ -EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp); +EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp); #endif #ifndef XBell_TCL_DECLARED #define XBell_TCL_DECLARED /* 13 */ -EXTERN void XBell (Display * d, int i); +EXTERN void XBell(Display *d, int i); #endif #ifndef XChangeProperty_TCL_DECLARED #define XChangeProperty_TCL_DECLARED /* 14 */ -EXTERN void XChangeProperty (Display * d, Window w, Atom a1, - Atom a2, int i1, int i2, - _Xconst unsigned char * c, int i3); +EXTERN void XChangeProperty(Display *d, Window w, Atom a1, + Atom a2, int i1, int i2, + _Xconst unsigned char *c, int i3); #endif #ifndef XChangeWindowAttributes_TCL_DECLARED #define XChangeWindowAttributes_TCL_DECLARED /* 15 */ -EXTERN void XChangeWindowAttributes (Display * d, Window w, - unsigned long ul, XSetWindowAttributes * x); +EXTERN void XChangeWindowAttributes(Display *d, Window w, + unsigned long ul, XSetWindowAttributes *x); #endif #ifndef XConfigureWindow_TCL_DECLARED #define XConfigureWindow_TCL_DECLARED /* 16 */ -EXTERN void XConfigureWindow (Display * d, Window w, - unsigned int i, XWindowChanges * x); +EXTERN void XConfigureWindow(Display *d, Window w, + unsigned int i, XWindowChanges *x); #endif #ifndef XCopyArea_TCL_DECLARED #define XCopyArea_TCL_DECLARED /* 17 */ -EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2, - GC g, int i1, int i2, unsigned int ui1, +EXTERN void XCopyArea(Display *d, Drawable dr1, Drawable dr2, + GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XCopyPlane_TCL_DECLARED #define XCopyPlane_TCL_DECLARED /* 18 */ -EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2, - GC g, int i1, int i2, unsigned int ui1, - unsigned int ui2, int i3, int i4, +EXTERN void XCopyPlane(Display *d, Drawable dr1, Drawable dr2, + GC g, int i1, int i2, unsigned int ui1, + unsigned int ui2, int i3, int i4, unsigned long ul); #endif #ifndef XCreateBitmapFromData_TCL_DECLARED #define XCreateBitmapFromData_TCL_DECLARED /* 19 */ -EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d, - _Xconst char * data, unsigned int width, +EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d, + _Xconst char *data, unsigned int width, unsigned int height); #endif #ifndef XDefineCursor_TCL_DECLARED #define XDefineCursor_TCL_DECLARED /* 20 */ -EXTERN void XDefineCursor (Display * d, Window w, Cursor c); +EXTERN void XDefineCursor(Display *d, Window w, Cursor c); #endif #ifndef XDestroyWindow_TCL_DECLARED #define XDestroyWindow_TCL_DECLARED /* 21 */ -EXTERN void XDestroyWindow (Display * d, Window w); +EXTERN void XDestroyWindow(Display *d, Window w); #endif #ifndef XDrawArc_TCL_DECLARED #define XDrawArc_TCL_DECLARED /* 22 */ -EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1, - int i2, unsigned int ui1, unsigned int ui2, +EXTERN void XDrawArc(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XDrawLines_TCL_DECLARED #define XDrawLines_TCL_DECLARED /* 23 */ -EXTERN void XDrawLines (Display * d, Drawable dr, GC g, - XPoint * x, int i1, int i2); +EXTERN void XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, + int i1, int i2); #endif #ifndef XDrawRectangle_TCL_DECLARED #define XDrawRectangle_TCL_DECLARED /* 24 */ -EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g, - int i1, int i2, unsigned int ui1, - unsigned int ui2); +EXTERN void XDrawRectangle(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2); #endif #ifndef XFillArc_TCL_DECLARED #define XFillArc_TCL_DECLARED /* 25 */ -EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1, - int i2, unsigned int ui1, unsigned int ui2, +EXTERN void XFillArc(Display *d, Drawable dr, GC g, int i1, + int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); #endif #ifndef XFillPolygon_TCL_DECLARED #define XFillPolygon_TCL_DECLARED /* 26 */ -EXTERN void XFillPolygon (Display * d, Drawable dr, GC g, - XPoint * x, int i1, int i2, int i3); +EXTERN void XFillPolygon(Display *d, Drawable dr, GC g, + XPoint *x, int i1, int i2, int i3); #endif #ifndef XFillRectangles_TCL_DECLARED #define XFillRectangles_TCL_DECLARED /* 27 */ -EXTERN void XFillRectangles (Display * d, Drawable dr, GC g, - XRectangle * x, int i); +EXTERN void XFillRectangles(Display *d, Drawable dr, GC g, + XRectangle *x, int i); #endif #ifndef XFreeColormap_TCL_DECLARED #define XFreeColormap_TCL_DECLARED /* 28 */ -EXTERN void XFreeColormap (Display * d, Colormap c); +EXTERN void XFreeColormap(Display *d, Colormap c); #endif #ifndef XFreeColors_TCL_DECLARED #define XFreeColors_TCL_DECLARED /* 29 */ -EXTERN void XFreeColors (Display * d, Colormap c, - unsigned long * ulp, int i, unsigned long ul); +EXTERN void XFreeColors(Display *d, Colormap c, + unsigned long *ulp, int i, unsigned long ul); #endif #ifndef XFreeModifiermap_TCL_DECLARED #define XFreeModifiermap_TCL_DECLARED /* 30 */ -EXTERN void XFreeModifiermap (XModifierKeymap * x); +EXTERN void XFreeModifiermap(XModifierKeymap *x); #endif #ifndef XGetGeometry_TCL_DECLARED #define XGetGeometry_TCL_DECLARED /* 31 */ -EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w, - int * i1, int * i2, unsigned int * ui1, - unsigned int * ui2, unsigned int * ui3, - unsigned int * ui4); +EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w, + int *i1, int *i2, unsigned int *ui1, + unsigned int *ui2, unsigned int *ui3, + unsigned int *ui4); #endif #ifndef XGetWindowProperty_TCL_DECLARED #define XGetWindowProperty_TCL_DECLARED /* 32 */ -EXTERN int XGetWindowProperty (Display * d, Window w, Atom a1, - long l1, long l2, Bool b, Atom a2, Atom * ap, - int * ip, unsigned long * ulp1, - unsigned long * ulp2, unsigned char ** cpp); +EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1, + long l1, long l2, Bool b, Atom a2, Atom *ap, + int *ip, unsigned long *ulp1, + unsigned long *ulp2, unsigned char **cpp); #endif #ifndef XGrabKeyboard_TCL_DECLARED #define XGrabKeyboard_TCL_DECLARED /* 33 */ -EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1, +EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t); #endif #ifndef XGrabPointer_TCL_DECLARED #define XGrabPointer_TCL_DECLARED /* 34 */ -EXTERN int XGrabPointer (Display * d, Window w1, Bool b, - unsigned int ui, int i1, int i2, Window w2, +EXTERN int XGrabPointer(Display *d, Window w1, Bool b, + unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); #endif #ifndef XKeysymToKeycode_TCL_DECLARED #define XKeysymToKeycode_TCL_DECLARED /* 35 */ -EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k); +EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k); #endif #ifndef XMapWindow_TCL_DECLARED #define XMapWindow_TCL_DECLARED /* 36 */ -EXTERN void XMapWindow (Display * d, Window w); +EXTERN void XMapWindow(Display *d, Window w); #endif #ifndef XMoveResizeWindow_TCL_DECLARED #define XMoveResizeWindow_TCL_DECLARED /* 37 */ -EXTERN void XMoveResizeWindow (Display * d, Window w, int i1, +EXTERN void XMoveResizeWindow(Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); #endif #ifndef XMoveWindow_TCL_DECLARED #define XMoveWindow_TCL_DECLARED /* 38 */ -EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2); +EXTERN void XMoveWindow(Display *d, Window w, int i1, int i2); #endif #ifndef XQueryPointer_TCL_DECLARED #define XQueryPointer_TCL_DECLARED /* 39 */ -EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2, - Window * w3, int * i1, int * i2, int * i3, - int * i4, unsigned int * ui); +EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2, + Window *w3, int *i1, int *i2, int *i3, + int *i4, unsigned int *ui); #endif #ifndef XRaiseWindow_TCL_DECLARED #define XRaiseWindow_TCL_DECLARED /* 40 */ -EXTERN void XRaiseWindow (Display * d, Window w); +EXTERN void XRaiseWindow(Display *d, Window w); #endif #ifndef XRefreshKeyboardMapping_TCL_DECLARED #define XRefreshKeyboardMapping_TCL_DECLARED /* 41 */ -EXTERN void XRefreshKeyboardMapping (XMappingEvent * x); +EXTERN void XRefreshKeyboardMapping(XMappingEvent *x); #endif #ifndef XResizeWindow_TCL_DECLARED #define XResizeWindow_TCL_DECLARED /* 42 */ -EXTERN void XResizeWindow (Display * d, Window w, - unsigned int ui1, unsigned int ui2); +EXTERN void XResizeWindow(Display *d, Window w, unsigned int ui1, + unsigned int ui2); #endif #ifndef XSelectInput_TCL_DECLARED #define XSelectInput_TCL_DECLARED /* 43 */ -EXTERN void XSelectInput (Display * d, Window w, long l); +EXTERN void XSelectInput(Display *d, Window w, long l); #endif #ifndef XSendEvent_TCL_DECLARED #define XSendEvent_TCL_DECLARED /* 44 */ -EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l, - XEvent * x); +EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l, + XEvent *x); #endif #ifndef XSetIconName_TCL_DECLARED #define XSetIconName_TCL_DECLARED /* 45 */ -EXTERN void XSetIconName (Display * d, Window w, - _Xconst char * c); +EXTERN void XSetIconName(Display *d, Window w, _Xconst char *c); #endif #ifndef XSetInputFocus_TCL_DECLARED #define XSetInputFocus_TCL_DECLARED /* 46 */ -EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t); +EXTERN void XSetInputFocus(Display *d, Window w, int i, Time t); #endif #ifndef XSetSelectionOwner_TCL_DECLARED #define XSetSelectionOwner_TCL_DECLARED /* 47 */ -EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w, +EXTERN void XSetSelectionOwner(Display *d, Atom a, Window w, Time t); #endif #ifndef XSetWindowBackground_TCL_DECLARED #define XSetWindowBackground_TCL_DECLARED /* 48 */ -EXTERN void XSetWindowBackground (Display * d, Window w, +EXTERN void XSetWindowBackground(Display *d, Window w, unsigned long ul); #endif #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED #define XSetWindowBackgroundPixmap_TCL_DECLARED /* 49 */ -EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w, +EXTERN void XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p); #endif #ifndef XSetWindowBorder_TCL_DECLARED #define XSetWindowBorder_TCL_DECLARED /* 50 */ -EXTERN void XSetWindowBorder (Display * d, Window w, +EXTERN void XSetWindowBorder(Display *d, Window w, unsigned long ul); #endif #ifndef XSetWindowBorderPixmap_TCL_DECLARED #define XSetWindowBorderPixmap_TCL_DECLARED /* 51 */ -EXTERN void XSetWindowBorderPixmap (Display * d, Window w, +EXTERN void XSetWindowBorderPixmap(Display *d, Window w, Pixmap p); #endif #ifndef XSetWindowBorderWidth_TCL_DECLARED #define XSetWindowBorderWidth_TCL_DECLARED /* 52 */ -EXTERN void XSetWindowBorderWidth (Display * d, Window w, +EXTERN void XSetWindowBorderWidth(Display *d, Window w, unsigned int ui); #endif #ifndef XSetWindowColormap_TCL_DECLARED #define XSetWindowColormap_TCL_DECLARED /* 53 */ -EXTERN void XSetWindowColormap (Display * d, Window w, - Colormap c); +EXTERN void XSetWindowColormap(Display *d, Window w, Colormap c); #endif #ifndef XUngrabKeyboard_TCL_DECLARED #define XUngrabKeyboard_TCL_DECLARED /* 54 */ -EXTERN void XUngrabKeyboard (Display * d, Time t); +EXTERN void XUngrabKeyboard(Display *d, Time t); #endif #ifndef XUngrabPointer_TCL_DECLARED #define XUngrabPointer_TCL_DECLARED /* 55 */ -EXTERN void XUngrabPointer (Display * d, Time t); +EXTERN void XUngrabPointer(Display *d, Time t); #endif #ifndef XUnmapWindow_TCL_DECLARED #define XUnmapWindow_TCL_DECLARED /* 56 */ -EXTERN void XUnmapWindow (Display * d, Window w); +EXTERN void XUnmapWindow(Display *d, Window w); #endif #ifndef TkPutImage_TCL_DECLARED #define TkPutImage_TCL_DECLARED /* 57 */ -EXTERN void TkPutImage (unsigned long * colors, int ncolors, - Display * display, Drawable d, GC gc, - XImage * image, int src_x, int src_y, - int dest_x, int dest_y, unsigned int width, +EXTERN void TkPutImage(unsigned long *colors, int ncolors, + Display *display, Drawable d, GC gc, + XImage *image, int src_x, int src_y, + int dest_x, int dest_y, unsigned int width, unsigned int height); #endif #ifndef XParseColor_TCL_DECLARED #define XParseColor_TCL_DECLARED /* 58 */ -EXTERN Status XParseColor (Display * display, Colormap map, - _Xconst char * spec, XColor * colorPtr); +EXTERN Status XParseColor(Display *display, Colormap map, + _Xconst char *spec, XColor *colorPtr); #endif #ifndef XCreateGC_TCL_DECLARED #define XCreateGC_TCL_DECLARED /* 59 */ -EXTERN GC XCreateGC (Display * display, Drawable d, - unsigned long valuemask, XGCValues * values); +EXTERN GC XCreateGC(Display *display, Drawable d, + unsigned long valuemask, XGCValues *values); #endif #ifndef XFreeGC_TCL_DECLARED #define XFreeGC_TCL_DECLARED /* 60 */ -EXTERN void XFreeGC (Display * display, GC gc); +EXTERN void XFreeGC(Display *display, GC gc); #endif #ifndef XInternAtom_TCL_DECLARED #define XInternAtom_TCL_DECLARED /* 61 */ -EXTERN Atom XInternAtom (Display * display, - _Xconst char * atom_name, - Bool only_if_exists); +EXTERN Atom XInternAtom(Display *display, + _Xconst char *atom_name, Bool only_if_exists); #endif #ifndef XSetBackground_TCL_DECLARED #define XSetBackground_TCL_DECLARED /* 62 */ -EXTERN void XSetBackground (Display * display, GC gc, +EXTERN void XSetBackground(Display *display, GC gc, unsigned long foreground); #endif #ifndef XSetForeground_TCL_DECLARED #define XSetForeground_TCL_DECLARED /* 63 */ -EXTERN void XSetForeground (Display * display, GC gc, +EXTERN void XSetForeground(Display *display, GC gc, unsigned long foreground); #endif #ifndef XSetClipMask_TCL_DECLARED #define XSetClipMask_TCL_DECLARED /* 64 */ -EXTERN void XSetClipMask (Display * display, GC gc, - Pixmap pixmap); +EXTERN void XSetClipMask(Display *display, GC gc, Pixmap pixmap); #endif #ifndef XSetClipOrigin_TCL_DECLARED #define XSetClipOrigin_TCL_DECLARED /* 65 */ -EXTERN void XSetClipOrigin (Display * display, GC gc, +EXTERN void XSetClipOrigin(Display *display, GC gc, int clip_x_origin, int clip_y_origin); #endif #ifndef XSetTSOrigin_TCL_DECLARED #define XSetTSOrigin_TCL_DECLARED /* 66 */ -EXTERN void XSetTSOrigin (Display * display, GC gc, +EXTERN void XSetTSOrigin(Display *display, GC gc, int ts_x_origin, int ts_y_origin); #endif #ifndef XChangeGC_TCL_DECLARED #define XChangeGC_TCL_DECLARED /* 67 */ -EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask, - XGCValues * values); +EXTERN void XChangeGC(Display *d, GC gc, unsigned long mask, + XGCValues *values); #endif #ifndef XSetFont_TCL_DECLARED #define XSetFont_TCL_DECLARED /* 68 */ -EXTERN void XSetFont (Display * display, GC gc, Font font); +EXTERN void XSetFont(Display *display, GC gc, Font font); #endif #ifndef XSetArcMode_TCL_DECLARED #define XSetArcMode_TCL_DECLARED /* 69 */ -EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode); +EXTERN void XSetArcMode(Display *display, GC gc, int arc_mode); #endif #ifndef XSetStipple_TCL_DECLARED #define XSetStipple_TCL_DECLARED /* 70 */ -EXTERN void XSetStipple (Display * display, GC gc, - Pixmap stipple); +EXTERN void XSetStipple(Display *display, GC gc, Pixmap stipple); #endif #ifndef XSetFillRule_TCL_DECLARED #define XSetFillRule_TCL_DECLARED /* 71 */ -EXTERN void XSetFillRule (Display * display, GC gc, - int fill_rule); +EXTERN void XSetFillRule(Display *display, GC gc, int fill_rule); #endif #ifndef XSetFillStyle_TCL_DECLARED #define XSetFillStyle_TCL_DECLARED /* 72 */ -EXTERN void XSetFillStyle (Display * display, GC gc, +EXTERN void XSetFillStyle(Display *display, GC gc, int fill_style); #endif #ifndef XSetFunction_TCL_DECLARED #define XSetFunction_TCL_DECLARED /* 73 */ -EXTERN void XSetFunction (Display * display, GC gc, int function); +EXTERN void XSetFunction(Display *display, GC gc, int function); #endif #ifndef XSetLineAttributes_TCL_DECLARED #define XSetLineAttributes_TCL_DECLARED /* 74 */ -EXTERN void XSetLineAttributes (Display * display, GC gc, - unsigned int line_width, int line_style, +EXTERN void XSetLineAttributes(Display *display, GC gc, + unsigned int line_width, int line_style, int cap_style, int join_style); #endif #ifndef _XInitImageFuncPtrs_TCL_DECLARED #define _XInitImageFuncPtrs_TCL_DECLARED /* 75 */ -EXTERN int _XInitImageFuncPtrs (XImage * image); +EXTERN int _XInitImageFuncPtrs(XImage *image); #endif #ifndef XCreateIC_TCL_DECLARED #define XCreateIC_TCL_DECLARED /* 76 */ -EXTERN XIC XCreateIC (void); +EXTERN XIC XCreateIC(void); #endif #ifndef XGetVisualInfo_TCL_DECLARED #define XGetVisualInfo_TCL_DECLARED /* 77 */ -EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask, - XVisualInfo * vinfo_template, - int * nitems_return); +EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask, + XVisualInfo *vinfo_template, + int *nitems_return); #endif #ifndef XSetWMClientMachine_TCL_DECLARED #define XSetWMClientMachine_TCL_DECLARED /* 78 */ -EXTERN void XSetWMClientMachine (Display * display, Window w, - XTextProperty * text_prop); +EXTERN void XSetWMClientMachine(Display *display, Window w, + XTextProperty *text_prop); #endif #ifndef XStringListToTextProperty_TCL_DECLARED #define XStringListToTextProperty_TCL_DECLARED /* 79 */ -EXTERN Status XStringListToTextProperty (char ** list, int count, - XTextProperty * text_prop_return); +EXTERN Status XStringListToTextProperty(char **list, int count, + XTextProperty *text_prop_return); #endif #ifndef XDrawSegments_TCL_DECLARED #define XDrawSegments_TCL_DECLARED /* 80 */ -EXTERN void XDrawSegments (Display * display, Drawable d, GC gc, - XSegment * segments, int nsegments); +EXTERN void XDrawSegments(Display *display, Drawable d, GC gc, + XSegment *segments, int nsegments); #endif #ifndef XForceScreenSaver_TCL_DECLARED #define XForceScreenSaver_TCL_DECLARED /* 81 */ -EXTERN void XForceScreenSaver (Display * display, int mode); +EXTERN void XForceScreenSaver(Display *display, int mode); #endif #ifndef XDrawLine_TCL_DECLARED #define XDrawLine_TCL_DECLARED /* 82 */ -EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1, +EXTERN void XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); #endif #ifndef XFillRectangle_TCL_DECLARED #define XFillRectangle_TCL_DECLARED /* 83 */ -EXTERN void XFillRectangle (Display * display, Drawable d, GC gc, - int x, int y, unsigned int width, +EXTERN void XFillRectangle(Display *display, Drawable d, GC gc, + int x, int y, unsigned int width, unsigned int height); #endif #ifndef XClearWindow_TCL_DECLARED #define XClearWindow_TCL_DECLARED /* 84 */ -EXTERN void XClearWindow (Display * d, Window w); +EXTERN void XClearWindow(Display *d, Window w); #endif #ifndef XDrawPoint_TCL_DECLARED #define XDrawPoint_TCL_DECLARED /* 85 */ -EXTERN void XDrawPoint (Display * display, Drawable d, GC gc, +EXTERN void XDrawPoint(Display *display, Drawable d, GC gc, int x, int y); #endif #ifndef XDrawPoints_TCL_DECLARED #define XDrawPoints_TCL_DECLARED /* 86 */ -EXTERN void XDrawPoints (Display * display, Drawable d, GC gc, - XPoint * points, int npoints, int mode); +EXTERN void XDrawPoints(Display *display, Drawable d, GC gc, + XPoint *points, int npoints, int mode); #endif #ifndef XWarpPointer_TCL_DECLARED #define XWarpPointer_TCL_DECLARED /* 87 */ -EXTERN void XWarpPointer (Display * display, Window src_w, - Window dest_w, int src_x, int src_y, - unsigned int src_width, - unsigned int src_height, int dest_x, +EXTERN void XWarpPointer(Display *display, Window src_w, + Window dest_w, int src_x, int src_y, + unsigned int src_width, + unsigned int src_height, int dest_x, int dest_y); #endif #ifndef XQueryColor_TCL_DECLARED #define XQueryColor_TCL_DECLARED /* 88 */ -EXTERN void XQueryColor (Display * display, Colormap colormap, - XColor * def_in_out); +EXTERN void XQueryColor(Display *display, Colormap colormap, + XColor *def_in_out); #endif #ifndef XQueryColors_TCL_DECLARED #define XQueryColors_TCL_DECLARED /* 89 */ -EXTERN void XQueryColors (Display * display, Colormap colormap, - XColor * defs_in_out, int ncolors); +EXTERN void XQueryColors(Display *display, Colormap colormap, + XColor *defs_in_out, int ncolors); #endif #ifndef XQueryTree_TCL_DECLARED #define XQueryTree_TCL_DECLARED /* 90 */ -EXTERN Status XQueryTree (Display * d, Window w1, Window * w2, - Window * w3, Window ** w4, unsigned int * ui); +EXTERN Status XQueryTree(Display *d, Window w1, Window *w2, + Window *w3, Window **w4, unsigned int *ui); #endif #ifndef XSync_TCL_DECLARED #define XSync_TCL_DECLARED /* 91 */ -EXTERN int XSync (Display * display, Bool flag); +EXTERN int XSync(Display *display, Bool flag); #endif #endif /* AQUA */ @@ -1215,207 +1196,207 @@ typedef struct TkIntXlibStubs { struct TkIntXlibStubHooks *hooks; #ifdef __WIN32__ /* WIN */ - void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */ - XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */ - XImage * (*xCreateImage) (Display * d, Visual * v, unsigned int ui1, int i1, int i2, char * cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */ - XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ - char * (*xGetAtomName) (Display * d, Atom a); /* 4 */ + void (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */ + XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */ + XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */ + XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ + char * (*xGetAtomName) (Display *d, Atom a); /* 4 */ char * (*xKeysymToString) (KeySym k); /* 5 */ - Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */ - Cursor (*xCreatePixmapCursor) (Display * d, Pixmap p1, Pixmap p2, XColor * x1, XColor * x2, unsigned int ui1, unsigned int ui2); /* 7 */ - Cursor (*xCreateGlyphCursor) (Display * d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor * x1, XColor * x2); /* 8 */ + Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */ + Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 7 */ + Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor *x1, XColor *x2); /* 8 */ GContext (*xGContextFromGC) (GC g); /* 9 */ - XHostAddress * (*xListHosts) (Display * d, int * i, Bool * b); /* 10 */ - KeySym (*xKeycodeToKeysym) (Display * d, unsigned int k, int i); /* 11 */ - KeySym (*xStringToKeysym) (_Xconst char * c); /* 12 */ - Window (*xRootWindow) (Display * d, int i); /* 13 */ + XHostAddress * (*xListHosts) (Display *d, int *i, Bool *b); /* 10 */ + KeySym (*xKeycodeToKeysym) (Display *d, unsigned int k, int i); /* 11 */ + KeySym (*xStringToKeysym) (_Xconst char *c); /* 12 */ + Window (*xRootWindow) (Display *d, int i); /* 13 */ XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */ - Status (*xIconifyWindow) (Display * d, Window w, int i); /* 15 */ - Status (*xWithdrawWindow) (Display * d, Window w, int i); /* 16 */ - Status (*xGetWMColormapWindows) (Display * d, Window w, Window ** wpp, int * ip); /* 17 */ - Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 18 */ - void (*xBell) (Display * d, int i); /* 19 */ - void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 20 */ - void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 21 */ - void (*xClearWindow) (Display * d, Window w); /* 22 */ - void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 23 */ - void (*xCopyArea) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */ - void (*xCopyPlane) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */ - Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 26 */ - void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 27 */ - void (*xDeleteProperty) (Display * d, Window w, Atom a); /* 28 */ - void (*xDestroyWindow) (Display * d, Window w); /* 29 */ - void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */ - void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 31 */ - void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */ - void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */ - void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 34 */ - void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 35 */ - void (*xForceScreenSaver) (Display * d, int i); /* 36 */ - void (*xFreeColormap) (Display * d, Colormap c); /* 37 */ - void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 38 */ - void (*xFreeCursor) (Display * d, Cursor c); /* 39 */ - void (*xFreeModifiermap) (XModifierKeymap * x); /* 40 */ - Status (*xGetGeometry) (Display * d, Drawable dr, Window * w, int * i1, int * i2, unsigned int * ui1, unsigned int * ui2, unsigned int * ui3, unsigned int * ui4); /* 41 */ - void (*xGetInputFocus) (Display * d, Window * w, int * i); /* 42 */ - int (*xGetWindowProperty) (Display * d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom * ap, int * ip, unsigned long * ulp1, unsigned long * ulp2, unsigned char ** cpp); /* 43 */ - Status (*xGetWindowAttributes) (Display * d, Window w, XWindowAttributes * x); /* 44 */ - int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 45 */ - int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */ - KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 47 */ - Status (*xLookupColor) (Display * d, Colormap c1, _Xconst char * c2, XColor * x1, XColor * x2); /* 48 */ - void (*xMapWindow) (Display * d, Window w); /* 49 */ - void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */ - void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 51 */ - void (*xNextEvent) (Display * d, XEvent * x); /* 52 */ - void (*xPutBackEvent) (Display * d, XEvent * x); /* 53 */ - void (*xQueryColors) (Display * d, Colormap c, XColor * x, int i); /* 54 */ - Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 55 */ - Status (*xQueryTree) (Display * d, Window w1, Window * w2, Window * w3, Window ** w4, unsigned int * ui); /* 56 */ - void (*xRaiseWindow) (Display * d, Window w); /* 57 */ - void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 58 */ - void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */ - void (*xSelectInput) (Display * d, Window w, long l); /* 60 */ - Status (*xSendEvent) (Display * d, Window w, Bool b, long l, XEvent * x); /* 61 */ - void (*xSetCommand) (Display * d, Window w, CONST char ** c, int i); /* 62 */ - void (*xSetIconName) (Display * d, Window w, _Xconst char * c); /* 63 */ - void (*xSetInputFocus) (Display * d, Window w, int i, Time t); /* 64 */ - void (*xSetSelectionOwner) (Display * d, Atom a, Window w, Time t); /* 65 */ - void (*xSetWindowBackground) (Display * d, Window w, unsigned long ul); /* 66 */ - void (*xSetWindowBackgroundPixmap) (Display * d, Window w, Pixmap p); /* 67 */ - void (*xSetWindowBorder) (Display * d, Window w, unsigned long ul); /* 68 */ - void (*xSetWindowBorderPixmap) (Display * d, Window w, Pixmap p); /* 69 */ - void (*xSetWindowBorderWidth) (Display * d, Window w, unsigned int ui); /* 70 */ - void (*xSetWindowColormap) (Display * d, Window w, Colormap c); /* 71 */ - Bool (*xTranslateCoordinates) (Display * d, Window w1, Window w2, int i1, int i2, int * i3, int * i4, Window * w3); /* 72 */ - void (*xUngrabKeyboard) (Display * d, Time t); /* 73 */ - void (*xUngrabPointer) (Display * d, Time t); /* 74 */ - void (*xUnmapWindow) (Display * d, Window w); /* 75 */ - void (*xWindowEvent) (Display * d, Window w, long l, XEvent * x); /* 76 */ + Status (*xIconifyWindow) (Display *d, Window w, int i); /* 15 */ + Status (*xWithdrawWindow) (Display *d, Window w, int i); /* 16 */ + Status (*xGetWMColormapWindows) (Display *d, Window w, Window **wpp, int *ip); /* 17 */ + Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 18 */ + void (*xBell) (Display *d, int i); /* 19 */ + void (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 20 */ + void (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 21 */ + void (*xClearWindow) (Display *d, Window w); /* 22 */ + void (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 23 */ + void (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */ + void (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */ + Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 26 */ + void (*xDefineCursor) (Display *d, Window w, Cursor c); /* 27 */ + void (*xDeleteProperty) (Display *d, Window w, Atom a); /* 28 */ + void (*xDestroyWindow) (Display *d, Window w); /* 29 */ + void (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */ + void (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 31 */ + void (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */ + void (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */ + void (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 34 */ + void (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 35 */ + void (*xForceScreenSaver) (Display *d, int i); /* 36 */ + void (*xFreeColormap) (Display *d, Colormap c); /* 37 */ + void (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 38 */ + void (*xFreeCursor) (Display *d, Cursor c); /* 39 */ + void (*xFreeModifiermap) (XModifierKeymap *x); /* 40 */ + Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 41 */ + void (*xGetInputFocus) (Display *d, Window *w, int *i); /* 42 */ + int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 43 */ + Status (*xGetWindowAttributes) (Display *d, Window w, XWindowAttributes *x); /* 44 */ + int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 45 */ + int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */ + KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 47 */ + Status (*xLookupColor) (Display *d, Colormap c1, _Xconst char *c2, XColor *x1, XColor *x2); /* 48 */ + void (*xMapWindow) (Display *d, Window w); /* 49 */ + void (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */ + void (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 51 */ + void (*xNextEvent) (Display *d, XEvent *x); /* 52 */ + void (*xPutBackEvent) (Display *d, XEvent *x); /* 53 */ + void (*xQueryColors) (Display *d, Colormap c, XColor *x, int i); /* 54 */ + Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 55 */ + Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 56 */ + void (*xRaiseWindow) (Display *d, Window w); /* 57 */ + void (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 58 */ + void (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */ + void (*xSelectInput) (Display *d, Window w, long l); /* 60 */ + Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 61 */ + void (*xSetCommand) (Display *d, Window w, CONST char **c, int i); /* 62 */ + void (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 63 */ + void (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 64 */ + void (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 65 */ + void (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 66 */ + void (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 67 */ + void (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 68 */ + void (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 69 */ + void (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 70 */ + void (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 71 */ + Bool (*xTranslateCoordinates) (Display *d, Window w1, Window w2, int i1, int i2, int *i3, int *i4, Window *w3); /* 72 */ + void (*xUngrabKeyboard) (Display *d, Time t); /* 73 */ + void (*xUngrabPointer) (Display *d, Time t); /* 74 */ + void (*xUnmapWindow) (Display *d, Window w); /* 75 */ + void (*xWindowEvent) (Display *d, Window w, long l, XEvent *x); /* 76 */ void (*xDestroyIC) (XIC x); /* 77 */ - Bool (*xFilterEvent) (XEvent * x, Window w); /* 78 */ - int (*xmbLookupString) (XIC xi, XKeyPressedEvent * xk, char * c, int i, KeySym * k, Status * s); /* 79 */ - void (*tkPutImage) (unsigned long * colors, int ncolors, Display * display, Drawable d, GC gc, XImage * image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */ + Bool (*xFilterEvent) (XEvent *x, Window w); /* 78 */ + int (*xmbLookupString) (XIC xi, XKeyPressedEvent *xk, char *c, int i, KeySym *k, Status *s); /* 79 */ + void (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */ void *reserved81; - Status (*xParseColor) (Display * display, Colormap map, _Xconst char * spec, XColor * colorPtr); /* 82 */ - GC (*xCreateGC) (Display * display, Drawable d, unsigned long valuemask, XGCValues * values); /* 83 */ - void (*xFreeGC) (Display * display, GC gc); /* 84 */ - Atom (*xInternAtom) (Display * display, _Xconst char * atom_name, Bool only_if_exists); /* 85 */ - void (*xSetBackground) (Display * display, GC gc, unsigned long foreground); /* 86 */ - void (*xSetForeground) (Display * display, GC gc, unsigned long foreground); /* 87 */ - void (*xSetClipMask) (Display * display, GC gc, Pixmap pixmap); /* 88 */ - void (*xSetClipOrigin) (Display * display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */ - void (*xSetTSOrigin) (Display * display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */ - void (*xChangeGC) (Display * d, GC gc, unsigned long mask, XGCValues * values); /* 91 */ - void (*xSetFont) (Display * display, GC gc, Font font); /* 92 */ - void (*xSetArcMode) (Display * display, GC gc, int arc_mode); /* 93 */ - void (*xSetStipple) (Display * display, GC gc, Pixmap stipple); /* 94 */ - void (*xSetFillRule) (Display * display, GC gc, int fill_rule); /* 95 */ - void (*xSetFillStyle) (Display * display, GC gc, int fill_style); /* 96 */ - void (*xSetFunction) (Display * display, GC gc, int function); /* 97 */ - void (*xSetLineAttributes) (Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */ - int (*_XInitImageFuncPtrs) (XImage * image); /* 99 */ + Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 82 */ + GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 83 */ + void (*xFreeGC) (Display *display, GC gc); /* 84 */ + Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 85 */ + void (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 86 */ + void (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 87 */ + void (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 88 */ + void (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */ + void (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */ + void (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 91 */ + void (*xSetFont) (Display *display, GC gc, Font font); /* 92 */ + void (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 93 */ + void (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 94 */ + void (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 95 */ + void (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 96 */ + void (*xSetFunction) (Display *display, GC gc, int function); /* 97 */ + void (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */ + int (*_XInitImageFuncPtrs) (XImage *image); /* 99 */ XIC (*xCreateIC) (void); /* 100 */ - XVisualInfo * (*xGetVisualInfo) (Display * display, long vinfo_mask, XVisualInfo * vinfo_template, int * nitems_return); /* 101 */ - void (*xSetWMClientMachine) (Display * display, Window w, XTextProperty * text_prop); /* 102 */ - Status (*xStringListToTextProperty) (char ** list, int count, XTextProperty * text_prop_return); /* 103 */ - void (*xDrawLine) (Display * d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */ - void (*xWarpPointer) (Display * d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */ - void (*xFillRectangle) (Display * display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */ + XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 101 */ + void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 102 */ + Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 103 */ + void (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */ + void (*xWarpPointer) (Display *d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */ + void (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ - void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */ - XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */ - XImage * (*xCreateImage) (Display * d, Visual * v, unsigned int ui1, int i1, int i2, char * cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */ - XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ - char * (*xGetAtomName) (Display * d, Atom a); /* 4 */ + void (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */ + XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */ + XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */ + XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ + char * (*xGetAtomName) (Display *d, Atom a); /* 4 */ char * (*xKeysymToString) (KeySym k); /* 5 */ - Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */ + Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */ GContext (*xGContextFromGC) (GC g); /* 7 */ - KeySym (*xKeycodeToKeysym) (Display * d, KeyCode k, int i); /* 8 */ - KeySym (*xStringToKeysym) (_Xconst char * c); /* 9 */ - Window (*xRootWindow) (Display * d, int i); /* 10 */ + KeySym (*xKeycodeToKeysym) (Display *d, KeyCode k, int i); /* 8 */ + KeySym (*xStringToKeysym) (_Xconst char *c); /* 9 */ + Window (*xRootWindow) (Display *d, int i); /* 10 */ XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */ - Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 12 */ - void (*xBell) (Display * d, int i); /* 13 */ - void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 14 */ - void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 15 */ - void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 16 */ - void (*xCopyArea) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */ - void (*xCopyPlane) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */ - Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 19 */ - void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 20 */ - void (*xDestroyWindow) (Display * d, Window w); /* 21 */ - void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */ - void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 23 */ - void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */ - void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */ - void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 26 */ - void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 27 */ - void (*xFreeColormap) (Display * d, Colormap c); /* 28 */ - void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 29 */ - void (*xFreeModifiermap) (XModifierKeymap * x); /* 30 */ - Status (*xGetGeometry) (Display * d, Drawable dr, Window * w, int * i1, int * i2, unsigned int * ui1, unsigned int * ui2, unsigned int * ui3, unsigned int * ui4); /* 31 */ - int (*xGetWindowProperty) (Display * d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom * ap, int * ip, unsigned long * ulp1, unsigned long * ulp2, unsigned char ** cpp); /* 32 */ - int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 33 */ - int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */ - KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 35 */ - void (*xMapWindow) (Display * d, Window w); /* 36 */ - void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */ - void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 38 */ - Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 39 */ - void (*xRaiseWindow) (Display * d, Window w); /* 40 */ - void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 41 */ - void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsigned int ui2); /* 42 */ - void (*xSelectInput) (Display * d, Window w, long l); /* 43 */ - Status (*xSendEvent) (Display * d, Window w, Bool b, long l, XEvent * x); /* 44 */ - void (*xSetIconName) (Display * d, Window w, _Xconst char * c); /* 45 */ - void (*xSetInputFocus) (Display * d, Window w, int i, Time t); /* 46 */ - void (*xSetSelectionOwner) (Display * d, Atom a, Window w, Time t); /* 47 */ - void (*xSetWindowBackground) (Display * d, Window w, unsigned long ul); /* 48 */ - void (*xSetWindowBackgroundPixmap) (Display * d, Window w, Pixmap p); /* 49 */ - void (*xSetWindowBorder) (Display * d, Window w, unsigned long ul); /* 50 */ - void (*xSetWindowBorderPixmap) (Display * d, Window w, Pixmap p); /* 51 */ - void (*xSetWindowBorderWidth) (Display * d, Window w, unsigned int ui); /* 52 */ - void (*xSetWindowColormap) (Display * d, Window w, Colormap c); /* 53 */ - void (*xUngrabKeyboard) (Display * d, Time t); /* 54 */ - void (*xUngrabPointer) (Display * d, Time t); /* 55 */ - void (*xUnmapWindow) (Display * d, Window w); /* 56 */ - void (*tkPutImage) (unsigned long * colors, int ncolors, Display * display, Drawable d, GC gc, XImage * image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 57 */ - Status (*xParseColor) (Display * display, Colormap map, _Xconst char * spec, XColor * colorPtr); /* 58 */ - GC (*xCreateGC) (Display * display, Drawable d, unsigned long valuemask, XGCValues * values); /* 59 */ - void (*xFreeGC) (Display * display, GC gc); /* 60 */ - Atom (*xInternAtom) (Display * display, _Xconst char * atom_name, Bool only_if_exists); /* 61 */ - void (*xSetBackground) (Display * display, GC gc, unsigned long foreground); /* 62 */ - void (*xSetForeground) (Display * display, GC gc, unsigned long foreground); /* 63 */ - void (*xSetClipMask) (Display * display, GC gc, Pixmap pixmap); /* 64 */ - void (*xSetClipOrigin) (Display * display, GC gc, int clip_x_origin, int clip_y_origin); /* 65 */ - void (*xSetTSOrigin) (Display * display, GC gc, int ts_x_origin, int ts_y_origin); /* 66 */ - void (*xChangeGC) (Display * d, GC gc, unsigned long mask, XGCValues * values); /* 67 */ - void (*xSetFont) (Display * display, GC gc, Font font); /* 68 */ - void (*xSetArcMode) (Display * display, GC gc, int arc_mode); /* 69 */ - void (*xSetStipple) (Display * display, GC gc, Pixmap stipple); /* 70 */ - void (*xSetFillRule) (Display * display, GC gc, int fill_rule); /* 71 */ - void (*xSetFillStyle) (Display * display, GC gc, int fill_style); /* 72 */ - void (*xSetFunction) (Display * display, GC gc, int function); /* 73 */ - void (*xSetLineAttributes) (Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 74 */ - int (*_XInitImageFuncPtrs) (XImage * image); /* 75 */ + Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 12 */ + void (*xBell) (Display *d, int i); /* 13 */ + void (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 14 */ + void (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 15 */ + void (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 16 */ + void (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */ + void (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */ + Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 19 */ + void (*xDefineCursor) (Display *d, Window w, Cursor c); /* 20 */ + void (*xDestroyWindow) (Display *d, Window w); /* 21 */ + void (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */ + void (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 23 */ + void (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */ + void (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */ + void (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 26 */ + void (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 27 */ + void (*xFreeColormap) (Display *d, Colormap c); /* 28 */ + void (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 29 */ + void (*xFreeModifiermap) (XModifierKeymap *x); /* 30 */ + Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 31 */ + int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 32 */ + int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 33 */ + int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */ + KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 35 */ + void (*xMapWindow) (Display *d, Window w); /* 36 */ + void (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */ + void (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 38 */ + Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 39 */ + void (*xRaiseWindow) (Display *d, Window w); /* 40 */ + void (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 41 */ + void (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 42 */ + void (*xSelectInput) (Display *d, Window w, long l); /* 43 */ + Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 44 */ + void (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 45 */ + void (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 46 */ + void (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 47 */ + void (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 48 */ + void (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 49 */ + void (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 50 */ + void (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 51 */ + void (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 52 */ + void (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 53 */ + void (*xUngrabKeyboard) (Display *d, Time t); /* 54 */ + void (*xUngrabPointer) (Display *d, Time t); /* 55 */ + void (*xUnmapWindow) (Display *d, Window w); /* 56 */ + void (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 57 */ + Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 58 */ + GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 59 */ + void (*xFreeGC) (Display *display, GC gc); /* 60 */ + Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 61 */ + void (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 62 */ + void (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 63 */ + void (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 64 */ + void (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 65 */ + void (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 66 */ + void (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 67 */ + void (*xSetFont) (Display *display, GC gc, Font font); /* 68 */ + void (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 69 */ + void (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 70 */ + void (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 71 */ + void (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 72 */ + void (*xSetFunction) (Display *display, GC gc, int function); /* 73 */ + void (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 74 */ + int (*_XInitImageFuncPtrs) (XImage *image); /* 75 */ XIC (*xCreateIC) (void); /* 76 */ - XVisualInfo * (*xGetVisualInfo) (Display * display, long vinfo_mask, XVisualInfo * vinfo_template, int * nitems_return); /* 77 */ - void (*xSetWMClientMachine) (Display * display, Window w, XTextProperty * text_prop); /* 78 */ - Status (*xStringListToTextProperty) (char ** list, int count, XTextProperty * text_prop_return); /* 79 */ - void (*xDrawSegments) (Display * display, Drawable d, GC gc, XSegment * segments, int nsegments); /* 80 */ - void (*xForceScreenSaver) (Display * display, int mode); /* 81 */ - void (*xDrawLine) (Display * d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 82 */ - void (*xFillRectangle) (Display * display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 83 */ - void (*xClearWindow) (Display * d, Window w); /* 84 */ - void (*xDrawPoint) (Display * display, Drawable d, GC gc, int x, int y); /* 85 */ - void (*xDrawPoints) (Display * display, Drawable d, GC gc, XPoint * points, int npoints, int mode); /* 86 */ - void (*xWarpPointer) (Display * display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y); /* 87 */ - void (*xQueryColor) (Display * display, Colormap colormap, XColor * def_in_out); /* 88 */ - void (*xQueryColors) (Display * display, Colormap colormap, XColor * defs_in_out, int ncolors); /* 89 */ - Status (*xQueryTree) (Display * d, Window w1, Window * w2, Window * w3, Window ** w4, unsigned int * ui); /* 90 */ - int (*xSync) (Display * display, Bool flag); /* 91 */ + XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 77 */ + void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 78 */ + Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 79 */ + void (*xDrawSegments) (Display *display, Drawable d, GC gc, XSegment *segments, int nsegments); /* 80 */ + void (*xForceScreenSaver) (Display *display, int mode); /* 81 */ + void (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 82 */ + void (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 83 */ + void (*xClearWindow) (Display *d, Window w); /* 84 */ + void (*xDrawPoint) (Display *display, Drawable d, GC gc, int x, int y); /* 85 */ + void (*xDrawPoints) (Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode); /* 86 */ + void (*xWarpPointer) (Display *display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y); /* 87 */ + void (*xQueryColor) (Display *display, Colormap colormap, XColor *def_in_out); /* 88 */ + void (*xQueryColors) (Display *display, Colormap colormap, XColor *defs_in_out, int ncolors); /* 89 */ + Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 90 */ + int (*xSync) (Display *display, Bool flag); /* 91 */ #endif /* AQUA */ } TkIntXlibStubs; diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h index e311c12..5ea2999 100644 --- a/generic/tkPlatDecls.h +++ b/generic/tkPlatDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkPlatDecls.h,v 1.15 2007/12/13 15:24:16 dgp Exp $ + * RCS: @(#) $Id: tkPlatDecls.h,v 1.15.2.1 2010/02/07 23:24:13 nijtmans Exp $ */ #ifndef _TKPLATDECLS @@ -35,97 +35,97 @@ #ifndef Tk_AttachHWND_TCL_DECLARED #define Tk_AttachHWND_TCL_DECLARED /* 0 */ -EXTERN Window Tk_AttachHWND (Tk_Window tkwin, HWND hwnd); +EXTERN Window Tk_AttachHWND(Tk_Window tkwin, HWND hwnd); #endif #ifndef Tk_GetHINSTANCE_TCL_DECLARED #define Tk_GetHINSTANCE_TCL_DECLARED /* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE (void); +EXTERN HINSTANCE Tk_GetHINSTANCE(void); #endif #ifndef Tk_GetHWND_TCL_DECLARED #define Tk_GetHWND_TCL_DECLARED /* 2 */ -EXTERN HWND Tk_GetHWND (Window window); +EXTERN HWND Tk_GetHWND(Window window); #endif #ifndef Tk_HWNDToWindow_TCL_DECLARED #define Tk_HWNDToWindow_TCL_DECLARED /* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow (HWND hwnd); +EXTERN Tk_Window Tk_HWNDToWindow(HWND hwnd); #endif #ifndef Tk_PointerEvent_TCL_DECLARED #define Tk_PointerEvent_TCL_DECLARED /* 4 */ -EXTERN void Tk_PointerEvent (HWND hwnd, int x, int y); +EXTERN void Tk_PointerEvent(HWND hwnd, int x, int y); #endif #ifndef Tk_TranslateWinEvent_TCL_DECLARED #define Tk_TranslateWinEvent_TCL_DECLARED /* 5 */ -EXTERN int Tk_TranslateWinEvent (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam, - LRESULT * result); +EXTERN int Tk_TranslateWinEvent(HWND hwnd, UINT message, + WPARAM wParam, LPARAM lParam, + LRESULT *result); #endif #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ #ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED #define Tk_MacOSXSetEmbedHandler_TCL_DECLARED /* 0 */ -EXTERN void Tk_MacOSXSetEmbedHandler ( - Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacOSXEmbedGetClipProc * getClipProc, - Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); +EXTERN void Tk_MacOSXSetEmbedHandler( + Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr, + Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, + Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr, + Tk_MacOSXEmbedGetClipProc *getClipProc, + Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc); #endif #ifndef Tk_MacOSXTurnOffMenus_TCL_DECLARED #define Tk_MacOSXTurnOffMenus_TCL_DECLARED /* 1 */ -EXTERN void Tk_MacOSXTurnOffMenus (void); +EXTERN void Tk_MacOSXTurnOffMenus(void); #endif #ifndef Tk_MacOSXTkOwnsCursor_TCL_DECLARED #define Tk_MacOSXTkOwnsCursor_TCL_DECLARED /* 2 */ -EXTERN void Tk_MacOSXTkOwnsCursor (int tkOwnsIt); +EXTERN void Tk_MacOSXTkOwnsCursor(int tkOwnsIt); #endif #ifndef TkMacOSXInitMenus_TCL_DECLARED #define TkMacOSXInitMenus_TCL_DECLARED /* 3 */ -EXTERN void TkMacOSXInitMenus (Tcl_Interp * interp); +EXTERN void TkMacOSXInitMenus(Tcl_Interp *interp); #endif #ifndef TkMacOSXInitAppleEvents_TCL_DECLARED #define TkMacOSXInitAppleEvents_TCL_DECLARED /* 4 */ -EXTERN void TkMacOSXInitAppleEvents (Tcl_Interp * interp); +EXTERN void TkMacOSXInitAppleEvents(Tcl_Interp *interp); #endif #ifndef TkGenWMConfigureEvent_TCL_DECLARED #define TkGenWMConfigureEvent_TCL_DECLARED /* 5 */ -EXTERN void TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, +EXTERN void TkGenWMConfigureEvent(Tk_Window tkwin, int x, int y, int width, int height, int flags); #endif #ifndef TkMacOSXInvalClipRgns_TCL_DECLARED #define TkMacOSXInvalClipRgns_TCL_DECLARED /* 6 */ -EXTERN void TkMacOSXInvalClipRgns (Tk_Window tkwin); +EXTERN void TkMacOSXInvalClipRgns(Tk_Window tkwin); #endif #ifndef TkMacOSXGetDrawablePort_TCL_DECLARED #define TkMacOSXGetDrawablePort_TCL_DECLARED /* 7 */ -EXTERN GWorldPtr TkMacOSXGetDrawablePort (Drawable drawable); +EXTERN GWorldPtr TkMacOSXGetDrawablePort(Drawable drawable); #endif #ifndef TkMacOSXGetRootControl_TCL_DECLARED #define TkMacOSXGetRootControl_TCL_DECLARED /* 8 */ -EXTERN ControlRef TkMacOSXGetRootControl (Drawable drawable); +EXTERN ControlRef TkMacOSXGetRootControl(Drawable drawable); #endif #ifndef Tk_MacOSXSetupTkNotifier_TCL_DECLARED #define Tk_MacOSXSetupTkNotifier_TCL_DECLARED /* 9 */ -EXTERN void Tk_MacOSXSetupTkNotifier (void); +EXTERN void Tk_MacOSXSetupTkNotifier(void); #endif #ifndef Tk_MacOSXIsAppInFront_TCL_DECLARED #define Tk_MacOSXIsAppInFront_TCL_DECLARED /* 10 */ -EXTERN int Tk_MacOSXIsAppInFront (void); +EXTERN int Tk_MacOSXIsAppInFront(void); #endif #endif /* AQUA */ @@ -139,14 +139,14 @@ typedef struct TkPlatStubs { HWND (*tk_GetHWND) (Window window); /* 2 */ Tk_Window (*tk_HWNDToWindow) (HWND hwnd); /* 3 */ void (*tk_PointerEvent) (HWND hwnd, int x, int y); /* 4 */ - int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result); /* 5 */ + int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result); /* 5 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ - void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacOSXEmbedGetClipProc * getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); /* 0 */ + void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr, Tk_MacOSXEmbedGetClipProc *getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc); /* 0 */ void (*tk_MacOSXTurnOffMenus) (void); /* 1 */ void (*tk_MacOSXTkOwnsCursor) (int tkOwnsIt); /* 2 */ - void (*tkMacOSXInitMenus) (Tcl_Interp * interp); /* 3 */ - void (*tkMacOSXInitAppleEvents) (Tcl_Interp * interp); /* 4 */ + void (*tkMacOSXInitMenus) (Tcl_Interp *interp); /* 3 */ + void (*tkMacOSXInitAppleEvents) (Tcl_Interp *interp); /* 4 */ void (*tkGenWMConfigureEvent) (Tk_Window tkwin, int x, int y, int width, int height, int flags); /* 5 */ void (*tkMacOSXInvalClipRgns) (Tk_Window tkwin); /* 6 */ GWorldPtr (*tkMacOSXGetDrawablePort) (Drawable drawable); /* 7 */ diff --git a/generic/ttk/ttk.decls b/generic/ttk/ttk.decls index b3f2538..889a130 100644 --- a/generic/ttk/ttk.decls +++ b/generic/ttk/ttk.decls @@ -1,5 +1,5 @@ # -# $Id: ttk.decls,v 1.2 2006/12/10 19:19:44 jenglish Exp $ +# $Id: ttk.decls,v 1.2.4.1 2010/02/07 23:24:13 nijtmans Exp $ # library ttk @@ -27,7 +27,7 @@ declare 4 current { declare 5 current { int Ttk_RegisterElementSpec( - Ttk_Theme theme, + Ttk_Theme theme, const char *elementName, Ttk_ElementSpec *elementSpec, void *clientData); @@ -36,7 +36,7 @@ declare 5 current { declare 6 current { Ttk_ElementImpl Ttk_RegisterElement( Tcl_Interp *interp, - Ttk_Theme theme, + Ttk_Theme theme, const char *elementName, Ttk_ElementSpec *elementSpec, void *clientData); @@ -44,7 +44,7 @@ declare 6 current { declare 7 current { int Ttk_RegisterElementFactory( - Tcl_Interp *interp, + Tcl_Interp *interp, const char *name, Ttk_ElementFactory factoryProc, void *clientData); @@ -64,7 +64,7 @@ declare 10 current { } declare 11 current { Tcl_Obj *Ttk_NewStateSpecObj( - unsigned int onbits,unsigned int offbits); + unsigned int onbits, unsigned int offbits); } declare 12 current { Ttk_StateMap Ttk_GetStateMapFromObj( @@ -85,15 +85,15 @@ declare 14 current { # declare 20 current { int Ttk_GetPaddingFromObj( - Tcl_Interp *interp, - Tk_Window tkwin, - Tcl_Obj *objPtr, + Tcl_Interp *interp, + Tk_Window tkwin, + Tcl_Obj *objPtr, Ttk_Padding *pad_rtn); } declare 21 current { int Ttk_GetBorderFromObj( - Tcl_Interp *interp, - Tcl_Obj *objPtr, + Tcl_Interp *interp, + Tcl_Obj *objPtr, Ttk_Padding *pad_rtn); } declare 22 current { diff --git a/generic/ttk/ttkDecls.h b/generic/ttk/ttkDecls.h index 6e515d6..0bdcd93 100644 --- a/generic/ttk/ttkDecls.h +++ b/generic/ttk/ttkDecls.h @@ -1,5 +1,5 @@ /* - * $Id: ttkDecls.h,v 1.6 2008/03/27 12:04:02 das Exp $ + * $Id: ttkDecls.h,v 1.6.2.1 2010/02/07 23:24:13 nijtmans Exp $ * * This file is (mostly) automatically generated from ttk.decls. */ @@ -32,52 +32,52 @@ extern const char *TtkInitializeStubs( */ /* 0 */ -TTKAPI Ttk_Theme Ttk_GetTheme (Tcl_Interp * interp, const char * name); +TTKAPI Ttk_Theme Ttk_GetTheme(Tcl_Interp *interp, const char *name); /* 1 */ -TTKAPI Ttk_Theme Ttk_GetDefaultTheme (Tcl_Interp * interp); +TTKAPI Ttk_Theme Ttk_GetDefaultTheme(Tcl_Interp *interp); /* 2 */ -TTKAPI Ttk_Theme Ttk_GetCurrentTheme (Tcl_Interp * interp); +TTKAPI Ttk_Theme Ttk_GetCurrentTheme(Tcl_Interp *interp); /* 3 */ -TTKAPI Ttk_Theme Ttk_CreateTheme (Tcl_Interp * interp, - const char * name, Ttk_Theme parent); +TTKAPI Ttk_Theme Ttk_CreateTheme(Tcl_Interp *interp, const char *name, + Ttk_Theme parent); /* 4 */ -TTKAPI void Ttk_RegisterCleanup (Tcl_Interp * interp, - void * deleteData, - Ttk_CleanupProc * cleanupProc); +TTKAPI void Ttk_RegisterCleanup(Tcl_Interp *interp, + void *deleteData, + Ttk_CleanupProc *cleanupProc); /* 5 */ -TTKAPI int Ttk_RegisterElementSpec (Ttk_Theme theme, - const char * elementName, - Ttk_ElementSpec * elementSpec, - void * clientData); +TTKAPI int Ttk_RegisterElementSpec(Ttk_Theme theme, + const char *elementName, + Ttk_ElementSpec *elementSpec, + void *clientData); /* 6 */ -TTKAPI Ttk_ElementImpl Ttk_RegisterElement (Tcl_Interp * interp, - Ttk_Theme theme, const char * elementName, - Ttk_ElementSpec * elementSpec, - void * clientData); +TTKAPI Ttk_ElementImpl Ttk_RegisterElement(Tcl_Interp *interp, + Ttk_Theme theme, const char *elementName, + Ttk_ElementSpec *elementSpec, + void *clientData); /* 7 */ -TTKAPI int Ttk_RegisterElementFactory (Tcl_Interp * interp, - const char * name, - Ttk_ElementFactory factoryProc, - void * clientData); +TTKAPI int Ttk_RegisterElementFactory(Tcl_Interp *interp, + const char *name, + Ttk_ElementFactory factoryProc, + void *clientData); /* 8 */ -TTKAPI void Ttk_RegisterLayout (Ttk_Theme theme, - const char * className, +TTKAPI void Ttk_RegisterLayout(Ttk_Theme theme, + const char *className, Ttk_LayoutSpec layoutSpec); /* Slot 9 is reserved */ /* 10 */ -TTKAPI int Ttk_GetStateSpecFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Ttk_StateSpec * spec_rtn); +TTKAPI int Ttk_GetStateSpecFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, Ttk_StateSpec *spec_rtn); /* 11 */ -TTKAPI Tcl_Obj * Ttk_NewStateSpecObj (unsigned int onbits, +TTKAPI Tcl_Obj * Ttk_NewStateSpecObj(unsigned int onbits, unsigned int offbits); /* 12 */ -TTKAPI Ttk_StateMap Ttk_GetStateMapFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr); +TTKAPI Ttk_StateMap Ttk_GetStateMapFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr); /* 13 */ -TTKAPI Tcl_Obj * Ttk_StateMapLookup (Tcl_Interp * interp, +TTKAPI Tcl_Obj * Ttk_StateMapLookup(Tcl_Interp *interp, Ttk_StateMap map, Ttk_State state); /* 14 */ -TTKAPI int Ttk_StateTableLookup (Ttk_StateTable map[], +TTKAPI int Ttk_StateTableLookup(Ttk_StateTable map[], Ttk_State state); /* Slot 15 is reserved */ /* Slot 16 is reserved */ @@ -85,53 +85,53 @@ TTKAPI int Ttk_StateTableLookup (Ttk_StateTable map[], /* Slot 18 is reserved */ /* Slot 19 is reserved */ /* 20 */ -TTKAPI int Ttk_GetPaddingFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Ttk_Padding * pad_rtn); +TTKAPI int Ttk_GetPaddingFromObj(Tcl_Interp *interp, + Tk_Window tkwin, Tcl_Obj *objPtr, + Ttk_Padding *pad_rtn); /* 21 */ -TTKAPI int Ttk_GetBorderFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Ttk_Padding * pad_rtn); +TTKAPI int Ttk_GetBorderFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, Ttk_Padding *pad_rtn); /* 22 */ -TTKAPI int Ttk_GetStickyFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Ttk_Sticky * sticky_rtn); +TTKAPI int Ttk_GetStickyFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, Ttk_Sticky *sticky_rtn); /* 23 */ -TTKAPI Ttk_Padding Ttk_MakePadding (short l, short t, short r, short b); +TTKAPI Ttk_Padding Ttk_MakePadding(short l, short t, short r, short b); /* 24 */ -TTKAPI Ttk_Padding Ttk_UniformPadding (short borderWidth); +TTKAPI Ttk_Padding Ttk_UniformPadding(short borderWidth); /* 25 */ -TTKAPI Ttk_Padding Ttk_AddPadding (Ttk_Padding pad1, Ttk_Padding pad2); +TTKAPI Ttk_Padding Ttk_AddPadding(Ttk_Padding pad1, Ttk_Padding pad2); /* 26 */ -TTKAPI Ttk_Padding Ttk_RelievePadding (Ttk_Padding padding, int relief, +TTKAPI Ttk_Padding Ttk_RelievePadding(Ttk_Padding padding, int relief, int n); /* 27 */ -TTKAPI Ttk_Box Ttk_MakeBox (int x, int y, int width, int height); +TTKAPI Ttk_Box Ttk_MakeBox(int x, int y, int width, int height); /* 28 */ -TTKAPI int Ttk_BoxContains (Ttk_Box box, int x, int y); +TTKAPI int Ttk_BoxContains(Ttk_Box box, int x, int y); /* 29 */ -TTKAPI Ttk_Box Ttk_PackBox (Ttk_Box * cavity, int w, int h, +TTKAPI Ttk_Box Ttk_PackBox(Ttk_Box *cavity, int w, int h, Ttk_Side side); /* 30 */ -TTKAPI Ttk_Box Ttk_StickBox (Ttk_Box parcel, int w, int h, +TTKAPI Ttk_Box Ttk_StickBox(Ttk_Box parcel, int w, int h, Ttk_Sticky sticky); /* 31 */ -TTKAPI Ttk_Box Ttk_AnchorBox (Ttk_Box parcel, int w, int h, +TTKAPI Ttk_Box Ttk_AnchorBox(Ttk_Box parcel, int w, int h, Tk_Anchor anchor); /* 32 */ -TTKAPI Ttk_Box Ttk_PadBox (Ttk_Box b, Ttk_Padding p); +TTKAPI Ttk_Box Ttk_PadBox(Ttk_Box b, Ttk_Padding p); /* 33 */ -TTKAPI Ttk_Box Ttk_ExpandBox (Ttk_Box b, Ttk_Padding p); +TTKAPI Ttk_Box Ttk_ExpandBox(Ttk_Box b, Ttk_Padding p); /* 34 */ -TTKAPI Ttk_Box Ttk_PlaceBox (Ttk_Box * cavity, int w, int h, +TTKAPI Ttk_Box Ttk_PlaceBox(Ttk_Box *cavity, int w, int h, Ttk_Side side, Ttk_Sticky sticky); /* 35 */ -TTKAPI Tcl_Obj * Ttk_NewBoxObj (Ttk_Box box); +TTKAPI Tcl_Obj * Ttk_NewBoxObj(Ttk_Box box); /* Slot 36 is reserved */ /* Slot 37 is reserved */ /* Slot 38 is reserved */ /* Slot 39 is reserved */ /* 40 */ -TTKAPI int Ttk_GetOrientFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, int * orient); +TTKAPI int Ttk_GetOrientFromObj(Tcl_Interp *interp, + Tcl_Obj *objPtr, int *orient); #endif /* !defined(USE_TTK_STUBS) */ @@ -141,47 +141,47 @@ typedef struct TtkStubs { int revision; struct TtkStubHooks *hooks; - Ttk_Theme (*ttk_GetTheme) (Tcl_Interp * interp, const char * name); /* 0 */ - Ttk_Theme (*ttk_GetDefaultTheme) (Tcl_Interp * interp); /* 1 */ - Ttk_Theme (*ttk_GetCurrentTheme) (Tcl_Interp * interp); /* 2 */ - Ttk_Theme (*ttk_CreateTheme) (Tcl_Interp * interp, const char * name, Ttk_Theme parent); /* 3 */ - void (*ttk_RegisterCleanup) (Tcl_Interp * interp, void * deleteData, Ttk_CleanupProc * cleanupProc); /* 4 */ - int (*ttk_RegisterElementSpec) (Ttk_Theme theme, const char * elementName, Ttk_ElementSpec * elementSpec, void * clientData); /* 5 */ - Ttk_ElementImpl (*ttk_RegisterElement) (Tcl_Interp * interp, Ttk_Theme theme, const char * elementName, Ttk_ElementSpec * elementSpec, void * clientData); /* 6 */ - int (*ttk_RegisterElementFactory) (Tcl_Interp * interp, const char * name, Ttk_ElementFactory factoryProc, void * clientData); /* 7 */ - void (*ttk_RegisterLayout) (Ttk_Theme theme, const char * className, Ttk_LayoutSpec layoutSpec); /* 8 */ + Ttk_Theme (*ttk_GetTheme) (Tcl_Interp *interp, const char *name); /* 0 */ + Ttk_Theme (*ttk_GetDefaultTheme) (Tcl_Interp *interp); /* 1 */ + Ttk_Theme (*ttk_GetCurrentTheme) (Tcl_Interp *interp); /* 2 */ + Ttk_Theme (*ttk_CreateTheme) (Tcl_Interp *interp, const char *name, Ttk_Theme parent); /* 3 */ + void (*ttk_RegisterCleanup) (Tcl_Interp *interp, void *deleteData, Ttk_CleanupProc *cleanupProc); /* 4 */ + int (*ttk_RegisterElementSpec) (Ttk_Theme theme, const char *elementName, Ttk_ElementSpec *elementSpec, void *clientData); /* 5 */ + Ttk_ElementImpl (*ttk_RegisterElement) (Tcl_Interp *interp, Ttk_Theme theme, const char *elementName, Ttk_ElementSpec *elementSpec, void *clientData); /* 6 */ + int (*ttk_RegisterElementFactory) (Tcl_Interp *interp, const char *name, Ttk_ElementFactory factoryProc, void *clientData); /* 7 */ + void (*ttk_RegisterLayout) (Ttk_Theme theme, const char *className, Ttk_LayoutSpec layoutSpec); /* 8 */ void (*reserved9)(void); - int (*ttk_GetStateSpecFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Ttk_StateSpec * spec_rtn); /* 10 */ + int (*ttk_GetStateSpecFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Ttk_StateSpec *spec_rtn); /* 10 */ Tcl_Obj * (*ttk_NewStateSpecObj) (unsigned int onbits, unsigned int offbits); /* 11 */ - Ttk_StateMap (*ttk_GetStateMapFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr); /* 12 */ - Tcl_Obj * (*ttk_StateMapLookup) (Tcl_Interp * interp, Ttk_StateMap map, Ttk_State state); /* 13 */ + Ttk_StateMap (*ttk_GetStateMapFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr); /* 12 */ + Tcl_Obj * (*ttk_StateMapLookup) (Tcl_Interp *interp, Ttk_StateMap map, Ttk_State state); /* 13 */ int (*ttk_StateTableLookup) (Ttk_StateTable map[], Ttk_State state); /* 14 */ void (*reserved15)(void); void (*reserved16)(void); void (*reserved17)(void); void (*reserved18)(void); void (*reserved19)(void); - int (*ttk_GetPaddingFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Ttk_Padding * pad_rtn); /* 20 */ - int (*ttk_GetBorderFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Ttk_Padding * pad_rtn); /* 21 */ - int (*ttk_GetStickyFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Ttk_Sticky * sticky_rtn); /* 22 */ + int (*ttk_GetPaddingFromObj) (Tcl_Interp *interp, Tk_Window tkwin, Tcl_Obj *objPtr, Ttk_Padding *pad_rtn); /* 20 */ + int (*ttk_GetBorderFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Ttk_Padding *pad_rtn); /* 21 */ + int (*ttk_GetStickyFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, Ttk_Sticky *sticky_rtn); /* 22 */ Ttk_Padding (*ttk_MakePadding) (short l, short t, short r, short b); /* 23 */ Ttk_Padding (*ttk_UniformPadding) (short borderWidth); /* 24 */ Ttk_Padding (*ttk_AddPadding) (Ttk_Padding pad1, Ttk_Padding pad2); /* 25 */ Ttk_Padding (*ttk_RelievePadding) (Ttk_Padding padding, int relief, int n); /* 26 */ Ttk_Box (*ttk_MakeBox) (int x, int y, int width, int height); /* 27 */ int (*ttk_BoxContains) (Ttk_Box box, int x, int y); /* 28 */ - Ttk_Box (*ttk_PackBox) (Ttk_Box * cavity, int w, int h, Ttk_Side side); /* 29 */ + Ttk_Box (*ttk_PackBox) (Ttk_Box *cavity, int w, int h, Ttk_Side side); /* 29 */ Ttk_Box (*ttk_StickBox) (Ttk_Box parcel, int w, int h, Ttk_Sticky sticky); /* 30 */ Ttk_Box (*ttk_AnchorBox) (Ttk_Box parcel, int w, int h, Tk_Anchor anchor); /* 31 */ Ttk_Box (*ttk_PadBox) (Ttk_Box b, Ttk_Padding p); /* 32 */ Ttk_Box (*ttk_ExpandBox) (Ttk_Box b, Ttk_Padding p); /* 33 */ - Ttk_Box (*ttk_PlaceBox) (Ttk_Box * cavity, int w, int h, Ttk_Side side, Ttk_Sticky sticky); /* 34 */ + Ttk_Box (*ttk_PlaceBox) (Ttk_Box *cavity, int w, int h, Ttk_Side side, Ttk_Sticky sticky); /* 34 */ Tcl_Obj * (*ttk_NewBoxObj) (Ttk_Box box); /* 35 */ void (*reserved36)(void); void (*reserved37)(void); void (*reserved38)(void); void (*reserved39)(void); - int (*ttk_GetOrientFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, int * orient); /* 40 */ + int (*ttk_GetOrientFromObj) (Tcl_Interp *interp, Tcl_Obj *objPtr, int *orient); /* 40 */ } TtkStubs; #ifdef __cplusplus diff --git a/generic/ttk/ttkGenStubs.tcl b/generic/ttk/ttkGenStubs.tcl index 961f36b..b868adb 100644 --- a/generic/ttk/ttkGenStubs.tcl +++ b/generic/ttk/ttkGenStubs.tcl @@ -1,14 +1,14 @@ # ttkGenStubs.tcl -- # # This script generates a set of stub files for a given -# interface. -# +# interface. +# # # Copyright (c) 1998-1999 by Scriptics Corporation. # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# $Id: ttkGenStubs.tcl,v 1.1 2007/03/07 23:46:34 das Exp $ +# $Id: ttkGenStubs.tcl,v 1.1.4.1 2010/02/07 23:24:13 nijtmans Exp $ # # SOURCE: tcl/tools/genStubs.tcl, revision 1.20 # @@ -281,7 +281,7 @@ proc genStubs::addPlatformGuard {plat text} { return "#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */\n${text}#endif /* X11 */\n" } } - return "$text" + return $text } # genStubs::emitSlots -- @@ -418,7 +418,7 @@ proc genStubs::makeDecl {name decl index} { append text ";\n" return $text } - append line "$fname " + append line $fname set arg1 [lindex $args 0] switch -exact $arg1 { @@ -430,11 +430,14 @@ proc genStubs::makeDecl {name decl index} { foreach arg [lrange $args 1 end] { append line $sep set next {} - append next [lindex $arg 0] " " [lindex $arg 1] \ - [lindex $arg 2] + append next [lindex $arg 0] + if {[string index $next end] ne "*"} { + append next " " + } + append next [lindex $arg 1] [lindex $arg 2] if {[string length $line] + [string length $next] \ + $pad > 76} { - append text $line \n + append text [string trimright $line] \n set line "\t\t\t\t" set pad 28 } @@ -448,11 +451,14 @@ proc genStubs::makeDecl {name decl index} { foreach arg $args { append line $sep set next {} - append next [lindex $arg 0] " " [lindex $arg 1] \ - [lindex $arg 2] + append next [lindex $arg 0] + if {[string index $next end] ne "*"} { + append next " " + } + append next [lindex $arg 1] [lindex $arg 2] if {[string length $line] + [string length $next] \ + $pad > 76} { - append text $line \n + append text [string trimright $line] \n set line "\t\t\t\t" set pad 28 } @@ -530,8 +536,11 @@ proc genStubs::makeSlot {name decl index} { TCL_VARARGS { set sep "(" foreach arg [lrange $args 1 end] { - append text $sep [lindex $arg 0] " " [lindex $arg 1] \ - [lindex $arg 2] + append text $sep [lindex $arg 0] + if {[string index $text end] ne "*"} { + append text " " + } + append text [lindex $arg 1] [lindex $arg 2] set sep ", " } append text ", ...)" @@ -539,14 +548,17 @@ proc genStubs::makeSlot {name decl index} { default { set sep "(" foreach arg $args { - append text $sep [lindex $arg 0] " " [lindex $arg 1] \ - [lindex $arg 2] + append text $sep [lindex $arg 0] + if {[string index $text end] ne "*"} { + append text " " + } + append text [lindex $arg 1] [lindex $arg 2] set sep ", " } append text ")" } } - + append text "; /* $index */\n" return $text } @@ -782,7 +794,7 @@ proc genStubs::emitInit {name textVar} { } else { append text " 0,\n" } - + forAllStubs $name makeInit noGuard text {" 0, /* $i */\n"} append text "\};\n" @@ -874,14 +886,13 @@ proc genStubs::init {} { # Returns any values that were not assigned to variables. if {[string length [namespace which lassign]] == 0} { -proc lassign {valueList args} { - if {[llength $args] == 0} { - error "wrong # args: lassign list varname ?varname..?" - } - - uplevel [list foreach $args $valueList {break}] - return [lrange $valueList [llength $args] end] -} + proc lassign {valueList args} { + if {[llength $args] == 0} { + error "wrong # args: should be \"lassign list varName ?varName ...?\"" + } + uplevel [list foreach $args $valueList {break}] + return [lrange $valueList [llength $args] end] + } } genStubs::init |