diff options
author | nijtmans <nijtmans> | 2010-01-29 18:07:31 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-29 18:07:31 (GMT) |
commit | 1e548bf42e74260b2f01ca4505406c2380c6ae61 (patch) | |
tree | 035598b376a451cfcb36c0a1becb33f89fafbe02 | |
parent | 3998cf77ee9513d59f553516618187a6bccb697f (diff) | |
download | tk-1e548bf42e74260b2f01ca4505406c2380c6ae61.zip tk-1e548bf42e74260b2f01ca4505406c2380c6ae61.tar.gz tk-1e548bf42e74260b2f01ca4505406c2380c6ae61.tar.bz2 |
genStubs.tcl: No longer generate a space after
"*" and immediately after a function name, so
the format of function definitions in *Decls.h
match all other *.h header files.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | generic/tk.decls | 58 | ||||
-rw-r--r-- | generic/tkDecls.h | 875 | ||||
-rw-r--r-- | generic/tkIntDecls.h | 579 | ||||
-rw-r--r-- | generic/tkIntPlatDecls.h | 219 | ||||
-rw-r--r-- | generic/tkIntXlibDecls.h | 579 | ||||
-rw-r--r-- | generic/tkPlatDecls.h | 48 | ||||
-rw-r--r-- | generic/ttk/ttkDecls.h | 102 | ||||
-rw-r--r-- | generic/ttk/ttkGenStubs.tcl | 41 |
9 files changed, 1237 insertions, 1278 deletions
@@ -1,3 +1,17 @@ +2010-01-29 Jan Nijtmans <nijtmans@users.sf.net> + + * generic/ttk/ttkGenStubs.tcl: No longer generate a space after "*" and + immediately after a function name, so the + format of function definitions in *Decls.h + match all other *.h header files. + * generic/ttk/ttkDecls.h (re-generated) + * generic/tk.decls Formatting + * generic/tkDecls.h (re-generated) + * generic/tkIntDecls.h + * generic/tkIntPlatDecls.h + * generic/tkIntXlibDecls.h + * generic/tkPlatDecls.h + 2010-01-19 Jan Nijtmans <nijtmans@users.sf.net> * generic/tkInt.h Don't depend on <stdio.h> from tcl.h any more diff --git a/generic/tk.decls b/generic/tk.decls index ffb5291..7031c0f 100644 --- a/generic/tk.decls +++ b/generic/tk.decls @@ -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: tk.decls,v 1.49 2010/01/10 20:27:22 nijtmans Exp $ +# RCS: @(#) $Id: tk.decls,v 1.50 2010/01/29 18:07:31 nijtmans Exp $ library tk @@ -106,7 +106,7 @@ declare 18 generic { Tk_Window tkwin, const char *value, char *widgRec, int offset) } declare 19 generic { - CONST86 char * Tk_CanvasTagsPrintProc(ClientData clientData, Tk_Window tkwin, + CONST86 char *Tk_CanvasTagsPrintProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr) } declare 20 generic { @@ -129,7 +129,7 @@ declare 24 generic { } declare 25 generic { int Tk_ClipboardAppend(Tcl_Interp *interp,Tk_Window tkwin, - Atom target, Atom format, const char* buffer) + Atom target, Atom format, const 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_OldGetBitmapFromData(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, CONST86 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 a44ca55..ce3d07e 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.43 2010/01/10 20:27:23 nijtmans Exp $ + * RCS: @(#) $Id: tkDecls.h,v 1.44 2010/01/29 18:07:31 nijtmans Exp $ */ #ifndef _TKDECLS @@ -34,23 +34,23 @@ #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, +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); @@ -58,7 +58,7 @@ EXTERN void Tk_3DHorizontalBevel (Tk_Window tkwin, #ifndef Tk_3DVerticalBevel_TCL_DECLARED #define Tk_3DVerticalBevel_TCL_DECLARED /* 4 */ -EXTERN void Tk_3DVerticalBevel (Tk_Window tkwin, +EXTERN void Tk_3DVerticalBevel(Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int leftBevel, int relief); @@ -66,346 +66,341 @@ EXTERN void Tk_3DVerticalBevel (Tk_Window tkwin, #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, +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 CONST86 char * Tk_CanvasTagsPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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, +EXTERN void Tk_ChangeWindowAttributes(Tk_Window tkwin, unsigned long valueMask, - XSetWindowAttributes * attsPtr); + 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, +EXTERN int Tk_ClipboardAppend(Tcl_Interp *interp, Tk_Window tkwin, Atom target, Atom format, - const char* buffer); + const 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, +EXTERN void Tk_ConfigureWindow(Tk_Window tkwin, unsigned int valueMask, - XWindowChanges * valuePtr); + 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, +EXTERN Tk_TextLayout Tk_ComputeTextLayout(Tk_Font font, const char *str, int numChars, int wrapLength, - Tk_Justify justify, int flags, - int * widthPtr, int * heightPtr); + 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, +EXTERN unsigned long Tk_CreateBinding(Tcl_Interp *interp, Tk_BindingTable bindingTable, - ClientData object, const char * eventStr, - const char * command, int append); + 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, +EXTERN Tk_ErrorHandler Tk_CreateErrorHandler(Display *display, int errNum, int request, int minorCode, - Tk_ErrorProc * errorProc, + 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 (const Tk_ImageType * typePtr); +EXTERN void Tk_CreateImageType(const 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 ( - const Tk_PhotoImageFormat * formatPtr); +EXTERN void Tk_CreatePhotoImageFormat( + const 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_OldDefineBitmap_TCL_DECLARED #define Tk_OldDefineBitmap_TCL_DECLARED /* 44 */ -EXTERN int Tk_OldDefineBitmap (Tcl_Interp * interp, - const char * name, const char * source, +EXTERN int Tk_OldDefineBitmap(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, +EXTERN int Tk_DeleteBinding(Tcl_Interp *interp, Tk_BindingTable bindingTable, - ClientData object, const char * eventStr); + 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, +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, +EXTERN void Tk_Draw3DRectangle(Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); @@ -413,20 +408,20 @@ EXTERN void Tk_Draw3DRectangle (Tk_Window tkwin, #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, +EXTERN void Tk_DrawTextLayout(Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int firstChar, int lastChar); @@ -434,15 +429,15 @@ EXTERN void Tk_DrawTextLayout (Display * display, #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, +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, +EXTERN void Tk_Fill3DRectangle(Tk_Window tkwin, Drawable drawable, Tk_3DBorder border, int x, int y, int width, int height, int borderWidth, int relief); @@ -450,537 +445,533 @@ EXTERN void Tk_Fill3DRectangle (Tk_Window tkwin, #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, +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, +EXTERN CONST84_RETURN char * Tk_GetBinding(Tcl_Interp *interp, Tk_BindingTable bindingTable, - ClientData object, const char * eventStr); + 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_OldGetBitmapFromData_TCL_DECLARED #define Tk_OldGetBitmapFromData_TCL_DECLARED /* 86 */ -EXTERN Pixmap Tk_OldGetBitmapFromData (Tcl_Interp * interp, - Tk_Window tkwin, const char * source, +EXTERN Pixmap Tk_OldGetBitmapFromData(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, - CONST86 Tk_ImageType ** typePtrPtr); +EXTERN ClientData Tk_GetImageMasterData(Tcl_Interp *interp, + const char *name, + CONST86 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, +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, +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, +EXTERN int Tk_MeasureChars(Tk_Font tkfont, const char *source, int numBytes, int maxPixels, int flags, - int * lengthPtr); + 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, - const Tk_ArgvInfo * argTable, int flags); +EXTERN int Tk_ParseArgv(Tcl_Interp *interp, Tk_Window tkwin, + int *argcPtr, CONST84 char **argv, + const 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 ( +EXTERN void Tk_PhotoPutZoomedBlock_NoComposite( Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, + 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, +EXTERN void Tk_RedrawImage(Tk_Image image, int imageX, int imageY, int width, int height, Drawable drawable, int drawableX, int drawableY); @@ -988,140 +979,140 @@ EXTERN void Tk_RedrawImage (Tk_Image image, int imageX, #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, +EXTERN void Tk_UnderlineChars(Display *display, Drawable drawable, GC gc, Tk_Font tkfont, - const char * source, int x, int y, + 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, +EXTERN void Tk_UnderlineTextLayout(Display *display, Drawable drawable, GC gc, Tk_TextLayout layout, int x, int y, int underline); @@ -1129,304 +1120,297 @@ EXTERN void Tk_UnderlineTextLayout (Display * display, #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, +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); + 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, - const Tk_SmoothMethod * method); +EXTERN void Tk_CreateSmoothMethod(Tcl_Interp *interp, + const 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, +EXTERN int Tk_PostscriptBitmap(Tcl_Interp *interp, Tk_Window tkwin, Tk_PostscriptInfo psInfo, Pixmap bitmap, int startX, int startY, int width, int height); @@ -1434,278 +1418,277 @@ EXTERN int Tk_PostscriptBitmap (Tcl_Interp * interp, #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, +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, +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, +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, - const Tk_ClassProcs * procs, +EXTERN void Tk_SetClassProcs(Tk_Window tkwin, + const 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, +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, +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); + 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, +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); + 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, +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, +EXTERN int Tk_PhotoPutBlock(Tcl_Interp *interp, Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, + 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, +EXTERN int Tk_PhotoPutZoomedBlock(Tcl_Interp *interp, Tk_PhotoHandle handle, - Tk_PhotoImageBlock * blockPtr, int x, int y, + 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 (const Tk_ImageType * typePtr); +EXTERN void Tk_CreateOldImageType(const Tk_ImageType *typePtr); #endif #ifndef Tk_CreateOldPhotoImageFormat_TCL_DECLARED #define Tk_CreateOldPhotoImageFormat_TCL_DECLARED /* 273 */ -EXTERN void Tk_CreateOldPhotoImageFormat ( - const Tk_PhotoImageFormat * formatPtr); +EXTERN void Tk_CreateOldPhotoImageFormat( + const Tk_PhotoImageFormat *formatPtr); #endif #ifndef Tk_DefineBitmap_TCL_DECLARED #define Tk_DefineBitmap_TCL_DECLARED /* 274 */ -EXTERN int Tk_DefineBitmap (Tcl_Interp * interp, - const char * name, const void * source, - int width, int height); +EXTERN int Tk_DefineBitmap(Tcl_Interp *interp, const char *name, + const void *source, int width, int height); #endif #ifndef Tk_GetBitmapFromData_TCL_DECLARED #define Tk_GetBitmapFromData_TCL_DECLARED /* 275 */ -EXTERN Pixmap Tk_GetBitmapFromData (Tcl_Interp * interp, - Tk_Window tkwin, const void * source, +EXTERN Pixmap Tk_GetBitmapFromData(Tcl_Interp *interp, + Tk_Window tkwin, const void *source, int width, int height); #endif @@ -1745,7 +1728,7 @@ typedef struct TkStubs { 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, const char* buffer); /* 25 */ + int (*tk_ClipboardAppend) (Tcl_Interp * interp, Tk_Window tkwin, Atom target, Atom format, const 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 */ diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index 87f2003..0626835 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.47 2009/12/16 22:00:31 nijtmans Exp $ + * RCS: @(#) $Id: tkIntDecls.h,v 1.48 2010/01/29 18:07:31 nijtmans Exp $ */ #ifndef _TKINTDECLS @@ -44,693 +44,681 @@ struct TkSharedText; #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, +EXTERN void TkBezierScreenPoints(Tk_Canvas canvas, double control[], int numSteps, - XPoint * xPointPtr); + 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, +EXTERN void TkComputeAnchor(Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, - int innerHeight, int * xPtr, int * yPtr); + 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, +EXTERN unsigned long TkCreateBindingProcedure(Tcl_Interp *interp, Tk_BindingTable bindingTable, - ClientData object, const char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, + 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, +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, - const char *const * argv, int toplevel, - const char * appName); +EXTERN int TkCreateFrame(ClientData clientData, + Tcl_Interp *interp, int argc, + const char *const *argv, int toplevel, + const char *appName); #endif #ifndef TkCreateMainWindow_TCL_DECLARED #define TkCreateMainWindow_TCL_DECLARED /* 14 */ -EXTERN Tk_Window TkCreateMainWindow (Tcl_Interp * interp, - const char * screenName, - const char * baseName); +EXTERN Tk_Window TkCreateMainWindow(Tcl_Interp *interp, + const char *screenName, const 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 CONST86 char * TkFindStateString (const TkStateMap * mapPtr, +EXTERN CONST86 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, - const char * string, const char * fileName, - int * widthPtr, int * heightPtr, - int * hotXPtr, int * hotYPtr); +EXTERN char * TkGetBitmapData(Tcl_Interp *interp, + const char *string, const 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[], +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 const char * TkGetDefaultScreenName (Tcl_Interp * interp, - const char * screenName); +EXTERN const 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[], +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 CONST86 char * TkKeysymToString (KeySym keysym); +EXTERN CONST86 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 /* Slot 76 is reserved */ #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, +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 (const char * name); +EXTERN KeySym TkStringToKeysym(const char *name); #endif #ifndef TkThickPolyLineToArea_TCL_DECLARED #define TkThickPolyLineToArea_TCL_DECLARED /* 87 */ -EXTERN int TkThickPolyLineToArea (double * coordPtr, +EXTERN int TkThickPolyLineToArea(double *coordPtr, int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr); + 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, const char * name); +EXTERN Tcl_Obj * TkDebugBitmap(Tk_Window tkwin, const char *name); #endif #ifndef TkDebugBorder_TCL_DECLARED #define TkDebugBorder_TCL_DECLARED /* 99 */ -EXTERN Tcl_Obj * TkDebugBorder (Tk_Window tkwin, const char * name); +EXTERN Tcl_Obj * TkDebugBorder(Tk_Window tkwin, const char *name); #endif #ifndef TkDebugCursor_TCL_DECLARED #define TkDebugCursor_TCL_DECLARED /* 100 */ -EXTERN Tcl_Obj * TkDebugCursor (Tk_Window tkwin, const char * name); +EXTERN Tcl_Obj * TkDebugCursor(Tk_Window tkwin, const char *name); #endif #ifndef TkDebugColor_TCL_DECLARED #define TkDebugColor_TCL_DECLARED /* 101 */ -EXTERN Tcl_Obj * TkDebugColor (Tk_Window tkwin, const char * name); +EXTERN Tcl_Obj * TkDebugColor(Tk_Window tkwin, const 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, const char * name); +EXTERN Tcl_Obj * TkDebugFont(Tk_Window tkwin, const 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 CONST86 char * TkpGetString (TkWindow * winPtr, XEvent * eventPtr, - Tcl_DString * dsPtr); +EXTERN CONST86 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 */ @@ -738,7 +726,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 */ @@ -746,7 +734,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 */ @@ -754,7 +742,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 */ @@ -762,30 +750,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 */ @@ -793,15 +781,15 @@ EXTERN void TkUnionRectWithRegion (XRectangle * rect, #ifndef TkpCreateNativeBitmap_TCL_DECLARED #define TkpCreateNativeBitmap_TCL_DECLARED /* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap (Display * display, - const void * source); +EXTERN Pixmap TkpCreateNativeBitmap(Display *display, + const void *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 */ @@ -809,8 +797,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 */ @@ -826,61 +814,61 @@ EXTERN Pixmap TkpGetNativeAppBitmap (Display * display, #ifndef TkpDrawHighlightBorder_TCL_DECLARED #define TkpDrawHighlightBorder_TCL_DECLARED /* 135 */ -EXTERN void TkpDrawHighlightBorder (Tk_Window tkwin, GC fgGC, +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 */ @@ -888,247 +876,240 @@ 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, +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, +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 #ifndef TkSelGetSelection_TCL_DECLARED #define TkSelGetSelection_TCL_DECLARED /* 158 */ -EXTERN int TkSelGetSelection (Tcl_Interp * interp, +EXTERN int TkSelGetSelection(Tcl_Interp *interp, Tk_Window tkwin, Atom selection, Atom target, - Tk_GetSelProc * proc, ClientData clientData); + Tk_GetSelProc *proc, ClientData clientData); #endif #ifndef TkTextGetIndex_TCL_DECLARED #define TkTextGetIndex_TCL_DECLARED /* 159 */ -EXTERN int TkTextGetIndex (Tcl_Interp * interp, - struct TkText * textPtr, const char * string, - struct TkTextIndex * indexPtr); +EXTERN int TkTextGetIndex(Tcl_Interp *interp, + struct TkText *textPtr, const char *string, + struct TkTextIndex *indexPtr); #endif #ifndef TkTextIndexBackBytes_TCL_DECLARED #define TkTextIndexBackBytes_TCL_DECLARED /* 160 */ -EXTERN int TkTextIndexBackBytes (const struct TkText * textPtr, - const struct TkTextIndex * srcPtr, int count, - struct TkTextIndex * dstPtr); +EXTERN int TkTextIndexBackBytes(const struct TkText *textPtr, + const struct TkTextIndex *srcPtr, int count, + struct TkTextIndex *dstPtr); #endif #ifndef TkTextIndexForwBytes_TCL_DECLARED #define TkTextIndexForwBytes_TCL_DECLARED /* 161 */ -EXTERN int TkTextIndexForwBytes (const struct TkText * textPtr, - const struct TkTextIndex * srcPtr, int count, - struct TkTextIndex * dstPtr); +EXTERN int TkTextIndexForwBytes(const struct TkText *textPtr, + const struct TkTextIndex *srcPtr, int count, + struct TkTextIndex *dstPtr); #endif #ifndef TkTextMakeByteIndex_TCL_DECLARED #define TkTextMakeByteIndex_TCL_DECLARED /* 162 */ -EXTERN struct TkTextIndex * TkTextMakeByteIndex (TkTextBTree tree, - const struct TkText * textPtr, int lineIndex, - int byteIndex, struct TkTextIndex * indexPtr); +EXTERN struct TkTextIndex * TkTextMakeByteIndex(TkTextBTree tree, + const struct TkText *textPtr, int lineIndex, + int byteIndex, struct TkTextIndex *indexPtr); #endif #ifndef TkTextPrintIndex_TCL_DECLARED #define TkTextPrintIndex_TCL_DECLARED /* 163 */ -EXTERN int TkTextPrintIndex (const struct TkText * textPtr, - const struct TkTextIndex * indexPtr, - char * string); +EXTERN int TkTextPrintIndex(const struct TkText *textPtr, + const struct TkTextIndex *indexPtr, + char *string); #endif #ifndef TkTextSetMark_TCL_DECLARED #define TkTextSetMark_TCL_DECLARED /* 164 */ -EXTERN struct TkTextSegment * TkTextSetMark (struct TkText * textPtr, - const char * name, - struct TkTextIndex * indexPtr); +EXTERN struct TkTextSegment * TkTextSetMark(struct TkText *textPtr, + const char *name, + struct TkTextIndex *indexPtr); #endif #ifndef TkTextXviewCmd_TCL_DECLARED #define TkTextXviewCmd_TCL_DECLARED /* 165 */ -EXTERN int TkTextXviewCmd (struct TkText * textPtr, - Tcl_Interp * interp, int objc, +EXTERN int TkTextXviewCmd(struct TkText *textPtr, + Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); #endif #ifndef TkTextChanged_TCL_DECLARED #define TkTextChanged_TCL_DECLARED /* 166 */ -EXTERN void TkTextChanged (struct TkSharedText * sharedTextPtr, - struct TkText * textPtr, - const struct TkTextIndex * index1Ptr, - const struct TkTextIndex * index2Ptr); +EXTERN void TkTextChanged(struct TkSharedText *sharedTextPtr, + struct TkText *textPtr, + const struct TkTextIndex *index1Ptr, + const struct TkTextIndex *index2Ptr); #endif #ifndef TkBTreeNumLines_TCL_DECLARED #define TkBTreeNumLines_TCL_DECLARED /* 167 */ -EXTERN int TkBTreeNumLines (TkTextBTree tree, - const struct TkText * textPtr); +EXTERN int TkBTreeNumLines(TkTextBTree tree, + const struct TkText *textPtr); #endif #ifndef TkTextInsertDisplayProc_TCL_DECLARED #define TkTextInsertDisplayProc_TCL_DECLARED /* 168 */ -EXTERN void TkTextInsertDisplayProc (struct TkText * textPtr, - struct TkTextDispChunk * chunkPtr, int x, +EXTERN void TkTextInsertDisplayProc(struct TkText *textPtr, + struct TkTextDispChunk *chunkPtr, int x, int y, int height, int baseline, - Display * display, Drawable dst, int screenY); + Display *display, Drawable dst, int screenY); #endif #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 CONST86 char * TkStatePrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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 CONST86 char * TkCanvasDashPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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 CONST86 char * TkOffsetPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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 CONST86 char * TkPixelPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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 CONST86 char * TkOrientPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 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 CONST86 char * TkSmoothPrintProc (ClientData clientData, - Tk_Window tkwin, char * widgRec, int offset, - Tcl_FreeProc ** freeProcPtr); +EXTERN CONST86 char * TkSmoothPrintProc(ClientData clientData, + Tk_Window tkwin, char *widgRec, int offset, + Tcl_FreeProc **freeProcPtr); #endif typedef struct TkIntStubs { diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 637e157..3e7326b 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.36 2009/12/02 21:16:43 nijtmans Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.37 2010/01/29 18:07:31 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,74 @@ 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 (void * theEvent); +EXTERN int TkMacOSXDoHLEvent(void *theEvent); #endif /* Slot 15 is reserved */ #ifndef TkMacOSXGetXWindow_TCL_DECLARED #define TkMacOSXGetXWindow_TCL_DECLARED /* 16 */ -EXTERN Window TkMacOSXGetXWindow (void * macWinPtr); +EXTERN Window TkMacOSXGetXWindow(void *macWinPtr); #endif #ifndef TkMacOSXGrowToplevel_TCL_DECLARED #define TkMacOSXGrowToplevel_TCL_DECLARED /* 17 */ -EXTERN int TkMacOSXGrowToplevel (void * whichWindow, - XPoint start); +EXTERN int TkMacOSXGrowToplevel(void *whichWindow, XPoint start); #endif #ifndef TkMacOSXHandleMenuSelect_TCL_DECLARED #define TkMacOSXHandleMenuSelect_TCL_DECLARED /* 18 */ -EXTERN void TkMacOSXHandleMenuSelect (short theMenu, +EXTERN void TkMacOSXHandleMenuSelect(short theMenu, unsigned short theItem, int optionKeyPressed); #endif /* Slot 19 is reserved */ @@ -319,231 +316,229 @@ EXTERN void TkMacOSXHandleMenuSelect (short 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 void * TkMacOSXMakeStippleMap (Drawable d1, Drawable d2); +EXTERN void * 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, - void * portPtr); +EXTERN void TkMacOSXRegisterOffScreenWindow(Window window, + void *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, void * destPort); +EXTERN void TkMacOSXSetUpGraphicsPort(GC gc, void *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 (void * portPtr); +EXTERN void TkMacOSXUnregisterMacWindow(void *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 TkRegion TkMacOSXVisableClipRgn (TkWindow * winPtr); +EXTERN TkRegion TkMacOSXVisableClipRgn(TkWindow *winPtr); #endif #ifndef TkMacOSXWinBounds_TCL_DECLARED #define TkMacOSXWinBounds_TCL_DECLARED /* 36 */ -EXTERN void TkMacOSXWinBounds (TkWindow * winPtr, - void * geometry); +EXTERN void TkMacOSXWinBounds(TkWindow *winPtr, void *geometry); #endif #ifndef TkMacOSXWindowOffset_TCL_DECLARED #define TkMacOSXWindowOffset_TCL_DECLARED /* 37 */ -EXTERN void TkMacOSXWindowOffset (void * wRef, int * xOffset, - int * yOffset); +EXTERN void TkMacOSXWindowOffset(void *wRef, int *xOffset, + int *yOffset); #endif #ifndef TkSetMacColor_TCL_DECLARED #define TkSetMacColor_TCL_DECLARED /* 38 */ -EXTERN int TkSetMacColor (unsigned long pixel, void * macColor); +EXTERN int TkSetMacColor(unsigned long pixel, void *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 (void * whichWindow, +EXTERN int TkMacOSXZoomToplevel(void *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 (void * window); +EXTERN int TkpIsWindowFloating(void *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 /* Slot 1 is reserved */ /* Slot 2 is reserved */ #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 /* Slot 11 is reserved */ #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 */ diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h index b6a3b8b..30517ab 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.27 2008/10/22 20:56:43 nijtmans Exp $ + * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.28 2010/01/29 18:07:31 nijtmans Exp $ */ #ifndef _TKINTXLIBDECLS @@ -38,151 +38,149 @@ #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, +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, +EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, - XColor * x1, XColor * x2); + 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, +EXTERN void XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1, int i2, - _Xconst unsigned char * c, int i3); + _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, +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, +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); @@ -190,322 +188,318 @@ EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2, #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, +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, +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, +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, +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 @@ -513,149 +507,145 @@ EXTERN void TkPutImage (unsigned long * colors, int ncolors, #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, +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, +EXTERN void XFillRectangle(Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); #endif @@ -664,111 +654,109 @@ 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, +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, +EXTERN void XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1, int i2, - _Xconst unsigned char * c, int i3); + _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, +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, +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); @@ -776,410 +764,403 @@ EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2, #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, +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, +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, +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, +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, +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, +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, +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, @@ -1188,25 +1169,25 @@ EXTERN void XWarpPointer (Display * display, Window src_w, #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 */ diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h index 741ebbf..77af24e 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.21 2009/11/11 15:56:48 dgp Exp $ + * RCS: @(#) $Id: tkPlatDecls.h,v 1.22 2010/01/29 18:07:31 nijtmans Exp $ */ #ifndef _TKPLATDECLS @@ -39,97 +39,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, +EXTERN int Tk_TranslateWinEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, - LRESULT * result); + 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 void * TkMacOSXGetDrawablePort (Drawable drawable); +EXTERN void * TkMacOSXGetDrawablePort(Drawable drawable); #endif #ifndef TkMacOSXGetRootControl_TCL_DECLARED #define TkMacOSXGetRootControl_TCL_DECLARED /* 8 */ -EXTERN void * TkMacOSXGetRootControl (Drawable drawable); +EXTERN void * 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 */ diff --git a/generic/ttk/ttkDecls.h b/generic/ttk/ttkDecls.h index 8b64432..ea4d18d 100644 --- a/generic/ttk/ttkDecls.h +++ b/generic/ttk/ttkDecls.h @@ -1,5 +1,5 @@ /* - * $Id: ttkDecls.h,v 1.8 2009/02/08 19:35:35 jenglish Exp $ + * $Id: ttkDecls.h,v 1.9 2010/01/29 18:07:32 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_ElementClass * Ttk_RegisterElement (Tcl_Interp * interp, - Ttk_Theme theme, const char * elementName, - Ttk_ElementSpec * elementSpec, - void * clientData); +TTKAPI Ttk_ElementClass * 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, +TTKAPI int Ttk_RegisterElementFactory(Tcl_Interp *interp, + const char *name, Ttk_ElementFactory factoryProc, - void * clientData); + 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) */ diff --git a/generic/ttk/ttkGenStubs.tcl b/generic/ttk/ttkGenStubs.tcl index 29307dc..f190143 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.2 2008/10/22 20:56:43 nijtmans Exp $ +# $Id: ttkGenStubs.tcl,v 1.3 2010/01/29 18:07:31 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,8 +430,11 @@ 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 [string trimright $line] \n @@ -448,8 +451,11 @@ 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 [string trimright $line] \n @@ -546,7 +552,7 @@ proc genStubs::makeSlot {name decl index} { append text ")" } } - + append text "; /* $index */\n" return $text } @@ -874,14 +880,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: should be \"lassign list ?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 |