summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-04-09 19:20:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-04-09 19:20:26 (GMT)
commit3edf8c2d2a1364716f801d13faa894e4531f7a8a (patch)
tree8f6ad36ef90aaf421d392dca4bd434c0711ecae3
parent0b3d14e18851043e6661f443c146717f372854e3 (diff)
downloadtk-3edf8c2d2a1364716f801d13faa894e4531f7a8a.zip
tk-3edf8c2d2a1364716f801d13faa894e4531f7a8a.tar.gz
tk-3edf8c2d2a1364716f801d13faa894e4531f7a8a.tar.bz2
make genstubs
-rw-r--r--generic/tkIntPlatDecls.h392
-rw-r--r--generic/tkIntXlibDecls.h1487
-rw-r--r--generic/tkPlatDecls.h72
3 files changed, 971 insertions, 980 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h
index 2cd4253..9c04bc0 100644
--- a/generic/tkIntPlatDecls.h
+++ b/generic/tkIntPlatDecls.h
@@ -32,49 +32,49 @@
#ifdef __WIN32__
/* 0 */
-EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image,
+EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage *image,
int alignment, int bitOrder));
/* Slot 1 is reserved */
/* 2 */
EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
- TkWindow * winPtr, int active));
+ TkWindow *winPtr, int active));
/* 3 */
EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
/* 4 */
-EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow *winPtr));
/* 5 */
-EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf,
+EXTERN void TkpPrintWindowId _ANSI_ARGS_((char *buf,
Window window));
/* 6 */
-EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
- CONST char * string, Window * idPtr));
+EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp *interp,
+ CONST char *string, Window *idPtr));
/* 7 */
-EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow *winPtr));
/* 8 */
EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
/* 9 */
-EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
int state));
/* 10 */
-EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
+EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap,
Colormap colormap));
/* 11 */
EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void));
/* 12 */
-EXTERN void TkWinClipboardRender _ANSI_ARGS_((
- TkDisplay * dispPtr, UINT format));
+EXTERN void TkWinClipboardRender _ANSI_ARGS_((TkDisplay *dispPtr,
+ UINT format));
/* 13 */
-EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,
+EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd,
UINT message, WPARAM wParam, LPARAM lParam));
/* 14 */
-EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,
+EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y,
int width, int height, int pixel));
/* 15 */
-EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,
+EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin,
Tk_3DBorder border, int which));
/* 16 */
-EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display,
- Drawable d, TkWinDCState* state));
+EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display *display,
+ Drawable d, TkWinDCState*state));
/* 17 */
EXTERN int TkWinGetModifierState _ANSI_ARGS_((void));
/* 18 */
@@ -82,25 +82,25 @@ EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void));
/* 19 */
EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin));
/* 20 */
-EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd,
- UINT * pMessage, WPARAM * pwParam,
- LPARAM * plParam, LRESULT * plResult));
+EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND *phwnd,
+ UINT *pMessage, WPARAM *pwParam,
+ LPARAM *plParam, LRESULT *plResult));
/* 21 */
-EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr));
+EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor *colorPtr));
/* 22 */
-EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,
- HDC hdc, TkWinDCState* state));
+EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d,
+ HDC hdc, TkWinDCState*state));
/* 23 */
-EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,
- HWND hwnd, XEvent * eventPtr));
+EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc,
+ HWND hwnd, XEvent *eventPtr));
/* 24 */
-EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc,
+EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc,
Colormap colormap));
/* 25 */
-EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,
+EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin,
HMENU hMenu));
/* 26 */
-EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,
+EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd,
HWND siblingHwnd, int pos));
/* 27 */
EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance));
@@ -110,13 +110,13 @@ EXTERN void TkWinXCleanup _ANSI_ARGS_((ClientData clientData));
EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance));
/* 30 */
EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_((
- TkWindow * winPtr));
+ TkWindow *winPtr));
/* 31 */
EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug));
/* 32 */
EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_((
- Tk_Window tkwin, CONST char * dbName,
- CONST char * className));
+ Tk_Window tkwin, CONST char *dbName,
+ CONST char *className));
/* 33 */
EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void));
/* 34 */
@@ -127,20 +127,20 @@ EXTERN int TkWinGetPlatformTheme _ANSI_ARGS_((void));
#ifdef MAC_TCL
/* 0 */
EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
- TkWindow * winPtr, int active));
+ TkWindow *winPtr, int active));
/* Slot 1 is reserved */
/* Slot 2 is reserved */
/* 3 */
EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
/* Slot 4 is reserved */
/* 5 */
-EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow *winPtr));
/* 6 */
-EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow *winPtr));
/* 7 */
EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
/* 8 */
-EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
int state));
/* Slot 9 is reserved */
/* 10 */
@@ -148,9 +148,9 @@ EXTERN void TkAboutDlg _ANSI_ARGS_((void));
/* Slot 11 is reserved */
/* Slot 12 is reserved */
/* 13 */
-EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow *winPtr));
/* 14 */
-EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
+EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
Window window, unsigned int state));
/* Slot 15 is reserved */
/* 16 */
@@ -162,7 +162,7 @@ EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void));
EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void));
/* Slot 20 is reserved */
/* 21 */
-EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,
+EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID,
int index));
/* 22 */
EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride));
@@ -172,36 +172,36 @@ EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void));
/* Slot 25 is reserved */
/* Slot 26 is reserved */
/* 27 */
-EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent));
+EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord *theEvent));
/* Slot 28 is reserved */
/* 29 */
EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void));
/* Slot 30 is reserved */
/* 31 */
EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_((
- TkWindow * winPtr));
+ TkWindow *winPtr));
/* 32 */
EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
/* 33 */
-EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,
+EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow,
Point start));
/* 34 */
-EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,
+EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult,
int optionKeyPressed));
/* Slot 35 is reserved */
/* Slot 36 is reserved */
/* Slot 37 is reserved */
/* 38 */
EXTERN void TkMacInvalidateWindow _ANSI_ARGS_((
- MacDrawable * macWin, int flag));
+ MacDrawable *macWin, int flag));
/* 39 */
-EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,
+EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont,
unsigned int searchChar));
/* 40 */
EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_((
- TkWindow * winPtr));
+ TkWindow *winPtr));
/* 41 */
-EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,
+EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1,
Drawable d2));
/* 42 */
EXTERN void TkMacMenuClick _ANSI_ARGS_((void));
@@ -209,52 +209,52 @@ EXTERN void TkMacMenuClick _ANSI_ARGS_((void));
EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_((
Window window, GWorldPtr portPtr));
/* 44 */
-EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow *winPtr));
/* Slot 45 is reserved */
/* 46 */
EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void));
/* 47 */
-EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow *winPtr,
int flag));
/* 48 */
EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable));
/* 49 */
EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc));
/* 50 */
-EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow *winPtr));
/* 51 */
EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_((
GWorldPtr portPtr));
/* 52 */
EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID));
/* 53 */
-EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow *winPtr));
/* 54 */
-EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr,
- Rect * geometry));
+EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow *winPtr,
+ Rect *geometry));
/* 55 */
-EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,
- int * xOffset, int * yOffset));
+EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef,
+ int *xOffset, int *yOffset));
/* Slot 56 is reserved */
/* 57 */
-EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
- RGBColor * macColor));
+EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
+ RGBColor *macColor));
/* 58 */
-EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow *winPtr,
Tk_Uid titleUid));
/* 59 */
EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
/* Slot 60 is reserved */
/* 61 */
-EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,
+EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow,
Point where, short zoomPart));
/* 62 */
-EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
- int rootX, int rootY, int * newX, int * newY));
+EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
+ int rootX, int rootY, int *newX, int *newY));
/* 63 */
-EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow *winPtr));
/* 64 */
-EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow *winPtr));
/* 65 */
EXTERN void TkMacPreprocessMenu _ANSI_ARGS_((void));
/* 66 */
@@ -263,17 +263,17 @@ EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window));
#ifdef MAC_OSX_TK
/* 0 */
EXTERN void TkGenerateActivateEvents _ANSI_ARGS_((
- TkWindow * winPtr, int active));
+ TkWindow *winPtr, int active));
/* Slot 1 is reserved */
/* Slot 2 is reserved */
/* 3 */
-EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow *winPtr));
/* 4 */
-EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow *winPtr));
/* 5 */
EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor));
/* 6 */
-EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
int state));
/* 7 */
EXTERN void TkAboutDlg _ANSI_ARGS_((void));
@@ -282,7 +282,7 @@ EXTERN unsigned int TkMacOSXButtonKeyState _ANSI_ARGS_((void));
/* 9 */
EXTERN void TkMacOSXClearMenubarActive _ANSI_ARGS_((void));
/* 10 */
-EXTERN int TkMacOSXDispatchMenuEvent _ANSI_ARGS_((int menuID,
+EXTERN int TkMacOSXDispatchMenuEvent _ANSI_ARGS_((int menuID,
int index));
/* 11 */
EXTERN void TkMacOSXInstallCursor _ANSI_ARGS_((
@@ -291,8 +291,7 @@ EXTERN void TkMacOSXInstallCursor _ANSI_ARGS_((
EXTERN void TkMacOSXHandleTearoffMenu _ANSI_ARGS_((void));
/* Slot 13 is reserved */
/* 14 */
-EXTERN int TkMacOSXDoHLEvent _ANSI_ARGS_((
- EventRecord * theEvent));
+EXTERN int TkMacOSXDoHLEvent _ANSI_ARGS_((EventRecord *theEvent));
/* Slot 15 is reserved */
/* 16 */
EXTERN Window TkMacOSXGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
@@ -300,21 +299,21 @@ EXTERN Window TkMacOSXGetXWindow _ANSI_ARGS_((WindowRef macWinPtr));
EXTERN int TkMacOSXGrowToplevel _ANSI_ARGS_((
WindowRef whichWindow, Point start));
/* 18 */
-EXTERN void TkMacOSXHandleMenuSelect _ANSI_ARGS_((MenuID theMenu,
+EXTERN void TkMacOSXHandleMenuSelect _ANSI_ARGS_((MenuID theMenu,
MenuItemIndex theItem, int optionKeyPressed));
/* Slot 19 is reserved */
/* Slot 20 is reserved */
/* 21 */
EXTERN void TkMacOSXInvalidateWindow _ANSI_ARGS_((
- MacDrawable * macWin, int flag));
+ MacDrawable *macWin, int flag));
/* 22 */
EXTERN int TkMacOSXIsCharacterMissing _ANSI_ARGS_((
Tk_Font tkfont, unsigned int searchChar));
/* 23 */
EXTERN void TkMacOSXMakeRealWindowExist _ANSI_ARGS_((
- TkWindow * winPtr));
+ TkWindow *winPtr));
/* 24 */
-EXTERN BitMapPtr TkMacOSXMakeStippleMap _ANSI_ARGS_((Drawable d1,
+EXTERN BitMapPtr TkMacOSXMakeStippleMap _ANSI_ARGS_((Drawable d1,
Drawable d2));
/* 25 */
EXTERN void TkMacOSXMenuClick _ANSI_ARGS_((void));
@@ -322,39 +321,38 @@ EXTERN void TkMacOSXMenuClick _ANSI_ARGS_((void));
EXTERN void TkMacOSXRegisterOffScreenWindow _ANSI_ARGS_((
Window window, GWorldPtr portPtr));
/* 27 */
-EXTERN int TkMacOSXResizable _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN int TkMacOSXResizable _ANSI_ARGS_((TkWindow *winPtr));
/* 28 */
EXTERN void TkMacOSXSetHelpMenuItemCount _ANSI_ARGS_((void));
/* 29 */
EXTERN void TkMacOSXSetScrollbarGrow _ANSI_ARGS_((
- TkWindow * winPtr, int flag));
+ TkWindow *winPtr, int flag));
/* 30 */
EXTERN void TkMacOSXSetUpClippingRgn _ANSI_ARGS_((
Drawable drawable));
/* 31 */
-EXTERN void TkMacOSXSetUpGraphicsPort _ANSI_ARGS_((GC gc,
+EXTERN void TkMacOSXSetUpGraphicsPort _ANSI_ARGS_((GC gc,
GWorldPtr destPort));
/* 32 */
-EXTERN void TkMacOSXUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkMacOSXUpdateClipRgn _ANSI_ARGS_((TkWindow *winPtr));
/* 33 */
EXTERN void TkMacOSXUnregisterMacWindow _ANSI_ARGS_((
WindowRef portPtr));
/* 34 */
EXTERN int TkMacOSXUseMenuID _ANSI_ARGS_((short macID));
/* 35 */
-EXTERN RgnHandle TkMacOSXVisableClipRgn _ANSI_ARGS_((
- TkWindow * winPtr));
+EXTERN RgnHandle TkMacOSXVisableClipRgn _ANSI_ARGS_((TkWindow *winPtr));
/* 36 */
-EXTERN void TkMacOSXWinBounds _ANSI_ARGS_((TkWindow * winPtr,
- Rect * geometry));
+EXTERN void TkMacOSXWinBounds _ANSI_ARGS_((TkWindow *winPtr,
+ Rect *geometry));
/* 37 */
-EXTERN void TkMacOSXWindowOffset _ANSI_ARGS_((WindowRef wRef,
- int * xOffset, int * yOffset));
+EXTERN void TkMacOSXWindowOffset _ANSI_ARGS_((WindowRef wRef,
+ int *xOffset, int *yOffset));
/* 38 */
-EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
- RGBColor * macColor));
+EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel,
+ RGBColor *macColor));
/* 39 */
-EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow *winPtr,
Tk_Uid titleUid));
/* 40 */
EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
@@ -362,13 +360,13 @@ EXTERN void TkSuspendClipboard _ANSI_ARGS_((void));
EXTERN int TkMacOSXZoomToplevel _ANSI_ARGS_((
WindowPtr whichWindow, short zoomPart));
/* 42 */
-EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
- int rootX, int rootY, int * newX, int * newY));
+EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin,
+ int rootX, int rootY, int *newX, int *newY));
/* 43 */
-EXTERN MacDrawable * TkMacOSXContainerId _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN MacDrawable * TkMacOSXContainerId _ANSI_ARGS_((TkWindow *winPtr));
/* 44 */
EXTERN MacDrawable * TkMacOSXGetHostToplevel _ANSI_ARGS_((
- TkWindow * winPtr));
+ TkWindow *winPtr));
/* 45 */
EXTERN void TkMacOSXPreprocessMenu _ANSI_ARGS_((void));
/* 46 */
@@ -377,9 +375,9 @@ EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window));
EXTERN Tk_Window TkMacOSXGetCapture _ANSI_ARGS_((void));
/* Slot 48 is reserved */
/* 49 */
-EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow *winPtr));
/* 50 */
-EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
+EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y,
Window window, unsigned int state));
/* 51 */
EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin));
@@ -391,33 +389,33 @@ EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void));
/* 0 */
EXTERN void TkCreateXEventSource _ANSI_ARGS_((void));
/* 1 */
-EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr,
+EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay *dispPtr,
Window w));
/* 2 */
-EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr));
+EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay *dispPtr));
/* 3 */
-EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,
+EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin,
Colormap colormap));
/* 4 */
-EXTERN void TkpSync _ANSI_ARGS_((Display * display));
+EXTERN void TkpSync _ANSI_ARGS_((Display *display));
/* 5 */
-EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow *winPtr));
/* 6 */
-EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr));
+EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time *timePtr));
/* 7 */
-EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,
+EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin,
Tk_Window menubar));
/* 8 */
-EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp,
- CONST char * string, Window * idPtr));
+EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp *interp,
+ CONST char *string, Window *idPtr));
/* 9 */
-EXTERN void TkWmCleanup _ANSI_ARGS_((TkDisplay * dispPtr));
+EXTERN void TkWmCleanup _ANSI_ARGS_((TkDisplay *dispPtr));
/* 10 */
-EXTERN void TkSendCleanup _ANSI_ARGS_((TkDisplay * dispPtr));
+EXTERN void TkSendCleanup _ANSI_ARGS_((TkDisplay *dispPtr));
/* 11 */
-EXTERN void TkFreeXId _ANSI_ARGS_((TkDisplay * dispPtr));
+EXTERN void TkFreeXId _ANSI_ARGS_((TkDisplay *dispPtr));
/* 12 */
-EXTERN int TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr,
+EXTERN int TkpWmSetState _ANSI_ARGS_((TkWindow *winPtr,
int state));
#endif /* X11 */
@@ -426,182 +424,182 @@ typedef struct TkIntPlatStubs {
struct TkIntPlatStubHooks *hooks;
#ifdef __WIN32__
- char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */
- void *reserved1;
- void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */
+ char * (*tkAlignImageData) _ANSI_ARGS_((XImage *image, int alignment, int bitOrder)); /* 0 */
+ VOID *reserved1;
+ void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow *winPtr, int active)); /* 2 */
unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */
- void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */
- void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */
- int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); /* 6 */
- void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */
+ void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow *winPtr)); /* 4 */
+ void (*tkpPrintWindowId) _ANSI_ARGS_((char *buf, Window window)); /* 5 */
+ int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp *interp, CONST char *string, Window *idPtr)); /* 6 */
+ void (*tkpSetCapture) _ANSI_ARGS_((TkWindow *winPtr)); /* 7 */
void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */
- void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */
+ void (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 9 */
void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */
void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */
- void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */
+ void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay *dispPtr, UINT format)); /* 12 */
LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */
void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */
COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */
- HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */
+ HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display *display, Drawable d, TkWinDCState*state)); /* 16 */
int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */
HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */
HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */
- int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */
- int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */
- void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */
- LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */
+ int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND *phwnd, UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, LRESULT *plResult)); /* 20 */
+ int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor *colorPtr)); /* 21 */
+ void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState*state)); /* 22 */
+ LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)); /* 23 */
HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */
void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */
void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */
void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */
void (*tkWinXCleanup) _ANSI_ARGS_((ClientData clientData)); /* 28 */
void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */
- void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */
+ void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow *winPtr)); /* 30 */
void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */
- Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, CONST char * dbName, CONST char * className)); /* 32 */
+ Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, CONST char *dbName, CONST char *className)); /* 32 */
int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */
void (*tkWinSetHINSTANCE) _ANSI_ARGS_((HINSTANCE hInstance)); /* 34 */
int (*tkWinGetPlatformTheme) _ANSI_ARGS_((void)); /* 35 */
#endif /* __WIN32__ */
#ifdef MAC_TCL
- void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */
- void *reserved1;
- void *reserved2;
+ void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow *winPtr, int active)); /* 0 */
+ VOID *reserved1;
+ VOID *reserved2;
unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */
- void *reserved4;
- void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */
- void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */
+ VOID *reserved4;
+ void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow *winPtr)); /* 5 */
+ void (*tkpSetCapture) _ANSI_ARGS_((TkWindow *winPtr)); /* 6 */
void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */
- void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */
- void *reserved9;
+ void (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 8 */
+ VOID *reserved9;
void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */
- void *reserved11;
- void *reserved12;
- Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */
+ VOID *reserved11;
+ VOID *reserved12;
+ Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow *winPtr)); /* 13 */
int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */
- void *reserved15;
+ VOID *reserved15;
void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */
- void *reserved17;
+ VOID *reserved17;
unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */
void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */
- void *reserved20;
+ VOID *reserved20;
int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */
void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */
- void *reserved23;
+ VOID *reserved23;
void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */
- void *reserved25;
- void *reserved26;
- void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */
- void *reserved28;
+ VOID *reserved25;
+ VOID *reserved26;
+ void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord *theEvent)); /* 27 */
+ VOID *reserved28;
Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */
- void *reserved30;
- TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */
+ VOID *reserved30;
+ TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow *winPtr)); /* 31 */
Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */
int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */
void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */
- void *reserved35;
- void *reserved36;
- void *reserved37;
- void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */
+ VOID *reserved35;
+ VOID *reserved36;
+ VOID *reserved37;
+ void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable *macWin, int flag)); /* 38 */
int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */
- void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */
+ void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow *winPtr)); /* 40 */
BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */
void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */
void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */
- int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */
- void *reserved45;
+ int (*tkMacResizable) _ANSI_ARGS_((TkWindow *winPtr)); /* 44 */
+ VOID *reserved45;
void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */
- void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */
+ void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow *winPtr, int flag)); /* 47 */
void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */
void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */
- void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */
+ void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow *winPtr)); /* 50 */
void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */
int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */
- RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */
- void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */
- void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */
- void *reserved56;
- int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */
- void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */
+ RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow *winPtr)); /* 53 */
+ void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow *winPtr, Rect *geometry)); /* 54 */
+ void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int *xOffset, int *yOffset)); /* 55 */
+ VOID *reserved56;
+ int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor *macColor)); /* 57 */
+ void (*tkSetWMName) _ANSI_ARGS_((TkWindow *winPtr, Tk_Uid titleUid)); /* 58 */
void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */
- void *reserved60;
+ VOID *reserved60;
int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */
- Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */
- MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */
- MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */
+ Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int *newX, int *newY)); /* 62 */
+ MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow *winPtr)); /* 63 */
+ MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow *winPtr)); /* 64 */
void (*tkMacPreprocessMenu) _ANSI_ARGS_((void)); /* 65 */
int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window)); /* 66 */
#endif /* MAC_TCL */
#ifdef MAC_OSX_TK
- void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */
- void *reserved1;
- void *reserved2;
- void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 3 */
- void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */
+ void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow *winPtr, int active)); /* 0 */
+ VOID *reserved1;
+ VOID *reserved2;
+ void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow *winPtr)); /* 3 */
+ void (*tkpSetCapture) _ANSI_ARGS_((TkWindow *winPtr)); /* 4 */
void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 5 */
- void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 6 */
+ void (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 6 */
void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 7 */
unsigned int (*tkMacOSXButtonKeyState) _ANSI_ARGS_((void)); /* 8 */
void (*tkMacOSXClearMenubarActive) _ANSI_ARGS_((void)); /* 9 */
int (*tkMacOSXDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 10 */
void (*tkMacOSXInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 11 */
void (*tkMacOSXHandleTearoffMenu) _ANSI_ARGS_((void)); /* 12 */
- void *reserved13;
- int (*tkMacOSXDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 14 */
- void *reserved15;
+ VOID *reserved13;
+ int (*tkMacOSXDoHLEvent) _ANSI_ARGS_((EventRecord *theEvent)); /* 14 */
+ VOID *reserved15;
Window (*tkMacOSXGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 16 */
int (*tkMacOSXGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 17 */
void (*tkMacOSXHandleMenuSelect) _ANSI_ARGS_((MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed)); /* 18 */
- void *reserved19;
- void *reserved20;
- void (*tkMacOSXInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 21 */
+ VOID *reserved19;
+ VOID *reserved20;
+ void (*tkMacOSXInvalidateWindow) _ANSI_ARGS_((MacDrawable *macWin, int flag)); /* 21 */
int (*tkMacOSXIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 22 */
- void (*tkMacOSXMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 23 */
+ void (*tkMacOSXMakeRealWindowExist) _ANSI_ARGS_((TkWindow *winPtr)); /* 23 */
BitMapPtr (*tkMacOSXMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 24 */
void (*tkMacOSXMenuClick) _ANSI_ARGS_((void)); /* 25 */
void (*tkMacOSXRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 26 */
- int (*tkMacOSXResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 27 */
+ int (*tkMacOSXResizable) _ANSI_ARGS_((TkWindow *winPtr)); /* 27 */
void (*tkMacOSXSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 28 */
- void (*tkMacOSXSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 29 */
+ void (*tkMacOSXSetScrollbarGrow) _ANSI_ARGS_((TkWindow *winPtr, int flag)); /* 29 */
void (*tkMacOSXSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 30 */
void (*tkMacOSXSetUpGraphicsPort) _ANSI_ARGS_((GC gc, GWorldPtr destPort)); /* 31 */
- void (*tkMacOSXUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 32 */
+ void (*tkMacOSXUpdateClipRgn) _ANSI_ARGS_((TkWindow *winPtr)); /* 32 */
void (*tkMacOSXUnregisterMacWindow) _ANSI_ARGS_((WindowRef portPtr)); /* 33 */
int (*tkMacOSXUseMenuID) _ANSI_ARGS_((short macID)); /* 34 */
- RgnHandle (*tkMacOSXVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 35 */
- void (*tkMacOSXWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 36 */
- void (*tkMacOSXWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 37 */
- int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 38 */
- void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 39 */
+ RgnHandle (*tkMacOSXVisableClipRgn) _ANSI_ARGS_((TkWindow *winPtr)); /* 35 */
+ void (*tkMacOSXWinBounds) _ANSI_ARGS_((TkWindow *winPtr, Rect *geometry)); /* 36 */
+ void (*tkMacOSXWindowOffset) _ANSI_ARGS_((WindowRef wRef, int *xOffset, int *yOffset)); /* 37 */
+ int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor *macColor)); /* 38 */
+ void (*tkSetWMName) _ANSI_ARGS_((TkWindow *winPtr, Tk_Uid titleUid)); /* 39 */
void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 40 */
int (*tkMacOSXZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, short zoomPart)); /* 41 */
- Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 42 */
- MacDrawable * (*tkMacOSXContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 43 */
- MacDrawable * (*tkMacOSXGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */
+ Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int *newX, int *newY)); /* 42 */
+ MacDrawable * (*tkMacOSXContainerId) _ANSI_ARGS_((TkWindow *winPtr)); /* 43 */
+ MacDrawable * (*tkMacOSXGetHostToplevel) _ANSI_ARGS_((TkWindow *winPtr)); /* 44 */
void (*tkMacOSXPreprocessMenu) _ANSI_ARGS_((void)); /* 45 */
int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window)); /* 46 */
Tk_Window (*tkMacOSXGetCapture) _ANSI_ARGS_((void)); /* 47 */
- void *reserved48;
- Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 49 */
+ VOID *reserved48;
+ Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow *winPtr)); /* 49 */
int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 50 */
void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 51 */
- void *reserved52;
+ VOID *reserved52;
unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 53 */
#endif /* MAC_OSX_TK */
#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK)) /* X11 */
void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */
- void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */
- void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */
+ void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay *dispPtr, Window w)); /* 1 */
+ void (*tkInitXId) _ANSI_ARGS_((TkDisplay *dispPtr)); /* 2 */
int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */
- void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */
- Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */
- int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */
+ void (*tkpSync) _ANSI_ARGS_((Display *display)); /* 4 */
+ Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow *winPtr)); /* 5 */
+ int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time *timePtr)); /* 6 */
void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */
- int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); /* 8 */
- void (*tkWmCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 9 */
- void (*tkSendCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 10 */
- void (*tkFreeXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 11 */
- int (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 12 */
+ int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp *interp, CONST char *string, Window *idPtr)); /* 8 */
+ void (*tkWmCleanup) _ANSI_ARGS_((TkDisplay *dispPtr)); /* 9 */
+ void (*tkSendCleanup) _ANSI_ARGS_((TkDisplay *dispPtr)); /* 10 */
+ void (*tkFreeXId) _ANSI_ARGS_((TkDisplay *dispPtr)); /* 11 */
+ int (*tkpWmSetState) _ANSI_ARGS_((TkWindow *winPtr, int state)); /* 12 */
#endif /* X11 */
} TkIntPlatStubs;
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index 05fb35a..3039404 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -38,913 +38,908 @@
#ifdef __WIN32__
/* 0 */
-EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
- int dash_offset, _Xconst char* dash_list,
+EXTERN void XSetDashes _ANSI_ARGS_((Display*display, GC gc,
+ int dash_offset, _Xconst char*dash_list,
int n));
/* 1 */
-EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
+EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display*d));
/* 2 */
-EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
- unsigned int ui1, int i1, int i2, char* cp,
- unsigned int ui2, unsigned int ui3, int i3,
+EXTERN XImage * XCreateImage _ANSI_ARGS_((Display*d, Visual*v,
+ unsigned int ui1, int i1, int i2, char*cp,
+ unsigned int ui2, unsigned int ui3, int i3,
int i4));
/* 3 */
-EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
- int i1, int i2, unsigned int ui1,
+EXTERN XImage * XGetImage _ANSI_ARGS_((Display*d, Drawable dr,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, unsigned long ul, int i3));
/* 4 */
-EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
+EXTERN char * XGetAtomName _ANSI_ARGS_((Display*d, Atom a));
/* 5 */
EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
/* 6 */
-EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
- Visual* v, int i));
+EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display*d, Window w,
+ Visual*v, int i));
/* 7 */
-EXTERN Cursor XCreatePixmapCursor _ANSI_ARGS_((Display* d,
- Pixmap p1, Pixmap p2, XColor* x1, XColor* x2,
+EXTERN Cursor XCreatePixmapCursor _ANSI_ARGS_((Display*d,
+ Pixmap p1, Pixmap p2, XColor*x1, XColor*x2,
unsigned int ui1, unsigned int ui2));
/* 8 */
-EXTERN Cursor XCreateGlyphCursor _ANSI_ARGS_((Display* d, Font f1,
- Font f2, unsigned int ui1, unsigned int ui2,
- XColor* x1, XColor* x2));
+EXTERN Cursor XCreateGlyphCursor _ANSI_ARGS_((Display*d, Font f1,
+ Font f2, unsigned int ui1, unsigned int ui2,
+ XColor*x1, XColor*x2));
/* 9 */
EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
/* 10 */
-EXTERN XHostAddress * XListHosts _ANSI_ARGS_((Display* d, int* i, Bool* b));
+EXTERN XHostAddress * XListHosts _ANSI_ARGS_((Display*d, int*i, Bool*b));
/* 11 */
-EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d,
+EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display*d,
unsigned int k, int i));
/* 12 */
-EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
+EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char*c));
/* 13 */
-EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
+EXTERN Window XRootWindow _ANSI_ARGS_((Display*d, int i));
/* 14 */
EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
/* 15 */
-EXTERN Status XIconifyWindow _ANSI_ARGS_((Display* d, Window w,
+EXTERN Status XIconifyWindow _ANSI_ARGS_((Display*d, Window w,
int i));
/* 16 */
-EXTERN Status XWithdrawWindow _ANSI_ARGS_((Display* d, Window w,
+EXTERN Status XWithdrawWindow _ANSI_ARGS_((Display*d, Window w,
int i));
/* 17 */
-EXTERN Status XGetWMColormapWindows _ANSI_ARGS_((Display* d,
- Window w, Window** wpp, int* ip));
+EXTERN Status XGetWMColormapWindows _ANSI_ARGS_((Display*d,
+ Window w, Window**wpp, int*ip));
/* 18 */
-EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
- XColor* xp));
+EXTERN Status XAllocColor _ANSI_ARGS_((Display*d, Colormap c,
+ XColor*xp));
/* 19 */
-EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
+EXTERN void XBell _ANSI_ARGS_((Display*d, int i));
/* 20 */
-EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
- Atom a1, Atom a2, int i1, int i2,
- _Xconst unsigned char* c, int i3));
+EXTERN void XChangeProperty _ANSI_ARGS_((Display*d, Window w,
+ Atom a1, Atom a2, int i1, int i2,
+ _Xconst unsigned char*c, int i3));
/* 21 */
-EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
- Window w, unsigned long ul,
- XSetWindowAttributes* x));
+EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display*d,
+ Window w, unsigned long ul,
+ XSetWindowAttributes*x));
/* 22 */
-EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XClearWindow _ANSI_ARGS_((Display*d, Window w));
/* 23 */
-EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
- unsigned int i, XWindowChanges* x));
+EXTERN void XConfigureWindow _ANSI_ARGS_((Display*d, Window w,
+ unsigned int i, XWindowChanges*x));
/* 24 */
-EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyArea _ANSI_ARGS_((Display*d, Drawable dr1,
+ Drawable dr2, GC g, int i1, int i2,
+ unsigned int ui1, unsigned int ui2, int i3,
int i4));
/* 25 */
-EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyPlane _ANSI_ARGS_((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));
/* 26 */
-EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
- Drawable d, _Xconst char* data,
+EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display*display,
+ Drawable d, _Xconst char*data,
unsigned int width, unsigned int height));
/* 27 */
-EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XDefineCursor _ANSI_ARGS_((Display*d, Window w,
Cursor c));
/* 28 */
-EXTERN void XDeleteProperty _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XDeleteProperty _ANSI_ARGS_((Display*d, Window w,
Atom a));
/* 29 */
-EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XDestroyWindow _ANSI_ARGS_((Display*d, Window w));
/* 30 */
-EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XDrawArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 31 */
-EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2));
+EXTERN void XDrawLines _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ XPoint*x, int i1, int i2));
/* 32 */
-EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, int i1, int i2, unsigned int ui1,
+EXTERN void XDrawRectangle _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 33 */
-EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XFillArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 34 */
-EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2, int i3));
+EXTERN void XFillPolygon _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XPoint*x, int i1, int i2, int i3));
/* 35 */
-EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XRectangle* x, int i));
+EXTERN void XFillRectangles _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XRectangle*x, int i));
/* 36 */
-EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* d, int i));
+EXTERN void XForceScreenSaver _ANSI_ARGS_((Display*d, int i));
/* 37 */
-EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
+EXTERN void XFreeColormap _ANSI_ARGS_((Display*d, Colormap c));
/* 38 */
-EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
- unsigned long* ulp, int i, unsigned long ul));
+EXTERN void XFreeColors _ANSI_ARGS_((Display*d, Colormap c,
+ unsigned long*ulp, int i, unsigned long ul));
/* 39 */
-EXTERN void XFreeCursor _ANSI_ARGS_((Display* d, Cursor c));
+EXTERN void XFreeCursor _ANSI_ARGS_((Display*d, Cursor c));
/* 40 */
-EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
+EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap*x));
/* 41 */
-EXTERN Status XGetGeometry _ANSI_ARGS_((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 _ANSI_ARGS_((Display*d, Drawable dr,
+ Window*w, int*i1, int*i2, unsigned int*ui1,
+ unsigned int*ui2, unsigned int*ui3,
+ unsigned int*ui4));
/* 42 */
-EXTERN void XGetInputFocus _ANSI_ARGS_((Display* d, Window* w,
- int* i));
+EXTERN void XGetInputFocus _ANSI_ARGS_((Display*d, Window*w,
+ int*i));
/* 43 */
-EXTERN int XGetWindowProperty _ANSI_ARGS_((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 _ANSI_ARGS_((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));
/* 44 */
-EXTERN Status XGetWindowAttributes _ANSI_ARGS_((Display* d,
- Window w, XWindowAttributes* x));
+EXTERN Status XGetWindowAttributes _ANSI_ARGS_((Display*d,
+ Window w, XWindowAttributes*x));
/* 45 */
-EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
+EXTERN int XGrabKeyboard _ANSI_ARGS_((Display*d, Window w,
Bool b, int i1, int i2, Time t));
/* 46 */
-EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
- Bool b, unsigned int ui, int i1, int i2,
+EXTERN int XGrabPointer _ANSI_ARGS_((Display*d, Window w1,
+ Bool b, unsigned int ui, int i1, int i2,
Window w2, Cursor c, Time t));
/* 47 */
-EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
+EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display*d, KeySym k));
/* 48 */
-EXTERN Status XLookupColor _ANSI_ARGS_((Display* d, Colormap c1,
- _Xconst char* c2, XColor* x1, XColor* x2));
+EXTERN Status XLookupColor _ANSI_ARGS_((Display*d, Colormap c1,
+ _Xconst char*c2, XColor*x1, XColor*x2));
/* 49 */
-EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XMapWindow _ANSI_ARGS_((Display*d, Window w));
/* 50 */
-EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2, unsigned int ui1,
+EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display*d, Window w,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 51 */
-EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2));
+EXTERN void XMoveWindow _ANSI_ARGS_((Display*d, Window w, int i1,
+ int i2));
/* 52 */
-EXTERN void XNextEvent _ANSI_ARGS_((Display* d, XEvent* x));
+EXTERN void XNextEvent _ANSI_ARGS_((Display*d, XEvent*x));
/* 53 */
-EXTERN void XPutBackEvent _ANSI_ARGS_((Display* d, XEvent* x));
+EXTERN void XPutBackEvent _ANSI_ARGS_((Display*d, XEvent*x));
/* 54 */
-EXTERN void XQueryColors _ANSI_ARGS_((Display* d, Colormap c,
- XColor* x, int i));
+EXTERN void XQueryColors _ANSI_ARGS_((Display*d, Colormap c,
+ XColor*x, int i));
/* 55 */
-EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, int* i1, int* i2,
- int* i3, int* i4, unsigned int* ui));
+EXTERN Bool XQueryPointer _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, int*i1, int*i2, int*i3,
+ int*i4, unsigned int*ui));
/* 56 */
-EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, Window** w4,
- unsigned int* ui));
+EXTERN Status XQueryTree _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, Window**w4,
+ unsigned int*ui));
/* 57 */
-EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XRaiseWindow _ANSI_ARGS_((Display*d, Window w));
/* 58 */
-EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
- XMappingEvent* x));
+EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent*x));
/* 59 */
-EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XResizeWindow _ANSI_ARGS_((Display*d, Window w,
unsigned int ui1, unsigned int ui2));
/* 60 */
-EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSelectInput _ANSI_ARGS_((Display*d, Window w,
long l));
/* 61 */
-EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
- long l, XEvent* x));
+EXTERN Status XSendEvent _ANSI_ARGS_((Display*d, Window w, Bool b,
+ long l, XEvent*x));
/* 62 */
-EXTERN void XSetCommand _ANSI_ARGS_((Display* d, Window w,
- CONST char** c, int i));
+EXTERN void XSetCommand _ANSI_ARGS_((Display*d, Window w,
+ CONST char**c, int i));
/* 63 */
-EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
- _Xconst char* c));
+EXTERN void XSetIconName _ANSI_ARGS_((Display*d, Window w,
+ _Xconst char*c));
/* 64 */
-EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetInputFocus _ANSI_ARGS_((Display*d, Window w,
int i, Time t));
/* 65 */
-EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
+EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display*d, Atom a,
Window w, Time t));
/* 66 */
-EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackground _ANSI_ARGS_((Display*d,
Window w, unsigned long ul));
/* 67 */
-EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 68 */
-EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowBorder _ANSI_ARGS_((Display*d, Window w,
unsigned long ul));
/* 69 */
-EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 70 */
-EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display*d,
Window w, unsigned int ui));
/* 71 */
-EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowColormap _ANSI_ARGS_((Display*d, Window w,
Colormap c));
/* 72 */
-EXTERN Bool XTranslateCoordinates _ANSI_ARGS_((Display* d,
- Window w1, Window w2, int i1, int i2,
- int* i3, int* i4, Window* w3));
+EXTERN Bool XTranslateCoordinates _ANSI_ARGS_((Display*d,
+ Window w1, Window w2, int i1, int i2, int*i3,
+ int*i4, Window*w3));
/* 73 */
-EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display*d, Time t));
/* 74 */
-EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabPointer _ANSI_ARGS_((Display*d, Time t));
/* 75 */
-EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XUnmapWindow _ANSI_ARGS_((Display*d, Window w));
/* 76 */
-EXTERN void XWindowEvent _ANSI_ARGS_((Display* d, Window w,
- long l, XEvent* x));
+EXTERN void XWindowEvent _ANSI_ARGS_((Display*d, Window w,
+ long l, XEvent*x));
/* 77 */
EXTERN void XDestroyIC _ANSI_ARGS_((XIC x));
/* 78 */
-EXTERN Bool XFilterEvent _ANSI_ARGS_((XEvent* x, Window w));
+EXTERN Bool XFilterEvent _ANSI_ARGS_((XEvent*x, Window w));
/* 79 */
-EXTERN int XmbLookupString _ANSI_ARGS_((XIC xi,
- XKeyPressedEvent* xk, char* c, int i,
- KeySym* k, Status* s));
+EXTERN int XmbLookupString _ANSI_ARGS_((XIC xi,
+ XKeyPressedEvent*xk, char*c, int i, KeySym*k,
+ Status*s));
/* 80 */
-EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
- int ncolors, Display* display, Drawable d,
- GC gc, XImage* image, int src_x, int src_y,
- int dest_x, int dest_y, unsigned int width,
+EXTERN void TkPutImage _ANSI_ARGS_((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));
/* Slot 81 is reserved */
/* 82 */
-EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
- Colormap map, _Xconst char* spec,
- XColor * colorPtr));
+EXTERN Status XParseColor _ANSI_ARGS_((Display *display,
+ Colormap map, _Xconst char*spec,
+ XColor *colorPtr));
/* 83 */
-EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
- unsigned long valuemask, XGCValues* values));
+EXTERN GC XCreateGC _ANSI_ARGS_((Display*display, Drawable d,
+ unsigned long valuemask, XGCValues*values));
/* 84 */
-EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
+EXTERN void XFreeGC _ANSI_ARGS_((Display*display, GC gc));
/* 85 */
-EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
- _Xconst char* atom_name, Bool only_if_exists));
+EXTERN Atom XInternAtom _ANSI_ARGS_((Display*display,
+ _Xconst char*atom_name, Bool only_if_exists));
/* 86 */
-EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetBackground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 87 */
-EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetForeground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 88 */
-EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipMask _ANSI_ARGS_((Display*display, GC gc,
Pixmap pixmap));
/* 89 */
-EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipOrigin _ANSI_ARGS_((Display*display, GC gc,
int clip_x_origin, int clip_y_origin));
/* 90 */
-EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetTSOrigin _ANSI_ARGS_((Display*display, GC gc,
int ts_x_origin, int ts_y_origin));
/* 91 */
-EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
- unsigned long mask, XGCValues * values));
+EXTERN void XChangeGC _ANSI_ARGS_((Display *d, GC gc,
+ unsigned long mask, XGCValues *values));
/* 92 */
-EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFont _ANSI_ARGS_((Display *display, GC gc,
Font font));
/* 93 */
-EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetArcMode _ANSI_ARGS_((Display *display, GC gc,
int arc_mode));
/* 94 */
-EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetStipple _ANSI_ARGS_((Display *display, GC gc,
Pixmap stipple));
/* 95 */
-EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillRule _ANSI_ARGS_((Display *display, GC gc,
int fill_rule));
/* 96 */
-EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillStyle _ANSI_ARGS_((Display *display, GC gc,
int fill_style));
/* 97 */
-EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFunction _ANSI_ARGS_((Display *display, GC gc,
int function));
/* 98 */
-EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
- GC gc, unsigned int line_width,
- int line_style, int cap_style,
+EXTERN void XSetLineAttributes _ANSI_ARGS_((Display *display,
+ GC gc, unsigned int line_width,
+ int line_style, int cap_style,
int join_style));
/* 99 */
-EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
+EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
/* 100 */
EXTERN XIC XCreateIC _ANSI_ARGS_((void));
/* 101 */
-EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
- long vinfo_mask, XVisualInfo* vinfo_template,
- int* nitems_return));
+EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display*display,
+ long vinfo_mask, XVisualInfo*vinfo_template,
+ int*nitems_return));
/* 102 */
-EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
- Window w, XTextProperty* text_prop));
+EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display*display,
+ Window w, XTextProperty*text_prop));
/* 103 */
-EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
- int count, XTextProperty* text_prop_return));
+EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char**list,
+ int count, XTextProperty*text_prop_return));
/* 104 */
-EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
+EXTERN void XDrawLine _ANSI_ARGS_((Display*d, Drawable dr, GC g,
int x1, int y1, int x2, int y2));
/* 105 */
-EXTERN void XWarpPointer _ANSI_ARGS_((Display* d, Window s,
- Window dw, int sx, int sy, unsigned int sw,
+EXTERN void XWarpPointer _ANSI_ARGS_((Display*d, Window s,
+ Window dw, int sx, int sy, unsigned int sw,
unsigned int sh, int dx, int dy));
/* 106 */
-EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
- Drawable d, GC gc, int x, int y,
+EXTERN void XFillRectangle _ANSI_ARGS_((Display*display,
+ Drawable d, GC gc, int x, int y,
unsigned int width, unsigned int height));
#endif /* __WIN32__ */
#ifdef MAC_TCL
/* 0 */
-EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
- int dash_offset, _Xconst char* dash_list,
+EXTERN void XSetDashes _ANSI_ARGS_((Display*display, GC gc,
+ int dash_offset, _Xconst char*dash_list,
int n));
/* 1 */
-EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
+EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display*d));
/* 2 */
-EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
- unsigned int ui1, int i1, int i2, char* cp,
- unsigned int ui2, unsigned int ui3, int i3,
+EXTERN XImage * XCreateImage _ANSI_ARGS_((Display*d, Visual*v,
+ unsigned int ui1, int i1, int i2, char*cp,
+ unsigned int ui2, unsigned int ui3, int i3,
int i4));
/* 3 */
-EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
- int i1, int i2, unsigned int ui1,
+EXTERN XImage * XGetImage _ANSI_ARGS_((Display*d, Drawable dr,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, unsigned long ul, int i3));
/* 4 */
-EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
+EXTERN char * XGetAtomName _ANSI_ARGS_((Display*d, Atom a));
/* 5 */
EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
/* 6 */
-EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
- Visual* v, int i));
+EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display*d, Window w,
+ Visual*v, int i));
/* 7 */
EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
/* 8 */
-EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d, KeyCode k,
+EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display*d, KeyCode k,
int i));
/* 9 */
-EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
+EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char*c));
/* 10 */
-EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
+EXTERN Window XRootWindow _ANSI_ARGS_((Display*d, int i));
/* 11 */
EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
/* 12 */
-EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
- XColor* xp));
+EXTERN Status XAllocColor _ANSI_ARGS_((Display*d, Colormap c,
+ XColor*xp));
/* 13 */
-EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
+EXTERN void XBell _ANSI_ARGS_((Display*d, int i));
/* 14 */
-EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
- Atom a1, Atom a2, int i1, int i2,
- _Xconst unsigned char* c, int i3));
+EXTERN void XChangeProperty _ANSI_ARGS_((Display*d, Window w,
+ Atom a1, Atom a2, int i1, int i2,
+ _Xconst unsigned char*c, int i3));
/* 15 */
-EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
- Window w, unsigned long ul,
- XSetWindowAttributes* x));
+EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display*d,
+ Window w, unsigned long ul,
+ XSetWindowAttributes*x));
/* 16 */
-EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
- unsigned int i, XWindowChanges* x));
+EXTERN void XConfigureWindow _ANSI_ARGS_((Display*d, Window w,
+ unsigned int i, XWindowChanges*x));
/* 17 */
-EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyArea _ANSI_ARGS_((Display*d, Drawable dr1,
+ Drawable dr2, GC g, int i1, int i2,
+ unsigned int ui1, unsigned int ui2, int i3,
int i4));
/* 18 */
-EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyPlane _ANSI_ARGS_((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));
/* 19 */
-EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
- Drawable d, _Xconst char* data,
+EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display*display,
+ Drawable d, _Xconst char*data,
unsigned int width, unsigned int height));
/* 20 */
-EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XDefineCursor _ANSI_ARGS_((Display*d, Window w,
Cursor c));
/* 21 */
-EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XDestroyWindow _ANSI_ARGS_((Display*d, Window w));
/* 22 */
-EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XDrawArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 23 */
-EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2));
+EXTERN void XDrawLines _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ XPoint*x, int i1, int i2));
/* 24 */
-EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, int i1, int i2, unsigned int ui1,
+EXTERN void XDrawRectangle _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 25 */
-EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XFillArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 26 */
-EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2, int i3));
+EXTERN void XFillPolygon _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XPoint*x, int i1, int i2, int i3));
/* 27 */
-EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XRectangle* x, int i));
+EXTERN void XFillRectangles _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XRectangle*x, int i));
/* 28 */
-EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
+EXTERN void XFreeColormap _ANSI_ARGS_((Display*d, Colormap c));
/* 29 */
-EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
- unsigned long* ulp, int i, unsigned long ul));
+EXTERN void XFreeColors _ANSI_ARGS_((Display*d, Colormap c,
+ unsigned long*ulp, int i, unsigned long ul));
/* 30 */
-EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
+EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap*x));
/* 31 */
-EXTERN Status XGetGeometry _ANSI_ARGS_((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 _ANSI_ARGS_((Display*d, Drawable dr,
+ Window*w, int*i1, int*i2, unsigned int*ui1,
+ unsigned int*ui2, unsigned int*ui3,
+ unsigned int*ui4));
/* 32 */
-EXTERN int XGetWindowProperty _ANSI_ARGS_((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 _ANSI_ARGS_((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));
/* 33 */
-EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
+EXTERN int XGrabKeyboard _ANSI_ARGS_((Display*d, Window w,
Bool b, int i1, int i2, Time t));
/* 34 */
-EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
- Bool b, unsigned int ui, int i1, int i2,
+EXTERN int XGrabPointer _ANSI_ARGS_((Display*d, Window w1,
+ Bool b, unsigned int ui, int i1, int i2,
Window w2, Cursor c, Time t));
/* 35 */
-EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
+EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display*d, KeySym k));
/* 36 */
-EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XMapWindow _ANSI_ARGS_((Display*d, Window w));
/* 37 */
-EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2, unsigned int ui1,
+EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display*d, Window w,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 38 */
-EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2));
+EXTERN void XMoveWindow _ANSI_ARGS_((Display*d, Window w, int i1,
+ int i2));
/* 39 */
-EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, int* i1, int* i2,
- int* i3, int* i4, unsigned int* ui));
+EXTERN Bool XQueryPointer _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, int*i1, int*i2, int*i3,
+ int*i4, unsigned int*ui));
/* 40 */
-EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XRaiseWindow _ANSI_ARGS_((Display*d, Window w));
/* 41 */
-EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
- XMappingEvent* x));
+EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent*x));
/* 42 */
-EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XResizeWindow _ANSI_ARGS_((Display*d, Window w,
unsigned int ui1, unsigned int ui2));
/* 43 */
-EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSelectInput _ANSI_ARGS_((Display*d, Window w,
long l));
/* 44 */
-EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
- long l, XEvent* x));
+EXTERN Status XSendEvent _ANSI_ARGS_((Display*d, Window w, Bool b,
+ long l, XEvent*x));
/* 45 */
-EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
- _Xconst char* c));
+EXTERN void XSetIconName _ANSI_ARGS_((Display*d, Window w,
+ _Xconst char*c));
/* 46 */
-EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetInputFocus _ANSI_ARGS_((Display*d, Window w,
int i, Time t));
/* 47 */
-EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
+EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display*d, Atom a,
Window w, Time t));
/* 48 */
-EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackground _ANSI_ARGS_((Display*d,
Window w, unsigned long ul));
/* 49 */
-EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 50 */
-EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowBorder _ANSI_ARGS_((Display*d, Window w,
unsigned long ul));
/* 51 */
-EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 52 */
-EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display*d,
Window w, unsigned int ui));
/* 53 */
-EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowColormap _ANSI_ARGS_((Display*d, Window w,
Colormap c));
/* 54 */
-EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display*d, Time t));
/* 55 */
-EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabPointer _ANSI_ARGS_((Display*d, Time t));
/* 56 */
-EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XUnmapWindow _ANSI_ARGS_((Display*d, Window w));
/* 57 */
-EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
- int ncolors, Display* display, Drawable d,
- GC gc, XImage* image, int src_x, int src_y,
- int dest_x, int dest_y, unsigned int width,
+EXTERN void TkPutImage _ANSI_ARGS_((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));
/* 58 */
-EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
- Colormap map, _Xconst char* spec,
- XColor * colorPtr));
+EXTERN Status XParseColor _ANSI_ARGS_((Display *display,
+ Colormap map, _Xconst char*spec,
+ XColor *colorPtr));
/* 59 */
-EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
- unsigned long valuemask, XGCValues* values));
+EXTERN GC XCreateGC _ANSI_ARGS_((Display*display, Drawable d,
+ unsigned long valuemask, XGCValues*values));
/* 60 */
-EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
+EXTERN void XFreeGC _ANSI_ARGS_((Display*display, GC gc));
/* 61 */
-EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
- _Xconst char* atom_name, Bool only_if_exists));
+EXTERN Atom XInternAtom _ANSI_ARGS_((Display*display,
+ _Xconst char*atom_name, Bool only_if_exists));
/* 62 */
-EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetBackground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 63 */
-EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetForeground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 64 */
-EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipMask _ANSI_ARGS_((Display*display, GC gc,
Pixmap pixmap));
/* 65 */
-EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipOrigin _ANSI_ARGS_((Display*display, GC gc,
int clip_x_origin, int clip_y_origin));
/* 66 */
-EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetTSOrigin _ANSI_ARGS_((Display*display, GC gc,
int ts_x_origin, int ts_y_origin));
/* 67 */
-EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
- unsigned long mask, XGCValues * values));
+EXTERN void XChangeGC _ANSI_ARGS_((Display *d, GC gc,
+ unsigned long mask, XGCValues *values));
/* 68 */
-EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFont _ANSI_ARGS_((Display *display, GC gc,
Font font));
/* 69 */
-EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetArcMode _ANSI_ARGS_((Display *display, GC gc,
int arc_mode));
/* 70 */
-EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetStipple _ANSI_ARGS_((Display *display, GC gc,
Pixmap stipple));
/* 71 */
-EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillRule _ANSI_ARGS_((Display *display, GC gc,
int fill_rule));
/* 72 */
-EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillStyle _ANSI_ARGS_((Display *display, GC gc,
int fill_style));
/* 73 */
-EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFunction _ANSI_ARGS_((Display *display, GC gc,
int function));
/* 74 */
-EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
- GC gc, unsigned int line_width,
- int line_style, int cap_style,
+EXTERN void XSetLineAttributes _ANSI_ARGS_((Display *display,
+ GC gc, unsigned int line_width,
+ int line_style, int cap_style,
int join_style));
/* 75 */
-EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
+EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
/* 76 */
EXTERN XIC XCreateIC _ANSI_ARGS_((void));
/* 77 */
-EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
- long vinfo_mask, XVisualInfo* vinfo_template,
- int* nitems_return));
+EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display*display,
+ long vinfo_mask, XVisualInfo*vinfo_template,
+ int*nitems_return));
/* 78 */
-EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
- Window w, XTextProperty* text_prop));
+EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display*display,
+ Window w, XTextProperty*text_prop));
/* 79 */
-EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
- int count, XTextProperty* text_prop_return));
+EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char**list,
+ int count, XTextProperty*text_prop_return));
/* 80 */
-EXTERN void XDrawSegments _ANSI_ARGS_((Display * display,
- Drawable d, GC gc, XSegment * segments,
+EXTERN void XDrawSegments _ANSI_ARGS_((Display *display,
+ Drawable d, GC gc, XSegment *segments,
int nsegments));
/* 81 */
-EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display,
+EXTERN void XForceScreenSaver _ANSI_ARGS_((Display*display,
int mode));
/* 82 */
-EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
+EXTERN void XDrawLine _ANSI_ARGS_((Display*d, Drawable dr, GC g,
int x1, int y1, int x2, int y2));
/* 83 */
-EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
- Drawable d, GC gc, int x, int y,
+EXTERN void XFillRectangle _ANSI_ARGS_((Display*display,
+ Drawable d, GC gc, int x, int y,
unsigned int width, unsigned int height));
/* 84 */
-EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XClearWindow _ANSI_ARGS_((Display*d, Window w));
/* 85 */
-EXTERN void XDrawPoint _ANSI_ARGS_((Display* display, Drawable d,
+EXTERN void XDrawPoint _ANSI_ARGS_((Display*display, Drawable d,
GC gc, int x, int y));
/* 86 */
-EXTERN void XDrawPoints _ANSI_ARGS_((Display* display,
- Drawable d, GC gc, XPoint * points,
- int npoints, int mode));
+EXTERN void XDrawPoints _ANSI_ARGS_((Display*display, Drawable d,
+ GC gc, XPoint *points, int npoints, int mode));
/* 87 */
-EXTERN void XWarpPointer _ANSI_ARGS_((Display* display,
- Window src_w, Window dest_w, int src_x,
- int src_y, unsigned int src_width,
- unsigned int src_height, int dest_x,
+EXTERN void XWarpPointer _ANSI_ARGS_((Display*display,
+ Window src_w, Window dest_w, int src_x,
+ int src_y, unsigned int src_width,
+ unsigned int src_height, int dest_x,
int dest_y));
/* 88 */
-EXTERN void XQueryColor _ANSI_ARGS_((Display * display,
- Colormap colormap, XColor * def_in_out));
+EXTERN void XQueryColor _ANSI_ARGS_((Display *display,
+ Colormap colormap, XColor *def_in_out));
/* 89 */
-EXTERN void XQueryColors _ANSI_ARGS_((Display * display,
- Colormap colormap, XColor * defs_in_out,
+EXTERN void XQueryColors _ANSI_ARGS_((Display *display,
+ Colormap colormap, XColor *defs_in_out,
int ncolors));
/* 90 */
-EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, Window** w4,
- unsigned int* ui));
+EXTERN Status XQueryTree _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, Window**w4,
+ unsigned int*ui));
#endif /* MAC_TCL */
#ifdef MAC_OSX_TK
/* 0 */
-EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
- int dash_offset, _Xconst char* dash_list,
+EXTERN void XSetDashes _ANSI_ARGS_((Display*display, GC gc,
+ int dash_offset, _Xconst char*dash_list,
int n));
/* 1 */
-EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
+EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display*d));
/* 2 */
-EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
- unsigned int ui1, int i1, int i2, char* cp,
- unsigned int ui2, unsigned int ui3, int i3,
+EXTERN XImage * XCreateImage _ANSI_ARGS_((Display*d, Visual*v,
+ unsigned int ui1, int i1, int i2, char*cp,
+ unsigned int ui2, unsigned int ui3, int i3,
int i4));
/* 3 */
-EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
- int i1, int i2, unsigned int ui1,
+EXTERN XImage * XGetImage _ANSI_ARGS_((Display*d, Drawable dr,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, unsigned long ul, int i3));
/* 4 */
-EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
+EXTERN char * XGetAtomName _ANSI_ARGS_((Display*d, Atom a));
/* 5 */
EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
/* 6 */
-EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
- Visual* v, int i));
+EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display*d, Window w,
+ Visual*v, int i));
/* 7 */
EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
/* 8 */
-EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d, KeyCode k,
+EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display*d, KeyCode k,
int i));
/* 9 */
-EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
+EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char*c));
/* 10 */
-EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
+EXTERN Window XRootWindow _ANSI_ARGS_((Display*d, int i));
/* 11 */
EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
/* 12 */
-EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
- XColor* xp));
+EXTERN Status XAllocColor _ANSI_ARGS_((Display*d, Colormap c,
+ XColor*xp));
/* 13 */
-EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
+EXTERN void XBell _ANSI_ARGS_((Display*d, int i));
/* 14 */
-EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
- Atom a1, Atom a2, int i1, int i2,
- _Xconst unsigned char* c, int i3));
+EXTERN void XChangeProperty _ANSI_ARGS_((Display*d, Window w,
+ Atom a1, Atom a2, int i1, int i2,
+ _Xconst unsigned char*c, int i3));
/* 15 */
-EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
- Window w, unsigned long ul,
- XSetWindowAttributes* x));
+EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display*d,
+ Window w, unsigned long ul,
+ XSetWindowAttributes*x));
/* 16 */
-EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
- unsigned int i, XWindowChanges* x));
+EXTERN void XConfigureWindow _ANSI_ARGS_((Display*d, Window w,
+ unsigned int i, XWindowChanges*x));
/* 17 */
-EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyArea _ANSI_ARGS_((Display*d, Drawable dr1,
+ Drawable dr2, GC g, int i1, int i2,
+ unsigned int ui1, unsigned int ui2, int i3,
int i4));
/* 18 */
-EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
- Drawable dr2, GC g, int i1, int i2,
- unsigned int ui1, unsigned int ui2, int i3,
+EXTERN void XCopyPlane _ANSI_ARGS_((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));
/* 19 */
-EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
- Drawable d, _Xconst char* data,
+EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display*display,
+ Drawable d, _Xconst char*data,
unsigned int width, unsigned int height));
/* 20 */
-EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XDefineCursor _ANSI_ARGS_((Display*d, Window w,
Cursor c));
/* 21 */
-EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XDestroyWindow _ANSI_ARGS_((Display*d, Window w));
/* 22 */
-EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XDrawArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 23 */
-EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2));
+EXTERN void XDrawLines _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ XPoint*x, int i1, int i2));
/* 24 */
-EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, int i1, int i2, unsigned int ui1,
+EXTERN void XDrawRectangle _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 25 */
-EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
+EXTERN void XFillArc _ANSI_ARGS_((Display*d, Drawable dr, GC g,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2, int i3, int i4));
/* 26 */
-EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XPoint* x, int i1, int i2, int i3));
+EXTERN void XFillPolygon _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XPoint*x, int i1, int i2, int i3));
/* 27 */
-EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
- GC g, XRectangle* x, int i));
+EXTERN void XFillRectangles _ANSI_ARGS_((Display*d, Drawable dr,
+ GC g, XRectangle*x, int i));
/* 28 */
-EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
+EXTERN void XFreeColormap _ANSI_ARGS_((Display*d, Colormap c));
/* 29 */
-EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
- unsigned long* ulp, int i, unsigned long ul));
+EXTERN void XFreeColors _ANSI_ARGS_((Display*d, Colormap c,
+ unsigned long*ulp, int i, unsigned long ul));
/* 30 */
-EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
+EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap*x));
/* 31 */
-EXTERN Status XGetGeometry _ANSI_ARGS_((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 _ANSI_ARGS_((Display*d, Drawable dr,
+ Window*w, int*i1, int*i2, unsigned int*ui1,
+ unsigned int*ui2, unsigned int*ui3,
+ unsigned int*ui4));
/* 32 */
-EXTERN int XGetWindowProperty _ANSI_ARGS_((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 _ANSI_ARGS_((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));
/* 33 */
-EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
+EXTERN int XGrabKeyboard _ANSI_ARGS_((Display*d, Window w,
Bool b, int i1, int i2, Time t));
/* 34 */
-EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
- Bool b, unsigned int ui, int i1, int i2,
+EXTERN int XGrabPointer _ANSI_ARGS_((Display*d, Window w1,
+ Bool b, unsigned int ui, int i1, int i2,
Window w2, Cursor c, Time t));
/* 35 */
-EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
+EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display*d, KeySym k));
/* 36 */
-EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XMapWindow _ANSI_ARGS_((Display*d, Window w));
/* 37 */
-EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2, unsigned int ui1,
+EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display*d, Window w,
+ int i1, int i2, unsigned int ui1,
unsigned int ui2));
/* 38 */
-EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
- int i1, int i2));
+EXTERN void XMoveWindow _ANSI_ARGS_((Display*d, Window w, int i1,
+ int i2));
/* 39 */
-EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, int* i1, int* i2,
- int* i3, int* i4, unsigned int* ui));
+EXTERN Bool XQueryPointer _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, int*i1, int*i2, int*i3,
+ int*i4, unsigned int*ui));
/* 40 */
-EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XRaiseWindow _ANSI_ARGS_((Display*d, Window w));
/* 41 */
-EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
- XMappingEvent* x));
+EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent*x));
/* 42 */
-EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XResizeWindow _ANSI_ARGS_((Display*d, Window w,
unsigned int ui1, unsigned int ui2));
/* 43 */
-EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSelectInput _ANSI_ARGS_((Display*d, Window w,
long l));
/* 44 */
-EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
- long l, XEvent* x));
+EXTERN Status XSendEvent _ANSI_ARGS_((Display*d, Window w, Bool b,
+ long l, XEvent*x));
/* 45 */
-EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
- _Xconst char* c));
+EXTERN void XSetIconName _ANSI_ARGS_((Display*d, Window w,
+ _Xconst char*c));
/* 46 */
-EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetInputFocus _ANSI_ARGS_((Display*d, Window w,
int i, Time t));
/* 47 */
-EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
+EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display*d, Atom a,
Window w, Time t));
/* 48 */
-EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackground _ANSI_ARGS_((Display*d,
Window w, unsigned long ul));
/* 49 */
-EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 50 */
-EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowBorder _ANSI_ARGS_((Display*d, Window w,
unsigned long ul));
/* 51 */
-EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display*d,
Window w, Pixmap p));
/* 52 */
-EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
+EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display*d,
Window w, unsigned int ui));
/* 53 */
-EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
+EXTERN void XSetWindowColormap _ANSI_ARGS_((Display*d, Window w,
Colormap c));
/* 54 */
-EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display*d, Time t));
/* 55 */
-EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
+EXTERN void XUngrabPointer _ANSI_ARGS_((Display*d, Time t));
/* 56 */
-EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XUnmapWindow _ANSI_ARGS_((Display*d, Window w));
/* 57 */
-EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
- int ncolors, Display* display, Drawable d,
- GC gc, XImage* image, int src_x, int src_y,
- int dest_x, int dest_y, unsigned int width,
+EXTERN void TkPutImage _ANSI_ARGS_((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));
/* 58 */
-EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
- Colormap map, _Xconst char* spec,
- XColor * colorPtr));
+EXTERN Status XParseColor _ANSI_ARGS_((Display *display,
+ Colormap map, _Xconst char*spec,
+ XColor *colorPtr));
/* 59 */
-EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
- unsigned long valuemask, XGCValues* values));
+EXTERN GC XCreateGC _ANSI_ARGS_((Display*display, Drawable d,
+ unsigned long valuemask, XGCValues*values));
/* 60 */
-EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
+EXTERN void XFreeGC _ANSI_ARGS_((Display*display, GC gc));
/* 61 */
-EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
- _Xconst char* atom_name, Bool only_if_exists));
+EXTERN Atom XInternAtom _ANSI_ARGS_((Display*display,
+ _Xconst char*atom_name, Bool only_if_exists));
/* 62 */
-EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetBackground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 63 */
-EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetForeground _ANSI_ARGS_((Display*display, GC gc,
unsigned long foreground));
/* 64 */
-EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipMask _ANSI_ARGS_((Display*display, GC gc,
Pixmap pixmap));
/* 65 */
-EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetClipOrigin _ANSI_ARGS_((Display*display, GC gc,
int clip_x_origin, int clip_y_origin));
/* 66 */
-EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
+EXTERN void XSetTSOrigin _ANSI_ARGS_((Display*display, GC gc,
int ts_x_origin, int ts_y_origin));
/* 67 */
-EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
- unsigned long mask, XGCValues * values));
+EXTERN void XChangeGC _ANSI_ARGS_((Display *d, GC gc,
+ unsigned long mask, XGCValues *values));
/* 68 */
-EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFont _ANSI_ARGS_((Display *display, GC gc,
Font font));
/* 69 */
-EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetArcMode _ANSI_ARGS_((Display *display, GC gc,
int arc_mode));
/* 70 */
-EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetStipple _ANSI_ARGS_((Display *display, GC gc,
Pixmap stipple));
/* 71 */
-EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillRule _ANSI_ARGS_((Display *display, GC gc,
int fill_rule));
/* 72 */
-EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFillStyle _ANSI_ARGS_((Display *display, GC gc,
int fill_style));
/* 73 */
-EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
+EXTERN void XSetFunction _ANSI_ARGS_((Display *display, GC gc,
int function));
/* 74 */
-EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
- GC gc, unsigned int line_width,
- int line_style, int cap_style,
+EXTERN void XSetLineAttributes _ANSI_ARGS_((Display *display,
+ GC gc, unsigned int line_width,
+ int line_style, int cap_style,
int join_style));
/* 75 */
-EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
+EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
/* 76 */
EXTERN XIC XCreateIC _ANSI_ARGS_((void));
/* 77 */
-EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
- long vinfo_mask, XVisualInfo* vinfo_template,
- int* nitems_return));
+EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display*display,
+ long vinfo_mask, XVisualInfo*vinfo_template,
+ int*nitems_return));
/* 78 */
-EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
- Window w, XTextProperty* text_prop));
+EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display*display,
+ Window w, XTextProperty*text_prop));
/* 79 */
-EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
- int count, XTextProperty* text_prop_return));
+EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char**list,
+ int count, XTextProperty*text_prop_return));
/* 80 */
-EXTERN void XDrawSegments _ANSI_ARGS_((Display * display,
- Drawable d, GC gc, XSegment * segments,
+EXTERN void XDrawSegments _ANSI_ARGS_((Display *display,
+ Drawable d, GC gc, XSegment *segments,
int nsegments));
/* 81 */
-EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display,
+EXTERN void XForceScreenSaver _ANSI_ARGS_((Display*display,
int mode));
/* 82 */
-EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
+EXTERN void XDrawLine _ANSI_ARGS_((Display*d, Drawable dr, GC g,
int x1, int y1, int x2, int y2));
/* 83 */
-EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
- Drawable d, GC gc, int x, int y,
+EXTERN void XFillRectangle _ANSI_ARGS_((Display*display,
+ Drawable d, GC gc, int x, int y,
unsigned int width, unsigned int height));
/* 84 */
-EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
+EXTERN void XClearWindow _ANSI_ARGS_((Display*d, Window w));
/* 85 */
-EXTERN void XDrawPoint _ANSI_ARGS_((Display* display, Drawable d,
+EXTERN void XDrawPoint _ANSI_ARGS_((Display*display, Drawable d,
GC gc, int x, int y));
/* 86 */
-EXTERN void XDrawPoints _ANSI_ARGS_((Display* display,
- Drawable d, GC gc, XPoint * points,
- int npoints, int mode));
+EXTERN void XDrawPoints _ANSI_ARGS_((Display*display, Drawable d,
+ GC gc, XPoint *points, int npoints, int mode));
/* 87 */
-EXTERN void XWarpPointer _ANSI_ARGS_((Display* display,
- Window src_w, Window dest_w, int src_x,
- int src_y, unsigned int src_width,
- unsigned int src_height, int dest_x,
+EXTERN void XWarpPointer _ANSI_ARGS_((Display*display,
+ Window src_w, Window dest_w, int src_x,
+ int src_y, unsigned int src_width,
+ unsigned int src_height, int dest_x,
int dest_y));
/* 88 */
-EXTERN void XQueryColor _ANSI_ARGS_((Display * display,
- Colormap colormap, XColor * def_in_out));
+EXTERN void XQueryColor _ANSI_ARGS_((Display *display,
+ Colormap colormap, XColor *def_in_out));
/* 89 */
-EXTERN void XQueryColors _ANSI_ARGS_((Display * display,
- Colormap colormap, XColor * defs_in_out,
+EXTERN void XQueryColors _ANSI_ARGS_((Display *display,
+ Colormap colormap, XColor *defs_in_out,
int ncolors));
/* 90 */
-EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
- Window* w2, Window* w3, Window** w4,
- unsigned int* ui));
+EXTERN Status XQueryTree _ANSI_ARGS_((Display*d, Window w1,
+ Window*w2, Window*w3, Window**w4,
+ unsigned int*ui));
/* 91 */
-EXTERN int XSync _ANSI_ARGS_((Display * display, Bool flag));
+EXTERN int XSync _ANSI_ARGS_((Display *display, Bool flag));
#endif /* MAC_OSX_TK */
typedef struct TkIntXlibStubs {
@@ -952,300 +947,300 @@ typedef struct TkIntXlibStubs {
struct TkIntXlibStubHooks *hooks;
#ifdef __WIN32__
- void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
- XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
- XImage * (*xCreateImage) _ANSI_ARGS_((Display* d, Visual* v, unsigned int ui1, int i1, int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
- XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
- char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
+ void (*xSetDashes) _ANSI_ARGS_((Display*display, GC gc, int dash_offset, _Xconst char*dash_list, int n)); /* 0 */
+ XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display*d)); /* 1 */
+ XImage * (*xCreateImage) _ANSI_ARGS_((Display*d, Visual*v, unsigned int ui1, int i1, int i2, char*cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
+ XImage * (*xGetImage) _ANSI_ARGS_((Display*d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
+ char * (*xGetAtomName) _ANSI_ARGS_((Display*d, Atom a)); /* 4 */
char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
- Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
- Cursor (*xCreatePixmapCursor) _ANSI_ARGS_((Display* d, Pixmap p1, Pixmap p2, XColor* x1, XColor* x2, unsigned int ui1, unsigned int ui2)); /* 7 */
- Cursor (*xCreateGlyphCursor) _ANSI_ARGS_((Display* d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)); /* 8 */
+ Colormap (*xCreateColormap) _ANSI_ARGS_((Display*d, Window w, Visual*v, int i)); /* 6 */
+ Cursor (*xCreatePixmapCursor) _ANSI_ARGS_((Display*d, Pixmap p1, Pixmap p2, XColor*x1, XColor*x2, unsigned int ui1, unsigned int ui2)); /* 7 */
+ Cursor (*xCreateGlyphCursor) _ANSI_ARGS_((Display*d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor*x1, XColor*x2)); /* 8 */
GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 9 */
- XHostAddress * (*xListHosts) _ANSI_ARGS_((Display* d, int* i, Bool* b)); /* 10 */
- KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, unsigned int k, int i)); /* 11 */
- KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 12 */
- Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 13 */
+ XHostAddress * (*xListHosts) _ANSI_ARGS_((Display*d, int*i, Bool*b)); /* 10 */
+ KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display*d, unsigned int k, int i)); /* 11 */
+ KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char*c)); /* 12 */
+ Window (*xRootWindow) _ANSI_ARGS_((Display*d, int i)); /* 13 */
XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 14 */
- Status (*xIconifyWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 15 */
- Status (*xWithdrawWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 16 */
- Status (*xGetWMColormapWindows) _ANSI_ARGS_((Display* d, Window w, Window** wpp, int* ip)); /* 17 */
- Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 18 */
- void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 19 */
- void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 20 */
- void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 21 */
- void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 22 */
- void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 23 */
- void (*xCopyArea) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 24 */
- void (*xCopyPlane) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 25 */
- Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 26 */
- void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 27 */
- void (*xDeleteProperty) _ANSI_ARGS_((Display* d, Window w, Atom a)); /* 28 */
- void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 29 */
- void (*xDrawArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 30 */
- void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 31 */
- void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 32 */
- void (*xFillArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 33 */
- void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 34 */
- void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 35 */
- void (*xForceScreenSaver) _ANSI_ARGS_((Display* d, int i)); /* 36 */
- void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 37 */
- void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 38 */
- void (*xFreeCursor) _ANSI_ARGS_((Display* d, Cursor c)); /* 39 */
- void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 40 */
- Status (*xGetGeometry) _ANSI_ARGS_((Display* d, Drawable dr, Window* w, int* i1, int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, unsigned int* ui4)); /* 41 */
- void (*xGetInputFocus) _ANSI_ARGS_((Display* d, Window* w, int* i)); /* 42 */
- int (*xGetWindowProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, unsigned long* ulp2, unsigned char** cpp)); /* 43 */
- Status (*xGetWindowAttributes) _ANSI_ARGS_((Display* d, Window w, XWindowAttributes* x)); /* 44 */
- int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 45 */
- int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 46 */
- KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 47 */
- Status (*xLookupColor) _ANSI_ARGS_((Display* d, Colormap c1, _Xconst char* c2, XColor* x1, XColor* x2)); /* 48 */
- void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 49 */
- void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 50 */
- void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 51 */
- void (*xNextEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 52 */
- void (*xPutBackEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 53 */
- void (*xQueryColors) _ANSI_ARGS_((Display* d, Colormap c, XColor* x, int i)); /* 54 */
- Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 55 */
- Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 56 */
- void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 57 */
- void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 58 */
- void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 59 */
- void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 60 */
- Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 61 */
- void (*xSetCommand) _ANSI_ARGS_((Display* d, Window w, CONST char** c, int i)); /* 62 */
- void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 63 */
- void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 64 */
- void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 65 */
- void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 66 */
- void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 67 */
- void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 68 */
- void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 69 */
- void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 70 */
- void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 71 */
- Bool (*xTranslateCoordinates) _ANSI_ARGS_((Display* d, Window w1, Window w2, int i1, int i2, int* i3, int* i4, Window* w3)); /* 72 */
- void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 73 */
- void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 74 */
- void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 75 */
- void (*xWindowEvent) _ANSI_ARGS_((Display* d, Window w, long l, XEvent* x)); /* 76 */
+ Status (*xIconifyWindow) _ANSI_ARGS_((Display*d, Window w, int i)); /* 15 */
+ Status (*xWithdrawWindow) _ANSI_ARGS_((Display*d, Window w, int i)); /* 16 */
+ Status (*xGetWMColormapWindows) _ANSI_ARGS_((Display*d, Window w, Window**wpp, int*ip)); /* 17 */
+ Status (*xAllocColor) _ANSI_ARGS_((Display*d, Colormap c, XColor*xp)); /* 18 */
+ void (*xBell) _ANSI_ARGS_((Display*d, int i)); /* 19 */
+ void (*xChangeProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char*c, int i3)); /* 20 */
+ void (*xChangeWindowAttributes) _ANSI_ARGS_((Display*d, Window w, unsigned long ul, XSetWindowAttributes*x)); /* 21 */
+ void (*xClearWindow) _ANSI_ARGS_((Display*d, Window w)); /* 22 */
+ void (*xConfigureWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int i, XWindowChanges*x)); /* 23 */
+ void (*xCopyArea) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 24 */
+ void (*xCopyPlane) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 25 */
+ Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display*display, Drawable d, _Xconst char*data, unsigned int width, unsigned int height)); /* 26 */
+ void (*xDefineCursor) _ANSI_ARGS_((Display*d, Window w, Cursor c)); /* 27 */
+ void (*xDeleteProperty) _ANSI_ARGS_((Display*d, Window w, Atom a)); /* 28 */
+ void (*xDestroyWindow) _ANSI_ARGS_((Display*d, Window w)); /* 29 */
+ void (*xDrawArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 30 */
+ void (*xDrawLines) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2)); /* 31 */
+ void (*xDrawRectangle) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 32 */
+ void (*xFillArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 33 */
+ void (*xFillPolygon) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2, int i3)); /* 34 */
+ void (*xFillRectangles) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XRectangle*x, int i)); /* 35 */
+ void (*xForceScreenSaver) _ANSI_ARGS_((Display*d, int i)); /* 36 */
+ void (*xFreeColormap) _ANSI_ARGS_((Display*d, Colormap c)); /* 37 */
+ void (*xFreeColors) _ANSI_ARGS_((Display*d, Colormap c, unsigned long*ulp, int i, unsigned long ul)); /* 38 */
+ void (*xFreeCursor) _ANSI_ARGS_((Display*d, Cursor c)); /* 39 */
+ void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap*x)); /* 40 */
+ Status (*xGetGeometry) _ANSI_ARGS_((Display*d, Drawable dr, Window*w, int*i1, int*i2, unsigned int*ui1, unsigned int*ui2, unsigned int*ui3, unsigned int*ui4)); /* 41 */
+ void (*xGetInputFocus) _ANSI_ARGS_((Display*d, Window*w, int*i)); /* 42 */
+ int (*xGetWindowProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom*ap, int*ip, unsigned long*ulp1, unsigned long*ulp2, unsigned char**cpp)); /* 43 */
+ Status (*xGetWindowAttributes) _ANSI_ARGS_((Display*d, Window w, XWindowAttributes*x)); /* 44 */
+ int (*xGrabKeyboard) _ANSI_ARGS_((Display*d, Window w, Bool b, int i1, int i2, Time t)); /* 45 */
+ int (*xGrabPointer) _ANSI_ARGS_((Display*d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 46 */
+ KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display*d, KeySym k)); /* 47 */
+ Status (*xLookupColor) _ANSI_ARGS_((Display*d, Colormap c1, _Xconst char*c2, XColor*x1, XColor*x2)); /* 48 */
+ void (*xMapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 49 */
+ void (*xMoveResizeWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 50 */
+ void (*xMoveWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2)); /* 51 */
+ void (*xNextEvent) _ANSI_ARGS_((Display*d, XEvent*x)); /* 52 */
+ void (*xPutBackEvent) _ANSI_ARGS_((Display*d, XEvent*x)); /* 53 */
+ void (*xQueryColors) _ANSI_ARGS_((Display*d, Colormap c, XColor*x, int i)); /* 54 */
+ Bool (*xQueryPointer) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, int*i1, int*i2, int*i3, int*i4, unsigned int*ui)); /* 55 */
+ Status (*xQueryTree) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, Window**w4, unsigned int*ui)); /* 56 */
+ void (*xRaiseWindow) _ANSI_ARGS_((Display*d, Window w)); /* 57 */
+ void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent*x)); /* 58 */
+ void (*xResizeWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int ui1, unsigned int ui2)); /* 59 */
+ void (*xSelectInput) _ANSI_ARGS_((Display*d, Window w, long l)); /* 60 */
+ Status (*xSendEvent) _ANSI_ARGS_((Display*d, Window w, Bool b, long l, XEvent*x)); /* 61 */
+ void (*xSetCommand) _ANSI_ARGS_((Display*d, Window w, CONST char**c, int i)); /* 62 */
+ void (*xSetIconName) _ANSI_ARGS_((Display*d, Window w, _Xconst char*c)); /* 63 */
+ void (*xSetInputFocus) _ANSI_ARGS_((Display*d, Window w, int i, Time t)); /* 64 */
+ void (*xSetSelectionOwner) _ANSI_ARGS_((Display*d, Atom a, Window w, Time t)); /* 65 */
+ void (*xSetWindowBackground) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 66 */
+ void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 67 */
+ void (*xSetWindowBorder) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 68 */
+ void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 69 */
+ void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display*d, Window w, unsigned int ui)); /* 70 */
+ void (*xSetWindowColormap) _ANSI_ARGS_((Display*d, Window w, Colormap c)); /* 71 */
+ Bool (*xTranslateCoordinates) _ANSI_ARGS_((Display*d, Window w1, Window w2, int i1, int i2, int*i3, int*i4, Window*w3)); /* 72 */
+ void (*xUngrabKeyboard) _ANSI_ARGS_((Display*d, Time t)); /* 73 */
+ void (*xUngrabPointer) _ANSI_ARGS_((Display*d, Time t)); /* 74 */
+ void (*xUnmapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 75 */
+ void (*xWindowEvent) _ANSI_ARGS_((Display*d, Window w, long l, XEvent*x)); /* 76 */
void (*xDestroyIC) _ANSI_ARGS_((XIC x)); /* 77 */
- Bool (*xFilterEvent) _ANSI_ARGS_((XEvent* x, Window w)); /* 78 */
- int (*xmbLookupString) _ANSI_ARGS_((XIC xi, XKeyPressedEvent* xk, char* c, int i, KeySym* k, Status* s)); /* 79 */
- void (*tkPutImage) _ANSI_ARGS_((unsigned long * colors, int ncolors, Display* display, Drawable d, GC gc, XImage* image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 80 */
- void *reserved81;
- Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 82 */
- GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 83 */
- void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 84 */
- Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 85 */
- void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 86 */
- void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 87 */
- void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 88 */
- void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 89 */
- void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 90 */
- void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 91 */
- void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 92 */
- void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 93 */
- void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 94 */
- void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 95 */
- void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 96 */
- void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 97 */
- void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 98 */
- int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 99 */
+ Bool (*xFilterEvent) _ANSI_ARGS_((XEvent*x, Window w)); /* 78 */
+ int (*xmbLookupString) _ANSI_ARGS_((XIC xi, XKeyPressedEvent*xk, char*c, int i, KeySym*k, Status*s)); /* 79 */
+ void (*tkPutImage) _ANSI_ARGS_((unsigned long *colors, int ncolors, Display*display, Drawable d, GC gc, XImage*image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 80 */
+ VOID *reserved81;
+ Status (*xParseColor) _ANSI_ARGS_((Display *display, Colormap map, _Xconst char*spec, XColor *colorPtr)); /* 82 */
+ GC (*xCreateGC) _ANSI_ARGS_((Display*display, Drawable d, unsigned long valuemask, XGCValues*values)); /* 83 */
+ void (*xFreeGC) _ANSI_ARGS_((Display*display, GC gc)); /* 84 */
+ Atom (*xInternAtom) _ANSI_ARGS_((Display*display, _Xconst char*atom_name, Bool only_if_exists)); /* 85 */
+ void (*xSetBackground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 86 */
+ void (*xSetForeground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 87 */
+ void (*xSetClipMask) _ANSI_ARGS_((Display*display, GC gc, Pixmap pixmap)); /* 88 */
+ void (*xSetClipOrigin) _ANSI_ARGS_((Display*display, GC gc, int clip_x_origin, int clip_y_origin)); /* 89 */
+ void (*xSetTSOrigin) _ANSI_ARGS_((Display*display, GC gc, int ts_x_origin, int ts_y_origin)); /* 90 */
+ void (*xChangeGC) _ANSI_ARGS_((Display *d, GC gc, unsigned long mask, XGCValues *values)); /* 91 */
+ void (*xSetFont) _ANSI_ARGS_((Display *display, GC gc, Font font)); /* 92 */
+ void (*xSetArcMode) _ANSI_ARGS_((Display *display, GC gc, int arc_mode)); /* 93 */
+ void (*xSetStipple) _ANSI_ARGS_((Display *display, GC gc, Pixmap stipple)); /* 94 */
+ void (*xSetFillRule) _ANSI_ARGS_((Display *display, GC gc, int fill_rule)); /* 95 */
+ void (*xSetFillStyle) _ANSI_ARGS_((Display *display, GC gc, int fill_style)); /* 96 */
+ void (*xSetFunction) _ANSI_ARGS_((Display *display, GC gc, int function)); /* 97 */
+ void (*xSetLineAttributes) _ANSI_ARGS_((Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 98 */
+ int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage *image)); /* 99 */
XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 100 */
- XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 101 */
- void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 102 */
- Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 103 */
- void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 104 */
- void (*xWarpPointer) _ANSI_ARGS_((Display* d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy)); /* 105 */
- void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 106 */
+ XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display*display, long vinfo_mask, XVisualInfo*vinfo_template, int*nitems_return)); /* 101 */
+ void (*xSetWMClientMachine) _ANSI_ARGS_((Display*display, Window w, XTextProperty*text_prop)); /* 102 */
+ Status (*xStringListToTextProperty) _ANSI_ARGS_((char**list, int count, XTextProperty*text_prop_return)); /* 103 */
+ void (*xDrawLine) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 104 */
+ void (*xWarpPointer) _ANSI_ARGS_((Display*d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy)); /* 105 */
+ void (*xFillRectangle) _ANSI_ARGS_((Display*display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 106 */
#endif /* __WIN32__ */
#ifdef MAC_TCL
- void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
- XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
- XImage * (*xCreateImage) _ANSI_ARGS_((Display* d, Visual* v, unsigned int ui1, int i1, int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
- XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
- char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
+ void (*xSetDashes) _ANSI_ARGS_((Display*display, GC gc, int dash_offset, _Xconst char*dash_list, int n)); /* 0 */
+ XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display*d)); /* 1 */
+ XImage * (*xCreateImage) _ANSI_ARGS_((Display*d, Visual*v, unsigned int ui1, int i1, int i2, char*cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
+ XImage * (*xGetImage) _ANSI_ARGS_((Display*d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
+ char * (*xGetAtomName) _ANSI_ARGS_((Display*d, Atom a)); /* 4 */
char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
- Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
+ Colormap (*xCreateColormap) _ANSI_ARGS_((Display*d, Window w, Visual*v, int i)); /* 6 */
GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 7 */
- KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, KeyCode k, int i)); /* 8 */
- KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 9 */
- Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 10 */
+ KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display*d, KeyCode k, int i)); /* 8 */
+ KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char*c)); /* 9 */
+ Window (*xRootWindow) _ANSI_ARGS_((Display*d, int i)); /* 10 */
XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 11 */
- Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 12 */
- void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 13 */
- void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 14 */
- void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 15 */
- void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 16 */
- void (*xCopyArea) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 17 */
- void (*xCopyPlane) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 18 */
- Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 19 */
- void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 20 */
- void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 21 */
- void (*xDrawArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 22 */
- void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 23 */
- void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
- void (*xFillArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 25 */
- void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 26 */
- void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 27 */
- void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 28 */
- void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 29 */
- void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 30 */
- Status (*xGetGeometry) _ANSI_ARGS_((Display* d, Drawable dr, Window* w, int* i1, int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, unsigned int* ui4)); /* 31 */
- int (*xGetWindowProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, unsigned long* ulp2, unsigned char** cpp)); /* 32 */
- int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
- int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
- KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 35 */
- void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 36 */
- void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
- void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 38 */
- Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 39 */
- void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 40 */
- void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 41 */
- void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
- void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 43 */
- Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 44 */
- void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 45 */
- void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 46 */
- void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 47 */
- void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 48 */
- void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 49 */
- void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 50 */
- void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 51 */
- void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 52 */
- void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 53 */
- void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 54 */
- void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 55 */
- void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 56 */
- void (*tkPutImage) _ANSI_ARGS_((unsigned long * colors, int ncolors, Display* display, Drawable d, GC gc, XImage* image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 57 */
- Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 58 */
- GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 59 */
- void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 60 */
- Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 61 */
- void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 62 */
- void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 63 */
- void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 64 */
- void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
- void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
- void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 67 */
- void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 68 */
- void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 69 */
- void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 70 */
- void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 71 */
- void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 72 */
- void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 73 */
- void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
- int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 75 */
+ Status (*xAllocColor) _ANSI_ARGS_((Display*d, Colormap c, XColor*xp)); /* 12 */
+ void (*xBell) _ANSI_ARGS_((Display*d, int i)); /* 13 */
+ void (*xChangeProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char*c, int i3)); /* 14 */
+ void (*xChangeWindowAttributes) _ANSI_ARGS_((Display*d, Window w, unsigned long ul, XSetWindowAttributes*x)); /* 15 */
+ void (*xConfigureWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int i, XWindowChanges*x)); /* 16 */
+ void (*xCopyArea) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 17 */
+ void (*xCopyPlane) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 18 */
+ Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display*display, Drawable d, _Xconst char*data, unsigned int width, unsigned int height)); /* 19 */
+ void (*xDefineCursor) _ANSI_ARGS_((Display*d, Window w, Cursor c)); /* 20 */
+ void (*xDestroyWindow) _ANSI_ARGS_((Display*d, Window w)); /* 21 */
+ void (*xDrawArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 22 */
+ void (*xDrawLines) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2)); /* 23 */
+ void (*xDrawRectangle) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
+ void (*xFillArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 25 */
+ void (*xFillPolygon) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2, int i3)); /* 26 */
+ void (*xFillRectangles) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XRectangle*x, int i)); /* 27 */
+ void (*xFreeColormap) _ANSI_ARGS_((Display*d, Colormap c)); /* 28 */
+ void (*xFreeColors) _ANSI_ARGS_((Display*d, Colormap c, unsigned long*ulp, int i, unsigned long ul)); /* 29 */
+ void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap*x)); /* 30 */
+ Status (*xGetGeometry) _ANSI_ARGS_((Display*d, Drawable dr, Window*w, int*i1, int*i2, unsigned int*ui1, unsigned int*ui2, unsigned int*ui3, unsigned int*ui4)); /* 31 */
+ int (*xGetWindowProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom*ap, int*ip, unsigned long*ulp1, unsigned long*ulp2, unsigned char**cpp)); /* 32 */
+ int (*xGrabKeyboard) _ANSI_ARGS_((Display*d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
+ int (*xGrabPointer) _ANSI_ARGS_((Display*d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
+ KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display*d, KeySym k)); /* 35 */
+ void (*xMapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 36 */
+ void (*xMoveResizeWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
+ void (*xMoveWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2)); /* 38 */
+ Bool (*xQueryPointer) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, int*i1, int*i2, int*i3, int*i4, unsigned int*ui)); /* 39 */
+ void (*xRaiseWindow) _ANSI_ARGS_((Display*d, Window w)); /* 40 */
+ void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent*x)); /* 41 */
+ void (*xResizeWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
+ void (*xSelectInput) _ANSI_ARGS_((Display*d, Window w, long l)); /* 43 */
+ Status (*xSendEvent) _ANSI_ARGS_((Display*d, Window w, Bool b, long l, XEvent*x)); /* 44 */
+ void (*xSetIconName) _ANSI_ARGS_((Display*d, Window w, _Xconst char*c)); /* 45 */
+ void (*xSetInputFocus) _ANSI_ARGS_((Display*d, Window w, int i, Time t)); /* 46 */
+ void (*xSetSelectionOwner) _ANSI_ARGS_((Display*d, Atom a, Window w, Time t)); /* 47 */
+ void (*xSetWindowBackground) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 48 */
+ void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 49 */
+ void (*xSetWindowBorder) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 50 */
+ void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 51 */
+ void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display*d, Window w, unsigned int ui)); /* 52 */
+ void (*xSetWindowColormap) _ANSI_ARGS_((Display*d, Window w, Colormap c)); /* 53 */
+ void (*xUngrabKeyboard) _ANSI_ARGS_((Display*d, Time t)); /* 54 */
+ void (*xUngrabPointer) _ANSI_ARGS_((Display*d, Time t)); /* 55 */
+ void (*xUnmapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 56 */
+ void (*tkPutImage) _ANSI_ARGS_((unsigned long *colors, int ncolors, Display*display, Drawable d, GC gc, XImage*image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 57 */
+ Status (*xParseColor) _ANSI_ARGS_((Display *display, Colormap map, _Xconst char*spec, XColor *colorPtr)); /* 58 */
+ GC (*xCreateGC) _ANSI_ARGS_((Display*display, Drawable d, unsigned long valuemask, XGCValues*values)); /* 59 */
+ void (*xFreeGC) _ANSI_ARGS_((Display*display, GC gc)); /* 60 */
+ Atom (*xInternAtom) _ANSI_ARGS_((Display*display, _Xconst char*atom_name, Bool only_if_exists)); /* 61 */
+ void (*xSetBackground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 62 */
+ void (*xSetForeground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 63 */
+ void (*xSetClipMask) _ANSI_ARGS_((Display*display, GC gc, Pixmap pixmap)); /* 64 */
+ void (*xSetClipOrigin) _ANSI_ARGS_((Display*display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
+ void (*xSetTSOrigin) _ANSI_ARGS_((Display*display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
+ void (*xChangeGC) _ANSI_ARGS_((Display *d, GC gc, unsigned long mask, XGCValues *values)); /* 67 */
+ void (*xSetFont) _ANSI_ARGS_((Display *display, GC gc, Font font)); /* 68 */
+ void (*xSetArcMode) _ANSI_ARGS_((Display *display, GC gc, int arc_mode)); /* 69 */
+ void (*xSetStipple) _ANSI_ARGS_((Display *display, GC gc, Pixmap stipple)); /* 70 */
+ void (*xSetFillRule) _ANSI_ARGS_((Display *display, GC gc, int fill_rule)); /* 71 */
+ void (*xSetFillStyle) _ANSI_ARGS_((Display *display, GC gc, int fill_style)); /* 72 */
+ void (*xSetFunction) _ANSI_ARGS_((Display *display, GC gc, int function)); /* 73 */
+ void (*xSetLineAttributes) _ANSI_ARGS_((Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
+ int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage *image)); /* 75 */
XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 76 */
- XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 77 */
- void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 78 */
- Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 79 */
- void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */
- void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */
- void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
- void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
- void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 84 */
- void (*xDrawPoint) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y)); /* 85 */
- void (*xDrawPoints) _ANSI_ARGS_((Display* display, Drawable d, GC gc, XPoint * points, int npoints, int mode)); /* 86 */
- void (*xWarpPointer) _ANSI_ARGS_((Display* display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y)); /* 87 */
- void (*xQueryColor) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * def_in_out)); /* 88 */
- void (*xQueryColors) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * defs_in_out, int ncolors)); /* 89 */
- Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 90 */
+ XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display*display, long vinfo_mask, XVisualInfo*vinfo_template, int*nitems_return)); /* 77 */
+ void (*xSetWMClientMachine) _ANSI_ARGS_((Display*display, Window w, XTextProperty*text_prop)); /* 78 */
+ Status (*xStringListToTextProperty) _ANSI_ARGS_((char**list, int count, XTextProperty*text_prop_return)); /* 79 */
+ void (*xDrawSegments) _ANSI_ARGS_((Display *display, Drawable d, GC gc, XSegment *segments, int nsegments)); /* 80 */
+ void (*xForceScreenSaver) _ANSI_ARGS_((Display*display, int mode)); /* 81 */
+ void (*xDrawLine) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
+ void (*xFillRectangle) _ANSI_ARGS_((Display*display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
+ void (*xClearWindow) _ANSI_ARGS_((Display*d, Window w)); /* 84 */
+ void (*xDrawPoint) _ANSI_ARGS_((Display*display, Drawable d, GC gc, int x, int y)); /* 85 */
+ void (*xDrawPoints) _ANSI_ARGS_((Display*display, Drawable d, GC gc, XPoint *points, int npoints, int mode)); /* 86 */
+ void (*xWarpPointer) _ANSI_ARGS_((Display*display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y)); /* 87 */
+ void (*xQueryColor) _ANSI_ARGS_((Display *display, Colormap colormap, XColor *def_in_out)); /* 88 */
+ void (*xQueryColors) _ANSI_ARGS_((Display *display, Colormap colormap, XColor *defs_in_out, int ncolors)); /* 89 */
+ Status (*xQueryTree) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, Window**w4, unsigned int*ui)); /* 90 */
#endif /* MAC_TCL */
#ifdef MAC_OSX_TK
- void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
- XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
- XImage * (*xCreateImage) _ANSI_ARGS_((Display* d, Visual* v, unsigned int ui1, int i1, int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
- XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
- char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
+ void (*xSetDashes) _ANSI_ARGS_((Display*display, GC gc, int dash_offset, _Xconst char*dash_list, int n)); /* 0 */
+ XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display*d)); /* 1 */
+ XImage * (*xCreateImage) _ANSI_ARGS_((Display*d, Visual*v, unsigned int ui1, int i1, int i2, char*cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
+ XImage * (*xGetImage) _ANSI_ARGS_((Display*d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
+ char * (*xGetAtomName) _ANSI_ARGS_((Display*d, Atom a)); /* 4 */
char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
- Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
+ Colormap (*xCreateColormap) _ANSI_ARGS_((Display*d, Window w, Visual*v, int i)); /* 6 */
GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 7 */
- KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, KeyCode k, int i)); /* 8 */
- KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 9 */
- Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 10 */
+ KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display*d, KeyCode k, int i)); /* 8 */
+ KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char*c)); /* 9 */
+ Window (*xRootWindow) _ANSI_ARGS_((Display*d, int i)); /* 10 */
XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 11 */
- Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 12 */
- void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 13 */
- void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 14 */
- void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 15 */
- void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 16 */
- void (*xCopyArea) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 17 */
- void (*xCopyPlane) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 18 */
- Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 19 */
- void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 20 */
- void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 21 */
- void (*xDrawArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 22 */
- void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 23 */
- void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
- void (*xFillArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 25 */
- void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 26 */
- void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 27 */
- void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 28 */
- void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 29 */
- void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 30 */
- Status (*xGetGeometry) _ANSI_ARGS_((Display* d, Drawable dr, Window* w, int* i1, int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, unsigned int* ui4)); /* 31 */
- int (*xGetWindowProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, unsigned long* ulp2, unsigned char** cpp)); /* 32 */
- int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
- int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
- KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 35 */
- void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 36 */
- void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
- void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 38 */
- Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 39 */
- void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 40 */
- void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 41 */
- void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
- void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 43 */
- Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 44 */
- void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 45 */
- void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 46 */
- void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 47 */
- void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 48 */
- void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 49 */
- void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 50 */
- void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 51 */
- void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 52 */
- void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 53 */
- void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 54 */
- void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 55 */
- void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 56 */
- void (*tkPutImage) _ANSI_ARGS_((unsigned long * colors, int ncolors, Display* display, Drawable d, GC gc, XImage* image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 57 */
- Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 58 */
- GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 59 */
- void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 60 */
- Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 61 */
- void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 62 */
- void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 63 */
- void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 64 */
- void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
- void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
- void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 67 */
- void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 68 */
- void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 69 */
- void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 70 */
- void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 71 */
- void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 72 */
- void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 73 */
- void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
- int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 75 */
+ Status (*xAllocColor) _ANSI_ARGS_((Display*d, Colormap c, XColor*xp)); /* 12 */
+ void (*xBell) _ANSI_ARGS_((Display*d, int i)); /* 13 */
+ void (*xChangeProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char*c, int i3)); /* 14 */
+ void (*xChangeWindowAttributes) _ANSI_ARGS_((Display*d, Window w, unsigned long ul, XSetWindowAttributes*x)); /* 15 */
+ void (*xConfigureWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int i, XWindowChanges*x)); /* 16 */
+ void (*xCopyArea) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 17 */
+ void (*xCopyPlane) _ANSI_ARGS_((Display*d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul)); /* 18 */
+ Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display*display, Drawable d, _Xconst char*data, unsigned int width, unsigned int height)); /* 19 */
+ void (*xDefineCursor) _ANSI_ARGS_((Display*d, Window w, Cursor c)); /* 20 */
+ void (*xDestroyWindow) _ANSI_ARGS_((Display*d, Window w)); /* 21 */
+ void (*xDrawArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 22 */
+ void (*xDrawLines) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2)); /* 23 */
+ void (*xDrawRectangle) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
+ void (*xFillArc) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 25 */
+ void (*xFillPolygon) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XPoint*x, int i1, int i2, int i3)); /* 26 */
+ void (*xFillRectangles) _ANSI_ARGS_((Display*d, Drawable dr, GC g, XRectangle*x, int i)); /* 27 */
+ void (*xFreeColormap) _ANSI_ARGS_((Display*d, Colormap c)); /* 28 */
+ void (*xFreeColors) _ANSI_ARGS_((Display*d, Colormap c, unsigned long*ulp, int i, unsigned long ul)); /* 29 */
+ void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap*x)); /* 30 */
+ Status (*xGetGeometry) _ANSI_ARGS_((Display*d, Drawable dr, Window*w, int*i1, int*i2, unsigned int*ui1, unsigned int*ui2, unsigned int*ui3, unsigned int*ui4)); /* 31 */
+ int (*xGetWindowProperty) _ANSI_ARGS_((Display*d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom*ap, int*ip, unsigned long*ulp1, unsigned long*ulp2, unsigned char**cpp)); /* 32 */
+ int (*xGrabKeyboard) _ANSI_ARGS_((Display*d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
+ int (*xGrabPointer) _ANSI_ARGS_((Display*d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
+ KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display*d, KeySym k)); /* 35 */
+ void (*xMapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 36 */
+ void (*xMoveResizeWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
+ void (*xMoveWindow) _ANSI_ARGS_((Display*d, Window w, int i1, int i2)); /* 38 */
+ Bool (*xQueryPointer) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, int*i1, int*i2, int*i3, int*i4, unsigned int*ui)); /* 39 */
+ void (*xRaiseWindow) _ANSI_ARGS_((Display*d, Window w)); /* 40 */
+ void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent*x)); /* 41 */
+ void (*xResizeWindow) _ANSI_ARGS_((Display*d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
+ void (*xSelectInput) _ANSI_ARGS_((Display*d, Window w, long l)); /* 43 */
+ Status (*xSendEvent) _ANSI_ARGS_((Display*d, Window w, Bool b, long l, XEvent*x)); /* 44 */
+ void (*xSetIconName) _ANSI_ARGS_((Display*d, Window w, _Xconst char*c)); /* 45 */
+ void (*xSetInputFocus) _ANSI_ARGS_((Display*d, Window w, int i, Time t)); /* 46 */
+ void (*xSetSelectionOwner) _ANSI_ARGS_((Display*d, Atom a, Window w, Time t)); /* 47 */
+ void (*xSetWindowBackground) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 48 */
+ void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 49 */
+ void (*xSetWindowBorder) _ANSI_ARGS_((Display*d, Window w, unsigned long ul)); /* 50 */
+ void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display*d, Window w, Pixmap p)); /* 51 */
+ void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display*d, Window w, unsigned int ui)); /* 52 */
+ void (*xSetWindowColormap) _ANSI_ARGS_((Display*d, Window w, Colormap c)); /* 53 */
+ void (*xUngrabKeyboard) _ANSI_ARGS_((Display*d, Time t)); /* 54 */
+ void (*xUngrabPointer) _ANSI_ARGS_((Display*d, Time t)); /* 55 */
+ void (*xUnmapWindow) _ANSI_ARGS_((Display*d, Window w)); /* 56 */
+ void (*tkPutImage) _ANSI_ARGS_((unsigned long *colors, int ncolors, Display*display, Drawable d, GC gc, XImage*image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height)); /* 57 */
+ Status (*xParseColor) _ANSI_ARGS_((Display *display, Colormap map, _Xconst char*spec, XColor *colorPtr)); /* 58 */
+ GC (*xCreateGC) _ANSI_ARGS_((Display*display, Drawable d, unsigned long valuemask, XGCValues*values)); /* 59 */
+ void (*xFreeGC) _ANSI_ARGS_((Display*display, GC gc)); /* 60 */
+ Atom (*xInternAtom) _ANSI_ARGS_((Display*display, _Xconst char*atom_name, Bool only_if_exists)); /* 61 */
+ void (*xSetBackground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 62 */
+ void (*xSetForeground) _ANSI_ARGS_((Display*display, GC gc, unsigned long foreground)); /* 63 */
+ void (*xSetClipMask) _ANSI_ARGS_((Display*display, GC gc, Pixmap pixmap)); /* 64 */
+ void (*xSetClipOrigin) _ANSI_ARGS_((Display*display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
+ void (*xSetTSOrigin) _ANSI_ARGS_((Display*display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
+ void (*xChangeGC) _ANSI_ARGS_((Display *d, GC gc, unsigned long mask, XGCValues *values)); /* 67 */
+ void (*xSetFont) _ANSI_ARGS_((Display *display, GC gc, Font font)); /* 68 */
+ void (*xSetArcMode) _ANSI_ARGS_((Display *display, GC gc, int arc_mode)); /* 69 */
+ void (*xSetStipple) _ANSI_ARGS_((Display *display, GC gc, Pixmap stipple)); /* 70 */
+ void (*xSetFillRule) _ANSI_ARGS_((Display *display, GC gc, int fill_rule)); /* 71 */
+ void (*xSetFillStyle) _ANSI_ARGS_((Display *display, GC gc, int fill_style)); /* 72 */
+ void (*xSetFunction) _ANSI_ARGS_((Display *display, GC gc, int function)); /* 73 */
+ void (*xSetLineAttributes) _ANSI_ARGS_((Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
+ int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage *image)); /* 75 */
XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 76 */
- XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 77 */
- void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 78 */
- Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 79 */
- void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */
- void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */
- void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
- void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
- void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 84 */
- void (*xDrawPoint) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y)); /* 85 */
- void (*xDrawPoints) _ANSI_ARGS_((Display* display, Drawable d, GC gc, XPoint * points, int npoints, int mode)); /* 86 */
- void (*xWarpPointer) _ANSI_ARGS_((Display* display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y)); /* 87 */
- void (*xQueryColor) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * def_in_out)); /* 88 */
- void (*xQueryColors) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * defs_in_out, int ncolors)); /* 89 */
- Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 90 */
- int (*xSync) _ANSI_ARGS_((Display * display, Bool flag)); /* 91 */
+ XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display*display, long vinfo_mask, XVisualInfo*vinfo_template, int*nitems_return)); /* 77 */
+ void (*xSetWMClientMachine) _ANSI_ARGS_((Display*display, Window w, XTextProperty*text_prop)); /* 78 */
+ Status (*xStringListToTextProperty) _ANSI_ARGS_((char**list, int count, XTextProperty*text_prop_return)); /* 79 */
+ void (*xDrawSegments) _ANSI_ARGS_((Display *display, Drawable d, GC gc, XSegment *segments, int nsegments)); /* 80 */
+ void (*xForceScreenSaver) _ANSI_ARGS_((Display*display, int mode)); /* 81 */
+ void (*xDrawLine) _ANSI_ARGS_((Display*d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
+ void (*xFillRectangle) _ANSI_ARGS_((Display*display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
+ void (*xClearWindow) _ANSI_ARGS_((Display*d, Window w)); /* 84 */
+ void (*xDrawPoint) _ANSI_ARGS_((Display*display, Drawable d, GC gc, int x, int y)); /* 85 */
+ void (*xDrawPoints) _ANSI_ARGS_((Display*display, Drawable d, GC gc, XPoint *points, int npoints, int mode)); /* 86 */
+ void (*xWarpPointer) _ANSI_ARGS_((Display*display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y)); /* 87 */
+ void (*xQueryColor) _ANSI_ARGS_((Display *display, Colormap colormap, XColor *def_in_out)); /* 88 */
+ void (*xQueryColors) _ANSI_ARGS_((Display *display, Colormap colormap, XColor *defs_in_out, int ncolors)); /* 89 */
+ Status (*xQueryTree) _ANSI_ARGS_((Display*d, Window w1, Window*w2, Window*w3, Window**w4, unsigned int*ui)); /* 90 */
+ int (*xSync) _ANSI_ARGS_((Display *display, Bool flag)); /* 91 */
#endif /* MAC_OSX_TK */
} TkIntXlibStubs;
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index f38f93b..ecc5919 100644
--- a/generic/tkPlatDecls.h
+++ b/generic/tkPlatDecls.h
@@ -31,7 +31,7 @@
#ifdef __WIN32__
/* 0 */
-EXTERN Window Tk_AttachHWND _ANSI_ARGS_((Tk_Window tkwin,
+EXTERN Window Tk_AttachHWND _ANSI_ARGS_((Tk_Window tkwin,
HWND hwnd));
/* 1 */
EXTERN HINSTANCE Tk_GetHINSTANCE _ANSI_ARGS_((void));
@@ -42,39 +42,37 @@ EXTERN Tk_Window Tk_HWNDToWindow _ANSI_ARGS_((HWND hwnd));
/* 4 */
EXTERN void Tk_PointerEvent _ANSI_ARGS_((HWND hwnd, int x, int y));
/* 5 */
-EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd,
- UINT message, WPARAM wParam, LPARAM lParam,
- LRESULT * result));
+EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd,
+ UINT message, WPARAM wParam, LPARAM lParam,
+ LRESULT *result));
#endif /* __WIN32__ */
#ifdef MAC_TCL
/* 0 */
EXTERN void Tk_MacSetEmbedHandler _ANSI_ARGS_((
- Tk_MacEmbedRegisterWinProc * registerWinProcPtr,
- Tk_MacEmbedGetGrafPortProc * getPortProcPtr,
- Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr,
- Tk_MacEmbedGetClipProc * getClipProc,
- Tk_MacEmbedGetOffsetInParentProc * getOffsetProc));
+ Tk_MacEmbedRegisterWinProc *registerWinProcPtr,
+ Tk_MacEmbedGetGrafPortProc *getPortProcPtr,
+ Tk_MacEmbedMakeContainerExistProc *containerExistProcPtr,
+ Tk_MacEmbedGetClipProc *getClipProc,
+ Tk_MacEmbedGetOffsetInParentProc *getOffsetProc));
/* 1 */
EXTERN void Tk_MacTurnOffMenus _ANSI_ARGS_((void));
/* 2 */
EXTERN void Tk_MacTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt));
/* 3 */
-EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp));
+EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp *interp));
/* 4 */
-EXTERN void TkMacInitAppleEvents _ANSI_ARGS_((
- Tcl_Interp * interp));
+EXTERN void TkMacInitAppleEvents _ANSI_ARGS_((Tcl_Interp *interp));
/* 5 */
-EXTERN int TkMacConvertEvent _ANSI_ARGS_((
- EventRecord * eventPtr));
+EXTERN int TkMacConvertEvent _ANSI_ARGS_((EventRecord *eventPtr));
/* 6 */
EXTERN int TkMacConvertTkEvent _ANSI_ARGS_((
- EventRecord * eventPtr, Window window));
+ EventRecord *eventPtr, Window window));
/* 7 */
-EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
- int x, int y, int width, int height,
+EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
+ int x, int y, int width, int height,
int flags));
/* 8 */
-EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr));
+EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow *winPtr));
/* 9 */
EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void));
/* 10 */
@@ -83,23 +81,23 @@ EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable));
#ifdef MAC_OSX_TK
/* 0 */
EXTERN void Tk_MacOSXSetEmbedHandler _ANSI_ARGS_((
- Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr,
- Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr,
- Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr,
- Tk_MacOSXEmbedGetClipProc * getClipProc,
- Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc));
+ Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr,
+ Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr,
+ Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr,
+ Tk_MacOSXEmbedGetClipProc *getClipProc,
+ Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc));
/* 1 */
EXTERN void Tk_MacOSXTurnOffMenus _ANSI_ARGS_((void));
/* 2 */
EXTERN void Tk_MacOSXTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt));
/* 3 */
-EXTERN void TkMacOSXInitMenus _ANSI_ARGS_((Tcl_Interp * interp));
+EXTERN void TkMacOSXInitMenus _ANSI_ARGS_((Tcl_Interp *interp));
/* 4 */
EXTERN void TkMacOSXInitAppleEvents _ANSI_ARGS_((
- Tcl_Interp * interp));
+ Tcl_Interp *interp));
/* 5 */
-EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
- int x, int y, int width, int height,
+EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin,
+ int x, int y, int width, int height,
int flags));
/* 6 */
EXTERN void TkMacOSXInvalClipRgns _ANSI_ARGS_((Tk_Window tkwin));
@@ -125,27 +123,27 @@ typedef struct TkPlatStubs {
HWND (*tk_GetHWND) _ANSI_ARGS_((Window window)); /* 2 */
Tk_Window (*tk_HWNDToWindow) _ANSI_ARGS_((HWND hwnd)); /* 3 */
void (*tk_PointerEvent) _ANSI_ARGS_((HWND hwnd, int x, int y)); /* 4 */
- int (*tk_TranslateWinEvent) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result)); /* 5 */
+ int (*tk_TranslateWinEvent) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result)); /* 5 */
#endif /* __WIN32__ */
#ifdef MAC_TCL
- void (*tk_MacSetEmbedHandler) _ANSI_ARGS_((Tk_MacEmbedRegisterWinProc * registerWinProcPtr, Tk_MacEmbedGetGrafPortProc * getPortProcPtr, Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacEmbedGetClipProc * getClipProc, Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */
+ void (*tk_MacSetEmbedHandler) _ANSI_ARGS_((Tk_MacEmbedRegisterWinProc *registerWinProcPtr, Tk_MacEmbedGetGrafPortProc *getPortProcPtr, Tk_MacEmbedMakeContainerExistProc *containerExistProcPtr, Tk_MacEmbedGetClipProc *getClipProc, Tk_MacEmbedGetOffsetInParentProc *getOffsetProc)); /* 0 */
void (*tk_MacTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */
void (*tk_MacTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */
- void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */
- void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */
- int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 5 */
- int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 6 */
+ void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp *interp)); /* 3 */
+ void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp *interp)); /* 4 */
+ int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord *eventPtr)); /* 5 */
+ int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord *eventPtr, Window window)); /* 6 */
void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 7 */
- void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 8 */
+ void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow *winPtr)); /* 8 */
int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 9 */
GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 10 */
#endif /* MAC_TCL */
#ifdef MAC_OSX_TK
- void (*tk_MacOSXSetEmbedHandler) _ANSI_ARGS_((Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacOSXEmbedGetClipProc * getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */
+ void (*tk_MacOSXSetEmbedHandler) _ANSI_ARGS_((Tk_MacOSXEmbedRegisterWinProc *registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc *getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc *containerExistProcPtr, Tk_MacOSXEmbedGetClipProc *getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc)); /* 0 */
void (*tk_MacOSXTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */
void (*tk_MacOSXTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */
- void (*tkMacOSXInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */
- void (*tkMacOSXInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */
+ void (*tkMacOSXInitMenus) _ANSI_ARGS_((Tcl_Interp *interp)); /* 3 */
+ void (*tkMacOSXInitAppleEvents) _ANSI_ARGS_((Tcl_Interp *interp)); /* 4 */
void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 5 */
void (*tkMacOSXInvalClipRgns) _ANSI_ARGS_((Tk_Window tkwin)); /* 6 */
GWorldPtr (*tkMacOSXGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 7 */