head	1.67;
access;
symbols
	core-8-5-9:1.44.2.5
	core-8-5-8:1.44.2.2
	macosx-cocoa-merge:1.57
	macosx-cocoa-premerge:1.56
	macosx-carbon-freeze:1.55
	core-8-5-7:1.44
	core-8-5-6:1.44
	core-8-6-b1:1.51
	core-8-6-a3:1.45
	core-8-5-5:1.44
	core-8-6-a2:1.45
	core-8-5-4:1.44
	core-8-5-3:1.44
	core-8-6-a1:1.44
	core-8-4-19:1.33.2.6
	core-8-5-branch:1.44.0.2
	core-8-5-2:1.44
	core-8-4-18:1.33.2.6
	core-8-5-1:1.44
	core-8-4-17:1.33.2.6
	core-8-5-0:1.44
	core-8-5-b3:1.42
	core-8-5-b2:1.42
	core-8-4-16:1.33.2.6
	core-8-5-b1:1.42
	core-stablilizer-merge:1.42
	core-stabilizer-branch:1.42.0.2
	core-stabilizer-merge:1.44
	core-8-4-15:1.33.2.6
	core-8-5-a6:1.42
	core-8-5-a5:1.42
	core-8-4-14:1.33.2.6
	core-8-5-a4:1.42
	core-8-4-13:1.33.2.6
	core-8-4-12:1.33.2.6
	core-8-4-11:1.33.2.3
	core-8-5-a3:1.38
	core-8-4-10:1.33.2.3
	core-8-4-9-branch:1.33.2.3.0.2
	core-8-5-a2:1.38
	core-8-4-9:1.33.2.3
	core-8-4-8:1.33.2.3
	core-8-4-7:1.33.2.1
	core-8-5-a1:1.34
	core-8-4-6:1.33.2.1
	core-8-4-5:1.33.2.1
	mistachkin-dev-branch:1.33.0.4
	core-8-4-4:1.33
	core-8-4-3:1.33
	core-8-4-branch:1.33.0.2
	core-8-4-2:1.33
	core-8-4-1:1.31
	core-8-3-5:1.17.2.2
	core-8-4-0:1.30
	macosx-8-4-merge-2002-08-31-trunk:1.30
	macosx-8-4-premerge-2002-08-31-branch:1.21.2.6
	macosx-8-4-premerge-2002-08-31-trunk:1.29
	macosx-8-4-merge-2002-08-30-branch:1.21.2.5
	macosx-8-4-merge-2002-08-30-trunk:1.29
	macosx-8-4-merge-2002-08-20-branch:1.21.2.5
	macosx-8-4-merge-2002-08-20-trunk:1.29
	core-8-4-b2:1.29
	core-8-4-b1:1.28
	macosx-premerge-6-9-02:1.21.2.3
	core-8-4-a4:1.24
	core-8-3-4:1.17.2.2
	macosx-8-4-branch:1.21.0.2
	macosx-8-4-branchpoint:1.21
	core-8-4-a3:1.19
	core-8-3-3:1.17.2.1
	dgp-privates-into-namespace:1.19.0.2
	tclpro-1-5-0:1.17
	core-8-4-win-speedup:1.17.0.4
	core-8-4-a2:1.17
	tclpro-1-4-1:1.17
	tclpro-1-4-0:1.17
	core-8-3-2:1.17
	ajuba-ajuba2-2-1-base:1.17
	ajuba-ajuba2-2-0:1.17
	core-8-4-a1:1.17
	core-8-3-1-branch:1.17.0.2
	core-8-3-1:1.17
	scriptics-sc-2-0-b5:1.16
	scriptics-sc-2-0-fixed:1.16
	scriptics-sc-2-0-b2:1.16
	scriptics-sc-2-0-b1:1.16
	core-8-3-0:1.16
	core-8-3-b2:1.14
	core-8-3-b1:1.13
	scriptics-sc-1-1:1.11
	scriptics-sc-1-1-b1:1.11
	core-8-2-3:1.11
	scriptics-sc-1-1-branch:1.11.0.8
	scriptics-sc-1-1-base:1.11
	scriptics-sc-1-0:1.11
	scriptics-sc-1-0-branch:1.11.0.6
	scriptics-sc-1-0-base:1.11
	core-8-2-2:1.11
	core-8-2-1:1.11
	scriptics-bc-1-0-b1:1.11
	core-8-2-1-branch:1.11.0.4
	scriptics-tclpro-1-3-0:1.11
	core-8-2-0:1.11
	core-8-2-b3-branch:1.11.0.2
	core-8-2-b3-base:1.11
	scriptics-tclpro-1-3-b4:1.9
	core-8-2-b2:1.9
	scriptics-tclpro-1-3-b3:1.8
	core-8-2-b1:1.8
	scriptics-tclpro-1-3-b2:1.6
	merge-to-mainline-5/21/99:1.6
	scriptics-tclpro-1-3-b2-branch:1.6.0.2
	core-8-1-1:1.6
	scriptics-tclpro-1-3-b1:1.6
	core-8-1-1-base:1.6
	core-8-1-0:1.5.4.2
	merge-to-mainline-4-29-99:1.5.4.2
	merge-to-mainline-4-23-99:1.5.4.2
	core-8-1-branch-old:1.2.0.2
	core-8-0-6-branch:1.4.0.2
	core-8-0-6-base:1.4
	core-8-1-b3:1.2.2.5
	core-8-1-b2:1.2.2.3
	dev-8-1-stubs-branch:1.1.0.4
	dev-stubs-branch:1.1.0.2;
locks; strict;
comment	@# @;


1.67
date	2010.12.02.13.36.45;	author dkf;	state Exp;
branches;
next	1.66;

1.66
date	2010.12.02.11.38.29;	author dkf;	state Exp;
branches;
next	1.65;

1.65
date	2010.09.28.10.42.05;	author nijtmans;	state Exp;
branches;
next	1.64;

1.64
date	2010.09.20.21.18.22;	author nijtmans;	state Exp;
branches;
next	1.63;

1.63
date	2010.06.21.12.14.08;	author nijtmans;	state Exp;
branches;
next	1.62;

1.62
date	2010.06.19.16.18.41;	author jenglish;	state Exp;
branches;
next	1.61;

1.61
date	2010.05.10.20.58.18;	author nijtmans;	state Exp;
branches;
next	1.60;

1.60
date	2009.12.16.22.00.31;	author nijtmans;	state Exp;
branches;
next	1.59;

1.59
date	2009.12.12.00.23.49;	author nijtmans;	state Exp;
branches;
next	1.58;

1.58
date	2009.12.02.21.16.44;	author nijtmans;	state Exp;
branches;
next	1.57;

1.57
date	2009.06.29.14.35.01;	author das;	state Exp;
branches;
next	1.56;

1.56
date	2009.06.27.19.33.35;	author nijtmans;	state Exp;
branches;
next	1.55;

1.55
date	2009.06.12.12.46.11;	author dkf;	state Exp;
branches;
next	1.54;

1.54
date	2009.04.27.10.31.35;	author dkf;	state Exp;
branches;
next	1.53;

1.53
date	2009.02.27.23.23.35;	author nijtmans;	state Exp;
branches;
next	1.52;

1.52
date	2009.01.09.07.03.31;	author nijtmans;	state Exp;
branches;
next	1.51;

1.51
date	2008.12.05.15.51.31;	author nijtmans;	state Exp;
branches;
next	1.50;

1.50
date	2008.12.04.21.33.25;	author nijtmans;	state Exp;
branches;
next	1.49;

1.49
date	2008.11.05.23.29.58;	author nijtmans;	state Exp;
branches;
next	1.48;

1.48
date	2008.11.05.22.48.58;	author nijtmans;	state Exp;
branches;
next	1.47;

1.47
date	2008.10.28.22.33.06;	author nijtmans;	state Exp;
branches;
next	1.46;

1.46
date	2008.10.22.20.56.43;	author nijtmans;	state Exp;
branches;
next	1.45;

1.45
date	2008.08.19.15.52.11;	author georgeps;	state Exp;
branches;
next	1.44;

1.44
date	2007.12.13.15.24.14;	author dgp;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	2007.12.10.15.52.09;	author das;	state Exp;
branches;
next	1.42;

1.42
date	2005.12.09.00.48.52;	author das;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2005.11.27.02.36.13;	author das;	state Exp;
branches;
next	1.40;

1.40
date	2005.09.21.10.54.40;	author dkf;	state Exp;
branches;
next	1.39;

1.39
date	2005.08.09.07.39.17;	author das;	state Exp;
branches;
next	1.38;

1.38
date	2004.10.27.00.56.33;	author davygrvy;	state Exp;
branches;
next	1.37;

1.37
date	2004.09.21.19.13.56;	author mdejong;	state Exp;
branches;
next	1.36;

1.36
date	2004.08.19.14.41.52;	author dkf;	state Exp;
branches;
next	1.35;

1.35
date	2004.03.17.18.15.43;	author das;	state Exp;
branches;
next	1.34;

1.34
date	2003.10.13.03.41.37;	author hobbs;	state Exp;
branches;
next	1.33;

1.33
date	2003.01.22.14.32.59;	author dkf;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2002.12.08.00.46.51;	author hobbs;	state Exp;
branches;
next	1.31;

1.31
date	2002.10.09.11.56.28;	author das;	state Exp;
branches;
next	1.30;

1.30
date	2002.08.31.06.12.20;	author das;	state Exp;
branches;
next	1.29;

1.29
date	2002.08.05.04.30.39;	author dgp;	state Exp;
branches;
next	1.28;

1.28
date	2002.06.18.23.51.46;	author dkf;	state Exp;
branches;
next	1.27;

1.27
date	2002.06.14.13.35.48;	author dkf;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.27.19.49.32;	author mdejong;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.12.10.10.48;	author hobbs;	state Exp;
branches;
next	1.24;

1.24
date	2002.01.25.21.09.37;	author dgp;	state Exp;
branches;
next	1.23;

1.23
date	2001.12.04.03.07.43;	author mdejong;	state Exp;
branches;
next	1.22;

1.22
date	2001.11.23.02.04.56;	author das;	state Exp;
branches;
next	1.21;

1.21
date	2001.09.25.16.25.20;	author dgp;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2001.09.21.21.19.43;	author hobbs;	state Exp;
branches;
next	1.19;

1.19
date	2000.11.22.01.49.38;	author ericm;	state Exp;
branches;
next	1.18;

1.18
date	2000.11.21.16.18.05;	author dkf;	state Exp;
branches;
next	1.17;

1.17
date	2000.04.10.22.43.11;	author ericm;	state Exp;
branches
	1.17.2.1
	1.17.4.1;
next	1.16;

1.16
date	2000.02.10.08.52.34;	author hobbs;	state Exp;
branches;
next	1.15;

1.15
date	2000.02.09.02.13.50;	author hobbs;	state Exp;
branches;
next	1.14;

1.14
date	2000.01.12.11.45.03;	author hobbs;	state Exp;
branches;
next	1.13;

1.13
date	99.12.14.06.52.29;	author hobbs;	state Exp;
branches;
next	1.12;

1.12
date	99.12.07.03.51.05;	author hobbs;	state Exp;
branches;
next	1.11;

1.11
date	99.08.10.16.58.37;	author hobbs;	state Exp;
branches;
next	1.10;

1.10
date	99.08.10.05.06.14;	author jingham;	state Exp;
branches;
next	1.9;

1.9
date	99.07.31.03.36.49;	author hobbs;	state Exp;
branches;
next	1.8;

1.8
date	99.06.16.20.11.28;	author surles;	state Exp;
branches;
next	1.7;

1.7
date	99.05.25.01.31.05;	author stanton;	state Exp;
branches;
next	1.6;

1.6
date	99.04.24.01.50.48;	author stanton;	state Exp;
branches;
next	1.5;

1.5
date	99.04.16.01.51.15;	author stanton;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	99.03.12.03.17.47;	author stanton;	state Exp;
branches;
next	1.3;

1.3
date	99.03.10.18.56.08;	author redman;	state Exp;
branches;
next	1.2;

1.2
date	99.03.10.07.04.40;	author stanton;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.03.06.00.08.03;	author redman;	state dead;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.1.2.1
date	99.03.06.00.08.03;	author redman;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.03.06.01.54.58;	author redman;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	99.03.07.00.15.43;	author redman;	state Exp;
branches;
next	;

1.1.4.1
date	99.03.09.18.57.09;	author redman;	state Exp;
branches;
next	;

1.2.2.1
date	99.03.10.07.13.40;	author stanton;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	99.03.12.03.12.44;	author stanton;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	99.03.14.19.26.02;	author stanton;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	99.03.30.04.12.25;	author stanton;	state Exp;
branches;
next	1.2.2.5;

1.2.2.5
date	99.04.06.02.48.27;	author redman;	state Exp;
branches;
next	;

1.5.4.1
date	99.04.21.23.58.07;	author surles;	state Exp;
branches;
next	1.5.4.2;

1.5.4.2
date	99.04.24.01.14.19;	author stanton;	state Exp;
branches;
next	;

1.17.2.1
date	2001.04.04.21.39.48;	author hobbs;	state Exp;
branches;
next	1.17.2.2;

1.17.2.2
date	2001.10.13.01.25.10;	author hobbs;	state Exp;
branches;
next	;

1.17.4.1
date	2000.11.03.22.49.22;	author hobbs;	state Exp;
branches;
next	1.17.4.2;

1.17.4.2
date	2002.04.02.21.00.51;	author hobbs;	state Exp;
branches;
next	;

1.21.2.1
date	2001.10.15.09.22.00;	author wolfsuit;	state Exp;
branches;
next	1.21.2.2;

1.21.2.2
date	2001.10.17.07.02.06;	author wolfsuit;	state Exp;
branches;
next	1.21.2.3;

1.21.2.3
date	2002.02.05.02.25.15;	author wolfsuit;	state Exp;
branches;
next	1.21.2.4;

1.21.2.4
date	2002.06.10.05.38.23;	author wolfsuit;	state Exp;
branches;
next	1.21.2.5;

1.21.2.5
date	2002.08.20.20.27.05;	author das;	state Exp;
branches;
next	1.21.2.6;

1.21.2.6
date	2002.08.30.18.18.12;	author das;	state Exp;
branches;
next	;

1.33.2.1
date	2003.10.13.03.30.04;	author hobbs;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2004.09.23.00.56.14;	author mdejong;	state Exp;
branches;
next	1.33.2.3;

1.33.2.3
date	2004.10.27.00.35.53;	author davygrvy;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2005.07.28.04.57.38;	author hobbs;	state Exp;
branches;
next	1.33.2.5;

1.33.2.5
date	2005.08.09.07.39.51;	author das;	state Exp;
branches;
next	1.33.2.6;

1.33.2.6
date	2005.11.27.02.44.25;	author das;	state Exp;
branches;
next	;

1.42.2.1
date	2007.12.10.18.39.29;	author dgp;	state Exp;
branches;
next	;

1.44.2.1
date	2009.04.27.10.39.57;	author dkf;	state Exp;
branches;
next	1.44.2.2;

1.44.2.2
date	2009.06.27.19.53.16;	author nijtmans;	state Exp;
branches;
next	1.44.2.3;

1.44.2.3
date	2009.12.02.22.20.01;	author nijtmans;	state Exp;
branches;
next	1.44.2.4;

1.44.2.4
date	2009.12.12.00.20.54;	author nijtmans;	state Exp;
branches;
next	1.44.2.5;

1.44.2.5
date	2010.02.07.23.24.13;	author nijtmans;	state Exp;
branches;
next	;


desc
@@


1.67
log
@fix/regen
@
text
@# tkInt.decls --
#
#	This file contains the declarations for all unsupported functions that
#	are exported by the Tk library. This file is used to generate the
#	tkIntDecls.h, tkIntPlatDecls.h, tkIntStub.c, and tkPlatStub.c files.
#
# Copyright (c) 1998-1999 by Scriptics Corporation.
# Copyright (c) 2007 Daniel A. Steffen <das@@users.sourceforge.net>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @@(#) $Id: tkInt.decls,v 1.66 2010/12/02 11:38:29 dkf Exp $

library tk

##############################################################################

# Define the unsupported generic interfaces.

interface tkInt
scspec EXTERN

# Declare each of the functions in the unsupported internal Tcl interface.
# These interfaces are allowed to changed between versions. Use at your own
# risk. Note that the position of functions should not be changed between
# versions to avoid gratuitous incompatibilities.

declare 0 {
    TkWindow *TkAllocWindow(TkDisplay *dispPtr, int screenNum,
	    TkWindow *parentPtr)
}
declare 1 {
    void TkBezierPoints(double control[], int numSteps, double *coordPtr)
}
declare 2 {
    void TkBezierScreenPoints(Tk_Canvas canvas, double control[],
	    int numSteps, XPoint *xPointPtr)
}
#
# Slot 3 unused (WAS: TkBindDeadWindow)
#
declare 4 {
    void TkBindEventProc(TkWindow *winPtr, XEvent *eventPtr)
}
declare 5 {
    void TkBindFree(TkMainInfo *mainPtr)
}
declare 6 {
    void TkBindInit(TkMainInfo *mainPtr)
}
declare 7 {
    void TkChangeEventWindow(XEvent *eventPtr, TkWindow *winPtr)
}
declare 8 {
    int TkClipInit(Tcl_Interp *interp, TkDisplay *dispPtr)
}
declare 9 {
    void TkComputeAnchor(Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY,
	    int innerWidth, int innerHeight, int *xPtr, int *yPtr)
}
#
# Slot 10 unused (WAS: TkCopyAndGlobalEval)
# Slot 11 unused (WAS: TkCreateBindingProcedure)
#
declare 12 {
    TkCursor *TkCreateCursorFromData(Tk_Window tkwin,
	    const char *source, const char *mask, int width, int height,
	    int xHot, int yHot, XColor fg, XColor bg)
}
declare 13 {
    int TkCreateFrame(ClientData clientData, Tcl_Interp *interp,
	    int argc, const char *const *argv, int toplevel, const char *appName)
}
declare 14 {
    Tk_Window TkCreateMainWindow(Tcl_Interp *interp,
	    const char *screenName, const char *baseName)
}
declare 15 {
    Time TkCurrentTime(TkDisplay *dispPtr)
}
declare 16 {
    void TkDeleteAllImages(TkMainInfo *mainPtr)
}
declare 17 {
    void TkDoConfigureNotify(TkWindow *winPtr)
}
declare 18 {
    void TkDrawInsetFocusHighlight(Tk_Window tkwin, GC gc, int width,
	    Drawable drawable, int padding)
}
declare 19 {
    void TkEventDeadWindow(TkWindow *winPtr)
}
declare 20 {
    void TkFillPolygon(Tk_Canvas canvas, double *coordPtr, int numPoints,
	    Display *display, Drawable drawable, GC gc, GC outlineGC)
}
declare 21 {
    int TkFindStateNum(Tcl_Interp *interp, const char *option,
	    const TkStateMap *mapPtr, const char *strKey)
}
declare 22 {
    CONST86 char *TkFindStateString(const TkStateMap *mapPtr, int numKey)
}
declare 23 {
    void TkFocusDeadWindow(TkWindow *winPtr)
}
declare 24 {
    int TkFocusFilterEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 25 {
    TkWindow *TkFocusKeyEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 26 {
    void TkFontPkgInit(TkMainInfo *mainPtr)
}
declare 27 {
    void TkFontPkgFree(TkMainInfo *mainPtr)
}
declare 28 {
    void TkFreeBindingTags(TkWindow *winPtr)
}

# Name change only, TkFreeCursor in Tcl 8.0.x now TkpFreeCursor
declare 29 {
    void TkpFreeCursor(TkCursor *cursorPtr)
}
declare 30 {
    char *TkGetBitmapData(Tcl_Interp *interp, const char *string,
	    const char *fileName, int *widthPtr, int *heightPtr,
	    int *hotXPtr, int *hotYPtr)
}
declare 31 {
    void TkGetButtPoints(double p1[], double p2[],
	    double width, int project, double m1[], double m2[])
}
declare 32 {
    TkCursor *TkGetCursorByName(Tcl_Interp *interp,
	    Tk_Window tkwin, Tk_Uid string)
}
declare 33 {
    const char *TkGetDefaultScreenName(Tcl_Interp *interp,
	    const char *screenName)
}
declare 34 {
    TkDisplay *TkGetDisplay(Display *display)
}
declare 35 {
    int TkGetDisplayOf(Tcl_Interp *interp, int objc, Tcl_Obj *const objv[],
	    Tk_Window *tkwinPtr)
}
declare 36 {
    TkWindow *TkGetFocusWin(TkWindow *winPtr)
}
declare 37 {
    int TkGetInterpNames(Tcl_Interp *interp, Tk_Window tkwin)
}
declare 38 {
    int TkGetMiterPoints(double p1[], double p2[], double p3[],
	    double width, double m1[], double m2[])
}
declare 39 {
    void TkGetPointerCoords(Tk_Window tkwin, int *xPtr, int *yPtr)
}
declare 40 {
    void TkGetServerInfo(Tcl_Interp *interp, Tk_Window tkwin)
}
declare 41 {
    void TkGrabDeadWindow(TkWindow *winPtr)
}
declare 42 {
    int TkGrabState(TkWindow *winPtr)
}
declare 43 {
    void TkIncludePoint(Tk_Item *itemPtr, double *pointPtr)
}
declare 44 {
    void TkInOutEvents(XEvent *eventPtr, TkWindow *sourcePtr,
	    TkWindow *destPtr, int leaveType, int enterType,
	    Tcl_QueuePosition position)
}
declare 45 {
    void TkInstallFrameMenu(Tk_Window tkwin)
}
declare 46 {
    CONST86 char *TkKeysymToString(KeySym keysym)
}
declare 47 {
    int TkLineToArea(double end1Ptr[], double end2Ptr[], double rectPtr[])
}
declare 48 {
    double TkLineToPoint(double end1Ptr[], double end2Ptr[], double pointPtr[])
}
declare 49 {
    int TkMakeBezierCurve(Tk_Canvas canvas, double *pointPtr, int numPoints,
	    int numSteps, XPoint xPoints[], double dblPoints[])
}
declare 50 {
    void TkMakeBezierPostscript(Tcl_Interp *interp,
	    Tk_Canvas canvas, double *pointPtr, int numPoints)
}
declare 51 {
    void TkOptionClassChanged(TkWindow *winPtr)
}
declare 52 {
    void TkOptionDeadWindow(TkWindow *winPtr)
}
declare 53 {
    int TkOvalToArea(double *ovalPtr, double *rectPtr)
}
declare 54 {
    double TkOvalToPoint(double ovalPtr[],
	    double width, int filled, double pointPtr[])
}
declare 55 {
    int TkpChangeFocus(TkWindow *winPtr, int force)
}
declare 56 {
    void TkpCloseDisplay(TkDisplay *dispPtr)
}
declare 57 {
    void TkpClaimFocus(TkWindow *topLevelPtr, int force)
}
declare 58 {
    void TkpDisplayWarning(const char *msg, const char *title)
}
declare 59 {
    void TkpGetAppName(Tcl_Interp *interp, Tcl_DString *name)
}
declare 60 {
    TkWindow *TkpGetOtherWindow(TkWindow *winPtr)
}
declare 61 {
    TkWindow *TkpGetWrapperWindow(TkWindow *winPtr)
}
declare 62 {
    int TkpInit(Tcl_Interp *interp)
}
declare 63 {
    void TkpInitializeMenuBindings(Tcl_Interp *interp,
	    Tk_BindingTable bindingTable)
}
declare 64 {
    void TkpMakeContainer(Tk_Window tkwin)
}
declare 65 {
    void TkpMakeMenuWindow(Tk_Window tkwin, int transient)
}
declare 66 {
    Window TkpMakeWindow(TkWindow *winPtr, Window parent)
}
declare 67 {
    void TkpMenuNotifyToplevelCreate(Tcl_Interp *interp, const char *menuName)
}
declare 68 {
    TkDisplay *TkpOpenDisplay(const char *display_name)
}
declare 69 {
    int TkPointerEvent(XEvent *eventPtr, TkWindow *winPtr)
}
declare 70 {
    int TkPolygonToArea(double *polyPtr, int numPoints, double *rectPtr)
}
declare 71 {
    double TkPolygonToPoint(double *polyPtr, int numPoints, double *pointPtr)
}
declare 72 {
    int TkPositionInTree(TkWindow *winPtr, TkWindow *treePtr)
}
declare 73 {
    void TkpRedirectKeyEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 74 {
    void TkpSetMainMenubar(Tcl_Interp *interp, Tk_Window tkwin, const char *menuName)
}
declare 75 {
    int TkpUseWindow(Tcl_Interp *interp, Tk_Window tkwin, const char *string)
}
declare 77 {
    void TkQueueEventForAllChildren(TkWindow *winPtr, XEvent *eventPtr)
}
declare 78 {
    int TkReadBitmapFile(Display *display, Drawable d, const char *filename,
	    unsigned int *width_return, unsigned int *height_return,
	    Pixmap *bitmap_return, int *x_hot_return, int *y_hot_return)
}
declare 79 {
    int TkScrollWindow(Tk_Window tkwin, GC gc, int x, int y,
	    int width, int height, int dx, int dy, TkRegion damageRgn)
}
declare 80 {
    void TkSelDeadWindow(TkWindow *winPtr)
}
declare 81 {
    void TkSelEventProc(Tk_Window tkwin, XEvent *eventPtr)
}
declare 82 {
    void TkSelInit(Tk_Window tkwin)
}
declare 83 {
    void TkSelPropProc(XEvent *eventPtr)
}

# Exported publically as Tk_SetClassProcs in 8.4a2
#declare 84 {
#    void TkSetClassProcs(Tk_Window tkwin,
#	    TkClassProcs *procs, ClientData instanceData)
#}

declare 85 {
    void TkSetWindowMenuBar(Tcl_Interp *interp, Tk_Window tkwin,
	    const char *oldMenuName, const char *menuName)
}
declare 86 {
    KeySym TkStringToKeysym(const char *name)
}
declare 87 {
    int TkThickPolyLineToArea(double *coordPtr, int numPoints,
	    double width, int capStyle, int joinStyle, double *rectPtr)
}
declare 88 {
    void TkWmAddToColormapWindows(TkWindow *winPtr)
}
declare 89 {
    void TkWmDeadWindow(TkWindow *winPtr)
}
declare 90 {
    TkWindow *TkWmFocusToplevel(TkWindow *winPtr)
}
declare 91 {
    void TkWmMapWindow(TkWindow *winPtr)
}
declare 92 {
    void TkWmNewWindow(TkWindow *winPtr)
}
declare 93 {
    void TkWmProtocolEventProc(TkWindow *winPtr, XEvent *evenvPtr)
}
declare 94 {
    void TkWmRemoveFromColormapWindows(TkWindow *winPtr)
}
declare 95 {
    void TkWmRestackToplevel(TkWindow *winPtr, int aboveBelow,
	    TkWindow *otherPtr)
}
declare 96 {
    void TkWmSetClass(TkWindow *winPtr)
}
declare 97 {
    void TkWmUnmapWindow(TkWindow *winPtr)
}

# new for 8.1

declare 98 {
    Tcl_Obj *TkDebugBitmap(Tk_Window tkwin, const char *name)
}
declare 99 {
    Tcl_Obj *TkDebugBorder(Tk_Window tkwin, const char *name)
}
declare 100 {
    Tcl_Obj *TkDebugCursor(Tk_Window tkwin, const char *name)
}
declare 101 {
    Tcl_Obj *TkDebugColor(Tk_Window tkwin, const char *name)
}
declare 102 {
    Tcl_Obj *TkDebugConfig(Tcl_Interp *interp, Tk_OptionTable table)
}
declare 103 {
    Tcl_Obj *TkDebugFont(Tk_Window tkwin, const char *name)
}
declare 104 {
    int TkFindStateNumObj(Tcl_Interp *interp, Tcl_Obj *optionPtr,
	    const TkStateMap *mapPtr, Tcl_Obj *keyPtr)
}
declare 105 {
    Tcl_HashTable *TkGetBitmapPredefTable(void)
}
declare 106 {
    TkDisplay *TkGetDisplayList(void)
}
declare 107 {
    TkMainInfo *TkGetMainInfoList(void)
}
declare 108 {
    int TkGetWindowFromObj(Tcl_Interp *interp, Tk_Window tkwin,
	    Tcl_Obj *objPtr, Tk_Window *windowPtr)
}
declare 109 {
    CONST86 char *TkpGetString(TkWindow *winPtr, XEvent *eventPtr, Tcl_DString *dsPtr)
}
declare 110 {
    void TkpGetSubFonts(Tcl_Interp *interp, Tk_Font tkfont)
}
declare 111 {
    Tcl_Obj *TkpGetSystemDefault(Tk_Window tkwin,
	    const char *dbName, const char *className)
}
declare 112 {
    void TkpMenuThreadInit(void)
}
declare 113 {aqua win} {
    void TkClipBox(TkRegion rgn, XRectangle *rect_return)
}
declare 114 {aqua win} {
    TkRegion TkCreateRegion(void)
}
declare 115 {aqua win} {
    void TkDestroyRegion(TkRegion rgn)
}
declare 116 {aqua win} {
    void TkIntersectRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return)
}
declare 117 {aqua win} {
    int TkRectInRegion(TkRegion rgn, int x, int y, unsigned int width,
	    unsigned int height)
}
declare 118 {aqua win} {
    void TkSetRegion(Display *display, GC gc, TkRegion rgn)
}
declare 119 {aqua win} {
    void TkUnionRectWithRegion(XRectangle *rect,
	    TkRegion src, TkRegion dr_return)
}
declare 121 aqua {
    Pixmap TkpCreateNativeBitmap(Display *display, const void *source)
}
declare 122 aqua {
    void TkpDefineNativeBitmaps(void)
}
declare 124 aqua {
    Pixmap TkpGetNativeAppBitmap(Display *display,
 	    const char *name, int *width, int *height)
}
declare 135 {
    void TkpDrawHighlightBorder(Tk_Window tkwin, GC fgGC, GC bgGC,
        int highlightWidth, Drawable drawable)
}
declare 136 {
    void TkSetFocusWin(TkWindow *winPtr, int force)
}
declare 137 {
    void TkpSetKeycodeAndState(Tk_Window tkwin, KeySym keySym,
            XEvent *eventPtr)
}
declare 138 {
    KeySym TkpGetKeySym(TkDisplay *dispPtr, XEvent *eventPtr)
}
declare 139 {
    void TkpInitKeymapInfo(TkDisplay *dispPtr)
}
declare 140 {
    TkRegion TkPhotoGetValidRegion(Tk_PhotoHandle handle)
}
declare 141 {
    TkWindow **TkWmStackorderToplevel(TkWindow *parentPtr)
}
declare 142 {
    void TkFocusFree(TkMainInfo *mainPtr)
}
declare 143 {
    void TkClipCleanup(TkDisplay *dispPtr)
}
declare 144 {
    void TkGCCleanup(TkDisplay *dispPtr)
}
declare 145 {win aqua} {
    void TkSubtractRegion(TkRegion sra, TkRegion srcb, TkRegion dr_return)
}
declare 146 {
    void TkStylePkgInit(TkMainInfo *mainPtr)
}
declare 147 {
    void TkStylePkgFree(TkMainInfo *mainPtr)
}
declare 148 {
    Tk_Window TkToplevelWindowForCommand(Tcl_Interp *interp,
	    const char *cmdName)
}
declare 149 {
    const Tk_OptionSpec *TkGetOptionSpec(const char *name,
	    Tk_OptionTable optionTable)
}

# TIP#168
declare 150 {
    int TkMakeRawCurve(Tk_Canvas canvas, double *pointPtr, int numPoints,
	    int numSteps, XPoint xPoints[], double dblPoints[])
}
declare 151 {
    void TkMakeRawCurvePostscript(Tcl_Interp *interp,
	    Tk_Canvas canvas, double *pointPtr, int numPoints)
}
declare 152 {
    void TkpDrawFrame(Tk_Window tkwin, Tk_3DBorder border,
	    int highlightWidth, int borderWidth, int relief)
}
declare 153 {
    void TkCreateThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData)
}
declare 154 {
    void TkDeleteThreadExitHandler(Tcl_ExitProc *proc, ClientData clientData)
}

# entries needed only by tktest:
declare 156 {
    int TkpTestembedCmd(ClientData clientData, Tcl_Interp *interp, int argc,
	    const char **argv)
}
declare 157 {
    int TkpTesttextCmd(ClientData dummy, Tcl_Interp *interp, int argc,
	    const char **argv)
}
declare 158 {
    int TkSelGetSelection(Tcl_Interp *interp, Tk_Window tkwin,
	    Atom selection, Atom target, Tk_GetSelProc *proc,
	    ClientData clientData)
}
declare 159 {
    int TkTextGetIndex(Tcl_Interp *interp, struct TkText *textPtr,
	    const char *string, struct TkTextIndex *indexPtr)
}
declare 160 {
    int TkTextIndexBackBytes(const struct TkText *textPtr,
	    const struct TkTextIndex *srcPtr, int count,
	    struct TkTextIndex *dstPtr)
}
declare 161 {
    int TkTextIndexForwBytes(const struct TkText *textPtr,
	    const struct TkTextIndex *srcPtr, int count,
	    struct TkTextIndex *dstPtr)
}
declare 162 {
    struct TkTextIndex *TkTextMakeByteIndex(TkTextBTree tree,
	    const struct TkText *textPtr, int lineIndex,
	    int byteIndex, struct TkTextIndex *indexPtr)
}
declare 163 {
    int TkTextPrintIndex(const struct TkText *textPtr,
	    const struct TkTextIndex *indexPtr, char *string)
}
declare 164 {
    struct TkTextSegment *TkTextSetMark(struct TkText *textPtr,
	    const char *name, struct TkTextIndex *indexPtr)
}
declare 165 {
    int TkTextXviewCmd(struct TkText *textPtr, Tcl_Interp *interp,
	    int objc, Tcl_Obj *const objv[])
}
declare 166 {
    void TkTextChanged(struct TkSharedText *sharedTextPtr,
	    struct TkText *textPtr, const struct TkTextIndex *index1Ptr,
	    const struct TkTextIndex *index2Ptr)
}
declare 167 {
    int	TkBTreeNumLines(TkTextBTree tree,
	    const struct TkText *textPtr)
}
declare 168 {
    void TkTextInsertDisplayProc(struct TkText *textPtr,
	    struct TkTextDispChunk *chunkPtr, int x, int y,
	    int height, int baseline, Display *display,
	    Drawable dst, int screenY)
}
# Next group of functions exposed due to [Bug 2768945].
declare 169 {
    int TkStateParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 170 {
    CONST86 char *TkStatePrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 171 {
    int TkCanvasDashParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 172 {
    CONST86 char *TkCanvasDashPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 173 {
    int TkOffsetParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 174 {
    CONST86 char *TkOffsetPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 175 {
    int TkPixelParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 176 {
    CONST86 char *TkPixelPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 177 {
    int TkOrientParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 178 {
    CONST86 char *TkOrientPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 179 {
    int TkSmoothParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 180 {
    CONST86 char *TkSmoothPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}

# Angled text API, exposed for Emiliano Gavilan's RBC work.
declare 181 {
    void TkDrawAngledTextLayout(Display *display, Drawable drawable, GC gc,
	    Tk_TextLayout layout, int x, int y, double angle, int firstChar,
	    int lastChar)
}
declare 182 {
    void TkUnderlineAngledTextLayout(Display *display, Drawable drawable,
	    GC gc, Tk_TextLayout layout, int x, int y, double angle,
	    int underline)
}
declare 183 {
    int TkIntersectAngledTextLayout(Tk_TextLayout layout, int x, int y,
	    int width, int height, double angle)
}
declare 184 {
    void TkDrawAngledChars(Display *display,Drawable drawable, GC gc,
	    Tk_Font tkfont, const char *source, int numBytes, double x,
	    double y, double angle)
}

##############################################################################

# Define the platform specific internal Tcl interface. These functions are
# only available on the designated platform.

interface tkIntPlat

################################
# Unix specific functions

declare 0 x11 {
    void TkCreateXEventSource(void)
}
declare 3 x11 {
    int TkpCmapStressed(Tk_Window tkwin, Colormap colormap)
}
declare 4 x11 {
    void TkpSync(Display *display)
}
declare 5 x11 {
    Window TkUnixContainerId(TkWindow *winPtr)
}
declare 6 x11 {
    int TkUnixDoOneXEvent(Tcl_Time *timePtr)
}
declare 7 x11 {
    void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar)
}
declare 8 x11 {
    int TkpScanWindowId(Tcl_Interp *interp, const char *string, Window *idPtr)
}
declare 9 x11 {
    void TkWmCleanup(TkDisplay *dispPtr)
}
declare 10 x11 {
    void TkSendCleanup(TkDisplay *dispPtr)
}
declare 12 x11 {
    int TkpWmSetState(TkWindow *winPtr, int state)
}
# only needed by tktest:
declare 13 x11 {
    int TkpTestsendCmd(ClientData clientData, Tcl_Interp *interp, int argc,
	    const char **argv)
}

################################
# Windows specific functions

declare 0 win {
    char *TkAlignImageData(XImage *image, int alignment, int bitOrder)
}
declare 2 win {
    void TkGenerateActivateEvents(TkWindow *winPtr, int active)
}
declare 3 win {
    unsigned long TkpGetMS(void)
}
declare 4 win {
    void TkPointerDeadWindow(TkWindow *winPtr)
}
declare 5 win {
    void TkpPrintWindowId(char *buf, Window window)
}
declare 6 win {
    int TkpScanWindowId(Tcl_Interp *interp, const char *string, Window *idPtr)
}
declare 7 win {
    void TkpSetCapture(TkWindow *winPtr)
}
declare 8 win {
    void TkpSetCursor(TkpCursor cursor)
}
declare 9 win {
    void TkpWmSetState(TkWindow *winPtr, int state)
}
declare 10 win {
    void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap)
}
declare 11 win {
    void TkWinCancelMouseTimer(void)
}
declare 12 win {
    void TkWinClipboardRender(TkDisplay *dispPtr, UINT format)
}
declare 13 win {
    LRESULT TkWinEmbeddedEventProc(HWND hwnd, UINT message,
	    WPARAM wParam, LPARAM lParam)
}
declare 14 win {
    void TkWinFillRect(HDC dc, int x, int y, int width, int height, int pixel)
}
declare 15 win {
    COLORREF TkWinGetBorderPixels(Tk_Window tkwin, Tk_3DBorder border,
	    int which)
}
declare 16 win {
    HDC TkWinGetDrawableDC(Display *display, Drawable d, TkWinDCState *state)
}
declare 17 win {
    int TkWinGetModifierState(void)
}
declare 18 win {
    HPALETTE TkWinGetSystemPalette(void)
}
declare 19 win {
    HWND TkWinGetWrapperWindow(Tk_Window tkwin)
}
declare 20 win {
    int TkWinHandleMenuEvent(HWND *phwnd, UINT *pMessage, WPARAM *pwParam,
	    LPARAM *plParam, LRESULT *plResult)
}
declare 21 win {
    int TkWinIndexOfColor(XColor *colorPtr)
}
declare 22 win {
    void TkWinReleaseDrawableDC(Drawable d, HDC hdc, TkWinDCState *state)
}
declare 23 win {
    LRESULT TkWinResendEvent(WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)
}
declare 24 win {
    HPALETTE TkWinSelectPalette(HDC dc, Colormap colormap)
}
declare 25 win {
    void TkWinSetMenu(Tk_Window tkwin, HMENU hMenu)
}
declare 26 win {
    void TkWinSetWindowPos(HWND hwnd, HWND siblingHwnd, int pos)
}
declare 27 win {
    void TkWinWmCleanup(HINSTANCE hInstance)
}
declare 28 win {
    void TkWinXCleanup(ClientData clientData)
}
declare 29 win {
    void TkWinXInit(HINSTANCE hInstance)
}

# new for 8.1

declare 30 win {
    void TkWinSetForegroundWindow(TkWindow *winPtr)
}
declare 31 win {
    void TkWinDialogDebug(int debug)
}
declare 32 win {
    Tcl_Obj *TkWinGetMenuSystemDefault(Tk_Window tkwin,
	    const char *dbName, const char *className)
}
declare 33 win {
    int TkWinGetPlatformId(void)
}

# new for 8.4.1

declare 34 win {
    void TkWinSetHINSTANCE(HINSTANCE hInstance)
}
declare 35 win {
    int TkWinGetPlatformTheme(void)
}

# Exported through stub table since Tk 8.5.9

declare 36 win {
    LRESULT CALLBACK TkWinChildProc(HWND hwnd,
	    UINT message, WPARAM wParam, LPARAM lParam)
}

################################
# Aqua specific functions

declare 0 aqua {
    void TkGenerateActivateEvents(TkWindow *winPtr, int active)
}

# removed duplicates from tkInt table
#declare 1 aqua {
#    Pixmap TkpCreateNativeBitmap(Display *display, const void *source)
#}
#
#declare 2 aqua {
#    void TkpDefineNativeBitmaps(void)
#}

declare 3 aqua {
    void TkPointerDeadWindow(TkWindow *winPtr)
}
declare 4 aqua {
    void TkpSetCapture(TkWindow *winPtr)
}
declare 5 aqua {
    void TkpSetCursor(TkpCursor cursor)
}
declare 6 aqua {
    void TkpWmSetState(TkWindow *winPtr, int state)
}
declare 7 aqua {
    void TkAboutDlg(void)
}
declare 8 aqua {
    unsigned int TkMacOSXButtonKeyState(void)
}
declare 9 aqua {
    void TkMacOSXClearMenubarActive(void)
}
declare 10 aqua {
    int TkMacOSXDispatchMenuEvent(int menuID, int index)
}
declare 11 aqua {
    void TkMacOSXInstallCursor(int resizeOverride)
}
declare 12 aqua {
    void TkMacOSXHandleTearoffMenu(void)
}

# removed duplicate from tkPlat table(tk.decls)
#declare 13 aqua {
#    void TkMacOSXInvalClipRgns(TkWindow *winPtr)
#}

declare 14 aqua {
    int TkMacOSXDoHLEvent(void *theEvent)
}

# removed duplicate from tkPlat table(tk.decls)
#declare 15 aqua {
#    void *TkMacOSXGetDrawablePort(Drawable drawable)
#}

declare 16 aqua {
    Window TkMacOSXGetXWindow(void *macWinPtr)
}
declare 17 aqua {
    int TkMacOSXGrowToplevel(void *whichWindow, XPoint start)
}
declare 18 aqua {
    void TkMacOSXHandleMenuSelect(short theMenu, unsigned short theItem,
	    int optionKeyPressed)
}

# removed duplicates from tkPlat table(tk.decls)
#declare 19 aqua {
#    void TkMacOSXInitAppleEvents(Tcl_Interp *interp)
#}
#
#declare 20 aqua {
#    void TkMacOSXInitMenus(Tcl_Interp *interp)
#}

declare 21 aqua {
    void TkMacOSXInvalidateWindow(MacDrawable *macWin, int flag)
}
declare 22 aqua {
    int TkMacOSXIsCharacterMissing(Tk_Font tkfont, unsigned int searchChar)
}
declare 23 aqua {
    void TkMacOSXMakeRealWindowExist(TkWindow *winPtr)
}
declare 24 aqua {
    void *TkMacOSXMakeStippleMap(Drawable d1, Drawable d2)
}
declare 25 aqua {
    void TkMacOSXMenuClick(void)
}
declare 26 aqua {
    void TkMacOSXRegisterOffScreenWindow(Window window, void *portPtr)
}
declare 27 aqua {
    int TkMacOSXResizable(TkWindow *winPtr)
}
declare 28 aqua {
    void TkMacOSXSetHelpMenuItemCount(void)
}
declare 29 aqua {
    void TkMacOSXSetScrollbarGrow(TkWindow *winPtr, int flag)
}
declare 30 aqua {
    void TkMacOSXSetUpClippingRgn(Drawable drawable)
}
declare 31 aqua {
    void TkMacOSXSetUpGraphicsPort(GC gc, void *destPort)
}
declare 32 aqua {
    void TkMacOSXUpdateClipRgn(TkWindow *winPtr)
}
declare 33 aqua {
    void TkMacOSXUnregisterMacWindow(void *portPtr)
}
declare 34 aqua {
    int TkMacOSXUseMenuID(short macID)
}
declare 35 aqua {
    TkRegion TkMacOSXVisableClipRgn(TkWindow *winPtr)
}
declare 36 aqua {
    void TkMacOSXWinBounds(TkWindow *winPtr, void *geometry)
}
declare 37 aqua {
    void TkMacOSXWindowOffset(void *wRef, int *xOffset, int *yOffset)
}
declare 38 aqua {
    int TkSetMacColor(unsigned long pixel, void *macColor)
}
declare 39 aqua {
    void TkSetWMName(TkWindow *winPtr, Tk_Uid titleUid)
}
declare 40 aqua {
    void TkSuspendClipboard(void)
}
declare 41 aqua {
    int TkMacOSXZoomToplevel(void *whichWindow, short zoomPart)
}
declare 42 aqua {
    Tk_Window Tk_TopCoordsToWindow(Tk_Window tkwin, int rootX, int rootY,
	    int *newX, int *newY)
}
declare 43 aqua {
    MacDrawable *TkMacOSXContainerId(TkWindow *winPtr)
}
declare 44 aqua {
    MacDrawable *TkMacOSXGetHostToplevel(TkWindow *winPtr)
}
declare 45 aqua {
    void TkMacOSXPreprocessMenu(void)
}
declare 46 aqua {
    int TkpIsWindowFloating(void *window)
}
declare 47 aqua {
    Tk_Window TkMacOSXGetCapture(void)
}
declare 49 aqua {
    Window TkGetTransientMaster(TkWindow *winPtr)
}
declare 50 aqua {
    int TkGenerateButtonEvent(int x, int y, Window window, unsigned int state)
}
declare 51 aqua {
    void TkGenWMDestroyEvent(Tk_Window tkwin)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 52 aqua {
#    void TkGenWMConfigureEvent(Tk_Window tkwin, int x, int y,
# 	    int width, int height, int flags)
#}

declare 53 aqua {
    unsigned long TkpGetMS(void)
}

##############################################################################

# Define the platform specific internal Xlib interfaces. These functions are
# only available on the designated platform.

interface tkIntXlib

################################
# X functions for Windows

declare 0 win {
    void XSetDashes(Display *display, GC gc, int dash_offset,
	    _Xconst char *dash_list, int n)
}
declare 1 win {
    XModifierKeymap *XGetModifierMapping(Display *d)
}
declare 2 win {
    XImage *XCreateImage(Display *d, Visual *v, unsigned int ui1, int i1,
	    int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3,
	    int i4)
}
declare 3 win {
    XImage *XGetImage(Display *d, Drawable dr, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}
declare 4 win {
    char *XGetAtomName(Display *d, Atom a)
}
declare 5 win {
    char *XKeysymToString(KeySym k)
}
declare 6 win {
    Colormap XCreateColormap(Display *d, Window w, Visual *v, int i)
}
declare 7 win {
    Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
	    XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2)
}
declare 8 win {
    Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
	    unsigned int ui1, unsigned int ui2, XColor *x1, XColor *x2)
}
declare 9 win {
    GContext XGContextFromGC(GC g)
}
declare 10 win {
    XHostAddress *XListHosts(Display *d, int *i, Bool *b)
}

# second parameter was of type KeyCode
declare 11 win {
    KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i)
}
declare 12 win {
    KeySym XStringToKeysym(_Xconst char *c)
}
declare 13 win {
    Window XRootWindow(Display *d, int i)
}
declare 14 win {
    XErrorHandler XSetErrorHandler(XErrorHandler x)
}
declare 15 win {
    Status XIconifyWindow(Display *d, Window w, int i)
}
declare 16 win {
    Status XWithdrawWindow(Display *d, Window w, int i)
}
declare 17 win {
    Status XGetWMColormapWindows(Display *d, Window w, Window **wpp, int *ip)
}
declare 18 win {
    Status XAllocColor(Display *d, Colormap c, XColor *xp)
}
declare 19 win {
    void XBell(Display *d, int i)
}
declare 20 win {
    void XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1,
	    int i2, _Xconst unsigned char *c, int i3)
}
declare 21 win {
    void XChangeWindowAttributes(Display *d, Window w, unsigned long ul,
	    XSetWindowAttributes *x)
}
declare 22 win {
    void XClearWindow(Display *d, Window w)
}
declare 23 win {
    void XConfigureWindow(Display *d, Window w, unsigned int i,
	    XWindowChanges *x)
}
declare 24 win {
    void XCopyArea(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
	    int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 25 win {
    void XCopyPlane(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
	    int i2, unsigned int ui1,
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}
declare 26 win {
    Pixmap XCreateBitmapFromData(Display *display, Drawable d,
	    _Xconst char *data, unsigned int width, unsigned int height)
}
declare 27 win {
    void XDefineCursor(Display *d, Window w, Cursor c)
}
declare 28 win {
    void XDeleteProperty(Display *d, Window w, Atom a)
}
declare 29 win {
    void XDestroyWindow(Display *d, Window w)
}
declare 30 win {
    void XDrawArc(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 31 win {
    void XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2)
}
declare 32 win {
    void XDrawRectangle(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2)
}
declare 33 win {
    void XFillArc(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 34 win {
    void XFillPolygon(Display *d, Drawable dr, GC g, XPoint *x,
	    int i1, int i2, int i3)
}
declare 35 win {
    void XFillRectangles(Display *d, Drawable dr, GC g, XRectangle *x, int i)
}
declare 36 win {
    void XForceScreenSaver(Display *d, int i)
}
declare 37 win {
    void XFreeColormap(Display *d, Colormap c)
}
declare 38 win {
    void XFreeColors(Display *d, Colormap c,
	    unsigned long *ulp, int i, unsigned long ul)
}
declare 39 win {
    void XFreeCursor(Display *d, Cursor c)
}
declare 40 win {
    void XFreeModifiermap(XModifierKeymap *x)
}
declare 41 win {
    Status XGetGeometry(Display *d, Drawable dr, Window *w, int *i1,
	    int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3,
	    unsigned int *ui4)
}
declare 42 win {
    void XGetInputFocus(Display *d, Window *w, int *i)
}
declare 43 win {
    int XGetWindowProperty(Display *d, Window w, Atom a1, long l1, long l2,
	    Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1,
	    unsigned long *ulp2, unsigned char **cpp)
}
declare 44 win {
    Status XGetWindowAttributes(Display *d, Window w, XWindowAttributes *x)
}
declare 45 win {
    int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t)
}
declare 46 win {
    int XGrabPointer(Display *d, Window w1, Bool b, unsigned int ui,
	    int i1, int i2, Window w2, Cursor c, Time t)
}
declare 47 win {
    KeyCode XKeysymToKeycode(Display *d, KeySym k)
}
declare 48 win {
    Status XLookupColor(Display *d, Colormap c1, _Xconst char *c2,
	    XColor *x1, XColor *x2)
}
declare 49 win {
    void XMapWindow(Display *d, Window w)
}
declare 50 win {
    void XMoveResizeWindow(Display *d, Window w, int i1, int i2,
	    unsigned int ui1, unsigned int ui2)
}
declare 51 win {
    void XMoveWindow(Display *d, Window w, int i1, int i2)
}
declare 52 win {
    void XNextEvent(Display *d, XEvent *x)
}
declare 53 win {
    void XPutBackEvent(Display *d, XEvent *x)
}
declare 54 win {
    void XQueryColors(Display *d, Colormap c, XColor *x, int i)
}
declare 55 win {
    Bool XQueryPointer(Display *d, Window w1, Window *w2, Window *w3,
	    int *i1, int *i2, int *i3, int *i4, unsigned int *ui)
}
declare 56 win {
    Status XQueryTree(Display *d, Window w1, Window *w2, Window *w3,
	    Window **w4, unsigned int *ui)
}
declare 57 win {
    void XRaiseWindow(Display *d, Window w)
}
declare 58 win {
    void XRefreshKeyboardMapping(XMappingEvent *x)
}
declare 59 win {
    void XResizeWindow(Display *d, Window w, unsigned int ui1,
	    unsigned int ui2)
}
declare 60 win {
    void XSelectInput(Display *d, Window w, long l)
}
declare 61 win {
    Status XSendEvent(Display *d, Window w, Bool b, long l, XEvent *x)
}
declare 62 win {
    void XSetCommand(Display *d, Window w, const char **c, int i)
}
declare 63 win {
    void XSetIconName(Display *d, Window w, _Xconst char *c)
}
declare 64 win {
    void XSetInputFocus(Display *d, Window w, int i, Time t)
}
declare 65 win {
    void XSetSelectionOwner(Display *d, Atom a, Window w, Time t)
}
declare 66 win {
    void XSetWindowBackground(Display *d, Window w, unsigned long ul)
}
declare 67 win {
    void XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p)
}
declare 68 win {
    void XSetWindowBorder(Display *d, Window w, unsigned long ul)
}
declare 69 win {
    void XSetWindowBorderPixmap(Display *d, Window w, Pixmap p)
}
declare 70 win {
    void XSetWindowBorderWidth(Display *d, Window w, unsigned int ui)
}
declare 71 win {
    void XSetWindowColormap(Display *d, Window w, Colormap c)
}
declare 72 win {
    Bool XTranslateCoordinates(Display *d, Window w1, Window w2, int i1,
	    int i2, int *i3, int *i4, Window *w3)
}
declare 73 win {
    void XUngrabKeyboard(Display *d, Time t)
}
declare 74 win {
    void XUngrabPointer(Display *d, Time t)
}
declare 75 win {
    void XUnmapWindow(Display *d, Window w)
}
declare 76 win {
    void XWindowEvent(Display *d, Window w, long l, XEvent *x)
}
declare 77 win {
    void XDestroyIC(XIC x)
}
declare 78 win {
    Bool XFilterEvent(XEvent *x, Window w)
}
declare 79 win {
    int XmbLookupString(XIC xi, XKeyPressedEvent *xk, char *c, int i,
	    KeySym *k, Status *s)
}
declare 80 win {
    void TkPutImage(unsigned long *colors, int ncolors, Display *display,
	    Drawable d, GC gc, XImage *image, int src_x, int src_y,
	    int dest_x, int dest_y, unsigned int width, unsigned int height)
}
# This slot is reserved for use by the clipping rectangle patch:
#  declare 81 win {
#      XSetClipRectangles(Display *display, GC gc, int clip_x_origin,
#  	    int clip_y_origin, XRectangle rectangles[], int n, int ordering)
#  }

declare 82 win {
    Status XParseColor(Display *display, Colormap map,
          _Xconst char *spec, XColor *colorPtr)
}
declare 83 win {
    GC XCreateGC(Display *display, Drawable d,
	    unsigned long valuemask, XGCValues *values)
}
declare 84 win {
    void XFreeGC(Display *display, GC gc)
}
declare 85 win {
    Atom XInternAtom(Display *display, _Xconst char *atom_name,
	    Bool only_if_exists)
}
declare 86 win {
    void XSetBackground(Display *display, GC gc, unsigned long foreground)
}
declare 87 win {
    void XSetForeground(Display *display, GC gc, unsigned long foreground)
}
declare 88 win {
    void XSetClipMask(Display *display, GC gc, Pixmap pixmap)
}
declare 89 win {
    void XSetClipOrigin(Display *display, GC gc,
	    int clip_x_origin, int clip_y_origin)
}
declare 90 win {
    void XSetTSOrigin(Display *display, GC gc,
	    int ts_x_origin, int ts_y_origin)
}
declare 91 win {
    void XChangeGC(Display *d, GC gc, unsigned long mask, XGCValues *values)
}
declare 92 win {
    void XSetFont(Display *display, GC gc, Font font)
}
declare 93 win {
    void XSetArcMode(Display *display, GC gc, int arc_mode)
}
declare 94 win {
    void XSetStipple(Display *display, GC gc, Pixmap stipple)
}
declare 95 win {
    void XSetFillRule(Display *display, GC gc, int fill_rule)
}
declare 96 win {
    void XSetFillStyle(Display *display, GC gc, int fill_style)
}
declare 97 win {
    void XSetFunction(Display *display, GC gc, int function)
}
declare 98 win {
    void XSetLineAttributes(Display *display, GC gc, unsigned int line_width,
	    int line_style, int cap_style, int join_style)
}
declare 99 win {
    int _XInitImageFuncPtrs(XImage *image)
}
declare 100 win {
    XIC XCreateIC(void)
}
declare 101 win {
    XVisualInfo *XGetVisualInfo(Display *display, long vinfo_mask,
	    XVisualInfo *vinfo_template, int *nitems_return)
}
declare 102 win {
    void XSetWMClientMachine(Display *display, Window w,
	    XTextProperty *text_prop)
}
declare 103 win {
    Status XStringListToTextProperty(char **list, int count,
	    XTextProperty *text_prop_return)
}
declare 104 win {
    void XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1,
	    int x2, int y2)
}
declare 106 win {
    void XFillRectangle(Display *display, Drawable d, GC gc,
	    int x, int y, unsigned int width, unsigned int height)
}
declare 105 win {
    void XWarpPointer(Display *d, Window s, Window dw, int sx, int sy,
	    unsigned int sw, unsigned int sh, int dx, int dy)
}

################################
# X functions for Aqua

declare 0 aqua {
    void XSetDashes(Display *display, GC gc, int dash_offset,
	    _Xconst char *dash_list, int n)
}
declare 1 aqua {
    XModifierKeymap *XGetModifierMapping(Display *d)
}
declare 2 aqua {
    XImage *XCreateImage(Display *d, Visual *v, unsigned int ui1, int i1,
	    int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3,
	    int i4)
}
declare 3 aqua {
    XImage *XGetImage(Display *d, Drawable dr, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}
declare 4 aqua {
    char *XGetAtomName(Display *d, Atom a)
}
declare 5 aqua {
    char *XKeysymToString(KeySym k)
}
declare 6 aqua {
    Colormap XCreateColormap(Display *d, Window w, Visual *v, int i)
}
declare 7 aqua {
    GContext XGContextFromGC(GC g)
}
declare 8 aqua {
    KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i)
}
declare 9 aqua {
    KeySym XStringToKeysym(_Xconst char *c)
}
declare 10 aqua {
    Window XRootWindow(Display *d, int i)
}
declare 11 aqua {
    XErrorHandler XSetErrorHandler(XErrorHandler x)
}
declare 12 aqua {
    Status XAllocColor(Display *d, Colormap c, XColor *xp)
}
declare 13 aqua {
    void XBell(Display *d, int i)
}
declare 14 aqua {
    void XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1,
	    int i2, _Xconst unsigned char *c, int i3)
}
declare 15 aqua {
    void XChangeWindowAttributes(Display *d, Window w, unsigned long ul,
	    XSetWindowAttributes *x)
}
declare 16 aqua {
    void XConfigureWindow(Display *d, Window w, unsigned int i,
	    XWindowChanges *x)
}
declare 17 aqua {
    void XCopyArea(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
	    int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 18 aqua {
    void XCopyPlane(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
	    int i2, unsigned int ui1,
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}
declare 19 aqua {
    Pixmap XCreateBitmapFromData(Display *display, Drawable d,
	    _Xconst char *data, unsigned int width, unsigned int height)
}
declare 20 aqua {
    void XDefineCursor(Display *d, Window w, Cursor c)
}
declare 21 aqua {
    void XDestroyWindow(Display *d, Window w)
}
declare 22 aqua {
    void XDrawArc(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 23 aqua {
    void XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2)
}
declare 24 aqua {
    void XDrawRectangle(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2)
}
declare 25 aqua {
    void XFillArc(Display *d, Drawable dr, GC g, int i1, int i2,
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 26 aqua {
    void XFillPolygon(Display *d, Drawable dr, GC g, XPoint *x,
	    int i1, int i2, int i3)
}
declare 27 aqua {
    void XFillRectangles(Display *d, Drawable dr, GC g, XRectangle *x, int i)
}
declare 28 aqua {
    void XFreeColormap(Display *d, Colormap c)
}
declare 29 aqua {
    void XFreeColors(Display *d, Colormap c,
	    unsigned long *ulp, int i, unsigned long ul)
}
declare 30 aqua {
    void XFreeModifiermap(XModifierKeymap *x)
}
declare 31 aqua {
    Status XGetGeometry(Display *d, Drawable dr, Window *w, int *i1,
	    int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3,
	    unsigned int *ui4)
}
declare 32 aqua {
    int XGetWindowProperty(Display *d, Window w, Atom a1, long l1, long l2,
	    Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1,
	    unsigned long *ulp2, unsigned char **cpp)
}
declare 33 aqua {
    int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t)
}
declare 34 aqua {
    int XGrabPointer(Display *d, Window w1, Bool b, unsigned int ui,
	    int i1, int i2, Window w2, Cursor c, Time t)
}
declare 35 aqua {
    KeyCode XKeysymToKeycode(Display *d, KeySym k)
}
declare 36 aqua {
    void XMapWindow(Display *d, Window w)
}
declare 37 aqua {
    void XMoveResizeWindow(Display *d, Window w, int i1, int i2,
	    unsigned int ui1, unsigned int ui2)
}
declare 38 aqua {
    void XMoveWindow(Display *d, Window w, int i1, int i2)
}
declare 39 aqua {
    Bool XQueryPointer(Display *d, Window w1, Window *w2, Window *w3,
	    int *i1, int *i2, int *i3, int *i4, unsigned int *ui)
}
declare 40 aqua {
    void XRaiseWindow(Display *d, Window w)
}
declare 41 aqua {
    void XRefreshKeyboardMapping(XMappingEvent *x)
}
declare 42 aqua {
    void XResizeWindow(Display *d, Window w, unsigned int ui1,
	    unsigned int ui2)
}
declare 43 aqua {
    void XSelectInput(Display *d, Window w, long l)
}
declare 44 aqua {
    Status XSendEvent(Display *d, Window w, Bool b, long l, XEvent *x)
}
declare 45 aqua {
    void XSetIconName(Display *d, Window w, _Xconst char *c)
}
declare 46 aqua {
    void XSetInputFocus(Display *d, Window w, int i, Time t)
}
declare 47 aqua {
    void XSetSelectionOwner(Display *d, Atom a, Window w, Time t)
}
declare 48 aqua {
    void XSetWindowBackground(Display *d, Window w, unsigned long ul)
}
declare 49 aqua {
    void XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p)
}
declare 50 aqua {
    void XSetWindowBorder(Display *d, Window w, unsigned long ul)
}
declare 51 aqua {
    void XSetWindowBorderPixmap(Display *d, Window w, Pixmap p)
}
declare 52 aqua {
    void XSetWindowBorderWidth(Display *d, Window w, unsigned int ui)
}
declare 53 aqua {
    void XSetWindowColormap(Display *d, Window w, Colormap c)
}
declare 54 aqua {
    void XUngrabKeyboard(Display *d, Time t)
}
declare 55 aqua {
    void XUngrabPointer(Display *d, Time t)
}
declare 56 aqua {
    void XUnmapWindow(Display *d, Window w)
}
declare 57 aqua {
    void TkPutImage(unsigned long *colors, int ncolors, Display *display,
	    Drawable d, GC gc, XImage *image, int src_x, int src_y,
	    int dest_x, int dest_y, unsigned int width, unsigned int height)
}
declare 58 aqua {
    Status XParseColor(Display *display, Colormap map,
          _Xconst char *spec, XColor *colorPtr)
}
declare 59 aqua {
    GC XCreateGC(Display *display, Drawable d,
	    unsigned long valuemask, XGCValues *values)
}
declare 60 aqua {
    void XFreeGC(Display *display, GC gc)
}
declare 61 aqua {
    Atom XInternAtom(Display *display, _Xconst char *atom_name,
	    Bool only_if_exists)
}
declare 62 aqua {
    void XSetBackground(Display *display, GC gc, unsigned long foreground)
}
declare 63 aqua {
    void XSetForeground(Display *display, GC gc, unsigned long foreground)
}
declare 64 aqua {
    void XSetClipMask(Display *display, GC gc, Pixmap pixmap)
}
declare 65 aqua {
    void XSetClipOrigin(Display *display, GC gc,
	    int clip_x_origin, int clip_y_origin)
}
declare 66 aqua {
    void XSetTSOrigin(Display *display, GC gc,
	    int ts_x_origin, int ts_y_origin)
}
declare 67 aqua {
    void XChangeGC(Display *d, GC gc, unsigned long mask, XGCValues *values)
}
declare 68 aqua {
    void XSetFont(Display *display, GC gc, Font font)
}
declare 69 aqua {
    void XSetArcMode(Display *display, GC gc, int arc_mode)
}
declare 70 aqua {
    void XSetStipple(Display *display, GC gc, Pixmap stipple)
}
declare 71 aqua {
    void XSetFillRule(Display *display, GC gc, int fill_rule)
}
declare 72 aqua {
    void XSetFillStyle(Display *display, GC gc, int fill_style)
}
declare 73 aqua {
    void XSetFunction(Display *display, GC gc, int function)
}
declare 74 aqua {
    void XSetLineAttributes(Display *display, GC gc,
	    unsigned int line_width, int line_style,
	    int cap_style, int join_style)
}
declare 75 aqua {
    int _XInitImageFuncPtrs(XImage *image)
}
declare 76 aqua {
    XIC XCreateIC(void)
}
declare 77 aqua {
    XVisualInfo *XGetVisualInfo(Display *display, long vinfo_mask,
	    XVisualInfo *vinfo_template, int *nitems_return)
}
declare 78 aqua {
    void XSetWMClientMachine(Display *display, Window w,
	    XTextProperty *text_prop)
}
declare 79 aqua {
    Status XStringListToTextProperty(char **list, int count,
	    XTextProperty *text_prop_return)
}
declare 80 aqua {
    void XDrawSegments(Display *display, Drawable d, GC gc,
	    XSegment *segments, int nsegments)
}
declare 81 aqua {
    void XForceScreenSaver(Display *display, int mode)
}
declare 82 aqua {
    void XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1,
	    int x2, int y2)
}
declare 83 aqua {
    void XFillRectangle(Display *display, Drawable d, GC gc,
	    int x, int y, unsigned int width, unsigned int height)
}
declare 84 aqua {
    void XClearWindow(Display *d, Window w)
}
declare 85 aqua {
    void XDrawPoint(Display *display, Drawable d, GC gc, int x, int y)
}
declare 86 aqua {
    void XDrawPoints(Display *display, Drawable d, GC gc, XPoint *points,
	    int npoints, int mode)
}
declare 87 aqua {
    void XWarpPointer(Display *display, Window src_w, Window dest_w,
	    int src_x, int src_y, unsigned int src_width,
	    unsigned int src_height, int dest_x, int dest_y)
}
declare 88 aqua {
    void XQueryColor(Display *display, Colormap colormap, XColor *def_in_out)
}
declare 89 aqua {
    void XQueryColors(Display *display, Colormap colormap,
	    XColor *defs_in_out, int ncolors)
}
declare 90 aqua {
    Status XQueryTree(Display *d, Window w1, Window *w2, Window *w3,
	    Window **w4, unsigned int *ui)
}
declare 91 aqua {
    int XSync(Display *display, Bool flag)
}

# Local Variables:
# mode: tcl
# End:
@


1.66
log
@	* generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):
	Expose angled text API for Emiliano Gavilan. Still only in internal
	stub table.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.65 2010/09/28 10:42:05 nijtmans Exp $
d621 1
a621 1
	    int lastChar);
d626 1
a626 1
	    int underline);
d630 1
a630 1
	    int width, int height, double angle);
d635 1
a635 1
	    double y, double angle);
@


1.65
log
@Add explicit scspec "EXTERN", as in Tcl
Don't let Tk_MainEx macro disturb compilation
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.64 2010/09/20 21:18:22 nijtmans Exp $
d616 21
d992 1
a992 1

@


1.64
log
@clean-up, port all genStubs.tcl changes
from Tcl to ttkGenStubs.tcl as well
(no change in any output files)
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.63 2010/06/21 12:14:08 nijtmans Exp $
d22 1
@


1.63
log
@[Patch #2999889] TkCopyAndGlobalEval obsolete
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.62 2010/06/19 16:18:41 jenglish Exp $
d28 1
a28 1
declare 0 generic {
d32 1
a32 1
declare 1 generic {
d35 1
a35 1
declare 2 generic {
d42 1
a42 1
declare 4 generic {
d45 1
a45 1
declare 5 generic {
d48 1
a48 1
declare 6 generic {
d51 1
a51 1
declare 7 generic {
d54 1
a54 1
declare 8 generic {
d57 1
a57 1
declare 9 generic {
d65 1
a65 1
declare 12 generic {
d70 1
a70 1
declare 13 generic {
d74 1
a74 1
declare 14 generic {
d78 1
a78 1
declare 15 generic {
d81 1
a81 1
declare 16 generic {
d84 1
a84 1
declare 17 generic {
d87 1
a87 1
declare 18 generic {
d91 1
a91 1
declare 19 generic {
d94 1
a94 1
declare 20 generic {
d98 1
a98 1
declare 21 generic {
d102 1
a102 1
declare 22 generic {
d105 1
a105 1
declare 23 generic {
d108 1
a108 1
declare 24 generic {
d111 1
a111 1
declare 25 generic {
d114 1
a114 1
declare 26 generic {
d117 1
a117 1
declare 27 generic {
d120 1
a120 1
declare 28 generic {
d125 1
a125 1
declare 29 generic {
d128 1
a128 1
declare 30 generic {
d133 1
a133 1
declare 31 generic {
d137 1
a137 1
declare 32 generic {
d141 1
a141 1
declare 33 generic {
d145 1
a145 1
declare 34 generic {
d148 1
a148 1
declare 35 generic {
d152 1
a152 1
declare 36 generic {
d155 1
a155 1
declare 37 generic {
d158 1
a158 1
declare 38 generic {
d162 1
a162 1
declare 39 generic {
d165 1
a165 1
declare 40 generic {
d168 1
a168 1
declare 41 generic {
d171 1
a171 1
declare 42 generic {
d174 1
a174 1
declare 43 generic {
d177 1
a177 1
declare 44 generic {
d182 1
a182 1
declare 45 generic {
d185 1
a185 1
declare 46 generic {
d188 1
a188 1
declare 47 generic {
d191 1
a191 1
declare 48 generic {
d194 1
a194 1
declare 49 generic {
d198 1
a198 1
declare 50 generic {
d202 1
a202 1
declare 51 generic {
d205 1
a205 1
declare 52 generic {
d208 1
a208 1
declare 53 generic {
d211 1
a211 1
declare 54 generic {
d215 1
a215 1
declare 55 generic {
d218 1
a218 1
declare 56 generic {
d221 1
a221 1
declare 57 generic {
d224 1
a224 1
declare 58 generic {
d227 1
a227 1
declare 59 generic {
d230 1
a230 1
declare 60 generic {
d233 1
a233 1
declare 61 generic {
d236 1
a236 1
declare 62 generic {
d239 1
a239 1
declare 63 generic {
d243 1
a243 1
declare 64 generic {
d246 1
a246 1
declare 65 generic {
d249 1
a249 1
declare 66 generic {
d252 1
a252 1
declare 67 generic {
d255 1
a255 1
declare 68 generic {
d258 1
a258 1
declare 69 generic {
d261 1
a261 1
declare 70 generic {
d264 1
a264 1
declare 71 generic {
d267 1
a267 1
declare 72 generic {
d270 1
a270 1
declare 73 generic {
d273 1
a273 1
declare 74 generic {
d276 1
a276 1
declare 75 generic {
d279 1
a279 1
declare 77 generic {
d282 1
a282 1
declare 78 generic {
d287 1
a287 1
declare 79 generic {
d291 1
a291 1
declare 80 generic {
d294 1
a294 1
declare 81 generic {
d297 1
a297 1
declare 82 generic {
d300 1
a300 1
declare 83 generic {
d305 1
a305 1
#declare 84 generic {
d310 1
a310 1
declare 85 generic {
d314 1
a314 1
declare 86 generic {
d317 1
a317 1
declare 87 generic {
d321 1
a321 1
declare 88 generic {
d324 1
a324 1
declare 89 generic {
d327 1
a327 1
declare 90 generic {
d330 1
a330 1
declare 91 generic {
d333 1
a333 1
declare 92 generic {
d336 1
a336 1
declare 93 generic {
d339 1
a339 1
declare 94 generic {
d342 1
a342 1
declare 95 generic {
d346 1
a346 1
declare 96 generic {
d349 1
a349 1
declare 97 generic {
d355 1
a355 1
declare 98 generic {
d358 1
a358 1
declare 99 generic {
d361 1
a361 1
declare 100 generic {
d364 1
a364 1
declare 101 generic {
d367 1
a367 1
declare 102 generic {
d370 1
a370 1
declare 103 generic {
d373 1
a373 1
declare 104 generic {
d377 1
a377 1
declare 105 generic {
d380 1
a380 1
declare 106 generic {
d383 1
a383 1
declare 107 generic {
d386 1
a386 1
declare 108 generic {
d390 1
a390 1
declare 109 generic {
d393 1
a393 1
declare 110 generic {
d396 1
a396 1
declare 111 generic {
d400 1
a400 1
declare 112 generic {
d436 1
a436 1
declare 135 generic {
d440 1
a440 1
declare 136 generic {
d443 1
a443 1
declare 137 generic {
d447 1
a447 1
declare 138 generic {
d450 1
a450 1
declare 139 generic {
d453 1
a453 1
declare 140 generic {
d456 1
a456 1
declare 141 generic {
d459 1
a459 1
declare 142 generic {
d462 1
a462 1
declare 143 generic {
d465 1
a465 1
declare 144 generic {
d471 1
a471 1
declare 146 generic {
d474 1
a474 1
declare 147 generic {
d477 1
a477 1
declare 148 generic {
d481 1
a481 1
declare 149 generic {
d487 1
a487 1
declare 150 generic {
d491 1
a491 1
declare 151 generic {
d495 1
a495 1
declare 152 generic {
d499 1
a499 1
declare 153 generic {
d502 1
a502 1
declare 154 generic {
d507 1
a507 1
declare 156 generic {
d511 1
a511 1
declare 157 generic {
d515 1
a515 1
declare 158 generic {
d520 1
a520 1
declare 159 generic {
d524 1
a524 1
declare 160 generic {
d529 1
a529 1
declare 161 generic {
d534 1
a534 1
declare 162 generic {
d539 1
a539 1
declare 163 generic {
d543 1
a543 1
declare 164 generic {
d547 1
a547 1
declare 165 generic {
d551 1
a551 1
declare 166 generic {
d556 1
a556 1
declare 167 generic {
d560 1
a560 1
declare 168 generic {
d567 1
a567 1
declare 169 generic {
d571 1
a571 1
declare 170 generic {
d575 1
a575 1
declare 171 generic {
d579 1
a579 1
declare 172 generic {
d583 1
a583 1
declare 173 generic {
d587 1
a587 1
declare 174 generic {
d591 1
a591 1
declare 175 generic {
d595 1
a595 1
declare 176 generic {
d599 1
a599 1
declare 177 generic {
d603 1
a603 1
declare 178 generic {
d607 1
a607 1
declare 179 generic {
d611 1
a611 1
declare 180 generic {
@


1.62
log
@[Patch 3009998]: Replace binding procedures with ordinary event handlers
in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c.

Simplifications enabled by previous change:

    * TkCreateBindingProcedure() and associated machinery no longer needed.
    * TkBindDeadWindow() no longer needed.
    * TK_DEFER_MODAL_LOOP and associated machinery no longer needed.
    * Tests related to C binding procedures no longer needed.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.61 2010/05/10 20:58:18 nijtmans Exp $
a60 3
declare 10 generic {
    int TkCopyAndGlobalEval(Tcl_Interp *interp, const char *script)
}
d62 1
@


1.61
log
@CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,
TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar
Bring Tk_CreateBinding doc and signature (param name) in line.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.60 2009/12/16 22:00:31 nijtmans Exp $
d39 3
a41 3
declare 3 generic {
    void TkBindDeadWindow(TkWindow *winPtr)
}
d64 3
a66 6
declare 11 generic {
    unsigned long TkCreateBindingProcedure(Tcl_Interp *interp,
	    Tk_BindingTable bindingTable, ClientData object,
	    const char *eventString, TkBindEvalProc *evalProc,
	    TkBindFreeProc *freeProc, ClientData clientData)
}
@


1.60
log
@CONSTify return values of TkKeysymToString,
TkFindStateString, TkpGetString, TkpGetChar,
which are all not supposed to be modified by
the caller. In tkUtil.c this gets rid of a
dangerous type cast.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.59 2009/12/12 00:23:49 nijtmans Exp $
d62 1
a62 1
    int TkCopyAndGlobalEval(Tcl_Interp *interp, char *script)
d258 1
a258 1
    void TkpMenuNotifyToplevelCreate(Tcl_Interp *interp1, char *menuName)
d279 1
a279 1
    void TkpSetMainMenubar(Tcl_Interp *interp, Tk_Window tkwin, char *menuName)
d317 1
a317 1
	    char *oldMenuName, char *menuName)
@


1.59
log
@[Bugs 220600, 220690]: Comment that TkWinChildProc is exported
through the stubs table since 8.5.9
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.58 2009/12/02 21:16:44 nijtmans Exp $
d108 1
a108 1
    char *TkFindStateString(const TkStateMap *mapPtr, int numKey)
d191 1
a191 1
    char *TkKeysymToString(KeySym keysym)
d396 1
a396 1
    char *TkpGetString(TkWindow *winPtr, XEvent *eventPtr, Tcl_DString *dsPtr)
@


1.58
log
@win/Makefile.in     Use tktest86.dll for all tests.
win/tkWinInt.h      mark various functions MODULE_SCOPE
generic/tkInt.decls make TkWinChildProc available in private
    stub table. [Bug #220600] and [Bug #220690].
generic/tkIntPlatDecls.h (regenerated)
generic/tkStubInit.c (regenerated)
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.57 2009/06/29 14:35:01 das Exp $
d786 1
a786 1
# new for 8.6
@


1.57
log
@Merge of TkAqua Cocoa port
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.56 2009/06/27 19:33:35 nijtmans Exp $
d786 7
@


1.56
log
@Expose TkSmooth(Parse|Print)Proc through the internal stub table. It was the last set of internal function of this type which was not exposed yet.
Removed TkTile(Parse|Print)Proc from tkInt.h, because they don't exist.
Follow-up to [Bug 2804935], now all Tk*(Parse|Print)Proc functions are exposed through the internal stub table.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.55 2009/06/12 12:46:11 dkf Exp $
d839 1
a839 1
    int TkMacOSXDoHLEvent(EventRecord *theEvent)
d844 1
a844 1
#    GWorldPtr TkMacOSXGetDrawablePort(Drawable drawable)
d848 1
a848 1
    Window TkMacOSXGetXWindow(WindowRef macWinPtr)
d851 1
a851 1
    int TkMacOSXGrowToplevel(WindowRef whichWindow, Point start)
d854 1
a854 1
    void TkMacOSXHandleMenuSelect(MenuID theMenu, MenuItemIndex theItem,
d877 1
a877 1
    BitMapPtr TkMacOSXMakeStippleMap(Drawable d1, Drawable d2)
d883 1
a883 1
    void TkMacOSXRegisterOffScreenWindow(Window window, GWorldPtr portPtr)
d898 1
a898 1
    void TkMacOSXSetUpGraphicsPort(GC gc, GWorldPtr destPort)
d904 1
a904 1
    void TkMacOSXUnregisterMacWindow(WindowRef portPtr)
d910 1
a910 1
    RgnHandle TkMacOSXVisableClipRgn(TkWindow *winPtr)
d913 1
a913 1
    void TkMacOSXWinBounds(TkWindow *winPtr, Rect *geometry)
d916 1
a916 1
    void TkMacOSXWindowOffset(WindowRef wRef, int *xOffset, int *yOffset)
d919 1
a919 1
    int TkSetMacColor(unsigned long pixel, RGBColor *macColor)
d928 1
a928 1
    int TkMacOSXZoomToplevel(WindowPtr whichWindow, short zoomPart)
d944 1
a944 1
    int TkpIsWindowFloating(WindowRef window)
@


1.55
log
@Move another two entries to the internal stub table from MODULE_SCOPE.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.54 2009/04/27 10:31:35 dkf Exp $
d577 1
a577 1
    const char *TkStatePrintProc(ClientData clientData, Tk_Window tkwin,
d585 1
a585 1
    const char *TkCanvasDashPrintProc(ClientData clientData, Tk_Window tkwin,
d593 1
a593 1
    const char *TkOffsetPrintProc(ClientData clientData, Tk_Window tkwin,
d601 1
a601 1
    const char *TkPixelPrintProc(ClientData clientData, Tk_Window tkwin,
d609 9
a617 1
    const char *TkOrientPrintProc(ClientData clientData, Tk_Window tkwin,
@


1.54
log
@Private-export functions that were being used in extensions. [Bug 2768945]
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.53 2009/02/27 23:23:35 nijtmans Exp $
d604 8
@


1.53
log
@[Feature Request 2636558] Tk_DefineBitmap
and Tk_GetBitmapFromData signature problem
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.52 2009/01/09 07:03:31 nijtmans Exp $
d16 2
d571 34
a604 1

d1657 4
@


1.52
log
@CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmap
TkDebugColor, TkDebugCursor, TkDebugFont
All those mods TIP #27 complient, no incompatibility risks.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.51 2008/12/05 15:51:31 nijtmans Exp $
d430 1
a430 1
    Pixmap TkpCreateNativeBitmap(Display *display, const char *source)
d744 1
a744 1
#    Pixmap TkpCreateNativeBitmap(Display *display, const char *source)
@


1.51
log
@undid previous 'fix': 'const' is only useful for pointers, not for
opaque types. Therefore it should not have slipped in here.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.50 2008/12/04 21:33:25 nijtmans Exp $
d318 1
a318 1
    KeySym TkStringToKeysym(char *name)
d359 1
a359 1
    Tcl_Obj *TkDebugBitmap(Tk_Window tkwin, char *name)
d362 1
a362 1
    Tcl_Obj *TkDebugBorder(Tk_Window tkwin, char *name)
d365 1
a365 1
    Tcl_Obj *TkDebugCursor(Tk_Window tkwin, char *name)
d368 1
a368 1
    Tcl_Obj *TkDebugColor(Tk_Window tkwin, char *name)
d374 1
a374 1
    Tcl_Obj *TkDebugFont(Tk_Window tkwin, char *name)
@


1.50
log
@Move 10 functions from tkText.h to
stub table [Feature Request 220906]
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.49 2008/11/05 23:29:58 nijtmans Exp $
d538 1
a538 1
    struct TkTextIndex *TkTextMakeByteIndex(const TkTextBTree tree,
@


1.49
log
@no need to use CONST in internal header files
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.48 2008/11/05 22:48:58 nijtmans Exp $
d519 1
a519 1
    int	TkSelGetSelection(Tcl_Interp *interp, Tk_Window tkwin,
d523 46
@


1.48
log
@CONSTify string and fileName parameters of TkGetBitmapData
more internal -Wwrite-string warning fixes
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.47 2008/10/28 22:33:06 nijtmans Exp $
d75 1
a75 1
	    int argc, CONST86 char *const *argv, int toplevel, const char *appName)
d145 1
a145 1
    CONST84_RETURN char *TkGetDefaultScreenName(Tcl_Interp *interp,
@


1.47
log
@CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindow
and Tk_ParseArgv. move TkSelGetSelection to internal stub table
(needed in tkWinTest.c)
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.46 2008/10/22 20:56:43 nijtmans Exp $
d132 3
a134 2
    char *TkGetBitmapData(Tcl_Interp *interp, char *string, char *fileName,
	    int *widthPtr, int *heightPtr, int *hotXPtr, int *hotYPtr)
@


1.46
log
@Letting CONST die a slow and graceful death, since NO_CONST was
broken since 8.4 and no-one complained about it.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.45 2008/08/19 15:52:11 georgeps Exp $
d75 1
a75 1
	    int argc, char **argv, int toplevel, char *appName)
d79 1
a79 1
	    const char *screenName, char *baseName)
d517 5
@


1.45
log
@        After some discussion with Joe English and subsequently the
        X.org developers (Keith Packard in particular), it was discovered
        that Tk is doing management of XIDs that it shouldn't need to do.
        The very common XC-MISC extension which has come with every version
        of X for the last 15 years is used with Xlib now, to retrieve the
        information about the used/unused XIDs.

        The public Tk_FreeXId is now a no-op.

        Joe English reviewed the patch, and said "please commit."
        The patch is associated with the bug tracker id: 2039720

        generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted.
        generic/tkInt.decls: Update the declarations for the now unused
                internalstubs.
        generic/tkIntDecls.h: Regenerated based on tkInt.decls.
        generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls.
        generic/tkStubInit.c
        generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId.

        macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro
                definitions.
        macosx/tkMacOSXXStubs.c: Remove the no-op
                TkpWindowWasRecentlyDeleted.

        unix/tkUnixEvent.c: Remove call to TkFreeXId.
        unix/tkUnixXId.c: Remove a lot of unnecessary code (see above).

        win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId.
        win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44 2007/12/13 15:24:14 dgp Exp $
d65 1
a65 1
	    CONST char *eventString, TkBindEvalProc *evalProc,
d70 1
a70 1
	    CONST char *source, CONST char *mask, int width, int height,
d79 1
a79 1
	    CONST char *screenName, char *baseName)
d102 2
a103 2
    int TkFindStateNum(Tcl_Interp *interp, CONST char *option,
	    CONST TkStateMap *mapPtr, CONST char *strKey)
d106 1
a106 1
    char *TkFindStateString(CONST TkStateMap *mapPtr, int numKey)
d145 1
a145 1
	    CONST char *screenName)
d151 1
a151 1
    int TkGetDisplayOf(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[],
d227 1
a227 1
    void TkpDisplayWarning(CONST char *msg, CONST char *title)
d258 1
a258 1
    TkDisplay *TkpOpenDisplay(CONST char *display_name)
d279 1
a279 1
    int TkpUseWindow(Tcl_Interp *interp, Tk_Window tkwin, CONST char *string)
d285 1
a285 1
    int TkReadBitmapFile(Display *display, Drawable d, CONST char *filename,
d377 1
a377 1
	    CONST TkStateMap *mapPtr, Tcl_Obj *keyPtr)
d400 1
a400 1
	    CONST char *dbName, CONST char *className)
d429 1
a429 1
    Pixmap TkpCreateNativeBitmap(Display *display, CONST char *source)
d436 1
a436 1
 	    CONST char *name, int *width, int *height)
d481 1
a481 1
	    CONST char *cmdName)
d484 1
a484 1
    CONST Tk_OptionSpec *TkGetOptionSpec(CONST char *name,
d511 1
a511 1
	    CONST char **argv)
d515 1
a515 1
	    CONST char **argv)
d547 1
a547 1
    int TkpScanWindowId(Tcl_Interp *interp, CONST char *string, Window *idPtr)
d561 1
a561 1
	    CONST char **argv)
d583 1
a583 1
    int TkpScanWindowId(Tcl_Interp *interp, CONST char *string, Window *idPtr)
d668 1
a668 1
	    CONST char *dbName, CONST char *className)
d692 1
a692 1
#    Pixmap TkpCreateNativeBitmap(Display *display, CONST char *source)
d1093 1
a1093 1
    void XSetCommand(Display *d, Window w, CONST char **c, int i)
@


1.44
log
@merge stable branch onto HEAD
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.42.2.1 2007/12/10 18:39:29 dgp Exp $
a280 3
declare 76 generic {
    int TkpWindowWasRecentlyDeleted(Window win, TkDisplay *dispPtr)
}
a530 6
declare 1 x11 {
    void TkFreeWindowId(TkDisplay *dispPtr, Window w)
}
declare 2 x11 {
    void TkInitXId(TkDisplay *dispPtr)
}
a554 3
declare 11 x11 {
    void TkFreeXId(TkDisplay *dispPtr)
}
@


1.44.2.1
log
@Private-export functions that were being used in extensions. [Bug 2768945]
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44 2007/12/13 15:24:14 dgp Exp $
a520 35
# Next group of functions exposed due to [Bug 2768945]. Numbers are chosen so
# as to match 8.6 branch/HEAD.
declare 169 generic {
    int TkStateParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 170 generic {
    char *TkStatePrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 171 generic {
    int TkCanvasDashParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 172 generic {
    char *TkCanvasDashPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 173 generic {
    int TkOffsetParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 174 generic {
    char *TkOffsetPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 175 generic {
    int TkPixelParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, const char *value, char *widgRec, int offset)
}
declare 176 generic {
    char *TkPixelPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}

@


1.44.2.2
log
@Expose TkSmooth(Parse|Print)Proc through the internal stub table. It was the last set of internal function of this type which was not exposed yet.
Removed TkTile(Parse|Print)Proc from tkInt.h, because they don't exist.
Follow-up to [Bug 2804935], now all Tk*(Parse|Print)Proc functions are exposed through the internal stub table.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44.2.1 2009/04/27 10:39:57 dkf Exp $
a554 16
declare 177 generic {
    int TkOrientParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
}
declare 178 generic {
    char *TkOrientPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
declare 179 generic {
    int TkSmoothParseProc(ClientData clientData, Tcl_Interp *interp,
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
}
declare 180 generic {
    char *TkSmoothPrintProc(ClientData clientData, Tk_Window tkwin,
	    char *widgRec, int offset, Tcl_FreeProc **freeProcPtr)
}
@


1.44.2.3
log
@doc/GetHINSTANCE.3       correct mentioned header file
make TkWinChildProc available in private
stub table. [Bug #220600] and [Bug #220690].
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44.2.2 2009/06/27 19:53:16 nijtmans Exp $
a15 2

##############################################################################
d571 1
a571 1

a745 7
# new for 8.6

declare 36 win {
    LRESULT CALLBACK TkWinChildProc(HWND hwnd,
	    UINT message, WPARAM wParam, LPARAM lParam)
}

a1632 4

# Local Variables:
# mode: tcl
# End:
@


1.44.2.4
log
@[Bugs 220600, 220690]: Comment that TkWinChildProc is exported
through the stubs table since 8.5.9
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44.2.3 2009/12/02 22:20:01 nijtmans Exp $
d748 1
a748 1
# Exported through stub table since Tk 8.5.9
@


1.44.2.5
log
@Backport various formatting (spacing)
changes from HEAD, so diffing
between 8.5.x and 8.6 shows the
real structural differences again.
(any signature change not backported!)
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.44.2.4 2009/12/12 00:20:54 nijtmans Exp $
d134 2
a135 3
    char *TkGetBitmapData(Tcl_Interp *interp, char *string,
	    char *fileName, int *widthPtr, int *heightPtr,
	    int *hotXPtr, int *hotYPtr)
d527 1
a527 1
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
d535 1
a535 1
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
d543 1
a543 1
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
d551 1
a551 1
	    Tk_Window tkwin, CONST char *value, char *widgRec, int offset)
@


1.43
log
@	* generic/tk.decls:		use new genstubs 'export' command to
	* generic/tkInt.decls:		mark exported symbols not in stubs
					table [FR 1716117]; cleanup formatting.
@
text
@d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.42 2005/12/09 00:48:52 das Exp $
@


1.42
log
@	* generic/tkInt.decls:   move all platform test sources from tk lib into
	* generic/tkTest.c:      tktest directly, removes requirement to export
	* macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table.
	* unix/Makefile.in:
	* win/Makefile.in:
	* win/makefile.vc:
	* win/tkWinTest.c:

	* generic/tkIntPlatDecls.h:
	* generic/tkStubInit.c: regen.
@
text
@d8 1
d13 1
a13 1
# RCS: @@(#) $Id: tkInt.decls,v 1.41 2005/11/27 02:36:13 das Exp $
a130 1

d431 1
a431 1
declare 121 {aqua} {
d434 1
a434 1
declare 122 {aqua} {
d437 1
a437 1
declare 124 {aqua} {
a499 1

a503 1

d528 1
a528 1
#########################
d576 1
a576 1
############################
d695 2
a696 2
########################
# Mac OS X specific functions
d763 2
a764 1
    void TkMacOSXHandleMenuSelect(MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed)
d885 1
a931 1

d1259 1
d1262 1
a1262 1
declare 0 {aqua} {
d1266 1
a1266 1
declare 1 {aqua} {
d1269 1
a1269 1
declare 2 {aqua} {
d1274 1
a1274 1
declare 3 {aqua} {
d1278 1
a1278 1
declare 4 {aqua} {
d1281 1
a1281 1
declare 5 {aqua} {
d1284 1
a1284 1
declare 6 {aqua} {
d1287 1
a1287 1
declare 7 {aqua} {
d1290 1
a1290 1
declare 8 {aqua} {
d1293 1
a1293 1
declare 9 {aqua} {
d1296 1
a1296 1
declare 10 {aqua} {
d1299 1
a1299 1
declare 11 {aqua} {
d1302 1
a1302 1
declare 12 {aqua} {
d1305 1
a1305 1
declare 13 {aqua} {
d1308 1
a1308 1
declare 14 {aqua} {
d1312 1
a1312 1
declare 15 {aqua} {
d1316 1
a1316 1
declare 16 {aqua} {
d1320 1
a1320 1
declare 17 {aqua} {
d1324 1
a1324 1
declare 18 {aqua} {
d1329 1
a1329 1
declare 19 {aqua} {
d1333 1
a1333 1
declare 20 {aqua} {
d1336 1
a1336 1
declare 21 {aqua} {
d1339 1
a1339 1
declare 22 {aqua} {
d1343 1
a1343 1
declare 23 {aqua} {
d1346 1
a1346 1
declare 24 {aqua} {
d1350 1
a1350 1
declare 25 {aqua} {
d1354 1
a1354 1
declare 26 {aqua} {
d1358 1
a1358 1
declare 27 {aqua} {
d1361 1
a1361 1
declare 28 {aqua} {
d1364 1
a1364 1
declare 29 {aqua} {
d1368 1
a1368 1
declare 30 {aqua} {
d1371 1
a1371 1
declare 31 {aqua} {
d1376 1
a1376 1
declare 32 {aqua} {
d1381 1
a1381 1
declare 33 {aqua} {
d1384 1
a1384 1
declare 34 {aqua} {
d1388 1
a1388 1
declare 35 {aqua} {
d1391 1
a1391 1
declare 36 {aqua} {
d1394 1
a1394 1
declare 37 {aqua} {
d1398 1
a1398 1
declare 38 {aqua} {
d1401 1
a1401 1
declare 39 {aqua} {
d1405 1
a1405 1
declare 40 {aqua} {
d1408 1
a1408 1
declare 41 {aqua} {
d1411 1
a1411 1
declare 42 {aqua} {
d1415 1
a1415 1
declare 43 {aqua} {
d1418 1
a1418 1
declare 44 {aqua} {
d1421 1
a1421 1
declare 45 {aqua} {
d1424 1
a1424 1
declare 46 {aqua} {
d1427 1
a1427 1
declare 47 {aqua} {
d1430 1
a1430 1
declare 48 {aqua} {
d1433 1
a1433 1
declare 49 {aqua} {
d1436 1
a1436 1
declare 50 {aqua} {
d1439 1
a1439 1
declare 51 {aqua} {
d1442 1
a1442 1
declare 52 {aqua} {
d1445 1
a1445 1
declare 53 {aqua} {
d1448 1
a1448 1
declare 54 {aqua} {
d1451 1
a1451 1
declare 55 {aqua} {
d1454 1
a1454 1
declare 56 {aqua} {
d1457 1
a1457 1
declare 57 {aqua} {
d1462 1
a1462 1
declare 58 {aqua} {
d1466 1
a1466 1
declare 59 {aqua} {
d1470 1
a1470 1
declare 60 {aqua} {
d1473 1
a1473 1
declare 61 {aqua} {
d1477 1
a1477 1
declare 62 {aqua} {
d1480 1
a1480 1
declare 63 {aqua} {
d1483 1
a1483 1
declare 64 {aqua} {
d1486 1
a1486 1
declare 65 {aqua} {
d1490 1
a1490 1
declare 66 {aqua} {
d1494 1
a1494 1
declare 67 {aqua} {
d1497 1
a1497 1
declare 68 {aqua} {
d1500 1
a1500 1
declare 69 {aqua} {
d1503 1
a1503 1
declare 70 {aqua} {
d1506 1
a1506 1
declare 71 {aqua} {
d1509 1
a1509 1
declare 72 {aqua} {
d1512 1
a1512 1
declare 73 {aqua} {
d1515 1
a1515 1
declare 74 {aqua} {
d1520 1
a1520 1
declare 75 {aqua} {
d1523 1
a1523 1
declare 76 {aqua} {
d1526 1
a1526 1
declare 77 {aqua} {
d1530 1
a1530 1
declare 78 {aqua} {
d1534 1
a1534 1
declare 79 {aqua} {
d1538 1
a1538 1
declare 80 {aqua} {
d1542 1
a1542 1
declare 81 {aqua} {
d1545 1
a1545 1
declare 82 {aqua} {
d1549 1
a1549 1
declare 83 {aqua} {
d1553 1
a1553 1
declare 84 {aqua} {
d1556 1
a1556 1
declare 85 {aqua} {
d1559 1
a1559 1
declare 86 {aqua} {
d1563 1
a1563 1
declare 87 {aqua} {
d1568 1
a1568 1
declare 88 {aqua} {
d1571 1
a1571 1
declare 89 {aqua} {
d1575 1
a1575 1
declare 90 {aqua} {
d1579 1
a1579 1
declare 91 {aqua} {
@


1.42.2.1
log
@merge updates from HEAD
@
text
@a7 1
# Copyright (c) 2007 Daniel A. Steffen <das@@users.sourceforge.net>
d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.42 2005/12/09 00:48:52 das Exp $
d130 1
d431 1
a431 1
declare 121 aqua {
d434 1
a434 1
declare 122 aqua {
d437 1
a437 1
declare 124 aqua {
d500 1
d505 1
d530 1
a530 1
################################
d578 1
a578 1
################################
d697 2
a698 2
################################
# Aqua specific functions
d765 1
a765 2
    void TkMacOSXHandleMenuSelect(MenuID theMenu, MenuItemIndex theItem,
	    int optionKeyPressed)
a885 1
################################
d932 1
a1259 1
################################
d1262 1
a1262 1
declare 0 aqua {
d1266 1
a1266 1
declare 1 aqua {
d1269 1
a1269 1
declare 2 aqua {
d1274 1
a1274 1
declare 3 aqua {
d1278 1
a1278 1
declare 4 aqua {
d1281 1
a1281 1
declare 5 aqua {
d1284 1
a1284 1
declare 6 aqua {
d1287 1
a1287 1
declare 7 aqua {
d1290 1
a1290 1
declare 8 aqua {
d1293 1
a1293 1
declare 9 aqua {
d1296 1
a1296 1
declare 10 aqua {
d1299 1
a1299 1
declare 11 aqua {
d1302 1
a1302 1
declare 12 aqua {
d1305 1
a1305 1
declare 13 aqua {
d1308 1
a1308 1
declare 14 aqua {
d1312 1
a1312 1
declare 15 aqua {
d1316 1
a1316 1
declare 16 aqua {
d1320 1
a1320 1
declare 17 aqua {
d1324 1
a1324 1
declare 18 aqua {
d1329 1
a1329 1
declare 19 aqua {
d1333 1
a1333 1
declare 20 aqua {
d1336 1
a1336 1
declare 21 aqua {
d1339 1
a1339 1
declare 22 aqua {
d1343 1
a1343 1
declare 23 aqua {
d1346 1
a1346 1
declare 24 aqua {
d1350 1
a1350 1
declare 25 aqua {
d1354 1
a1354 1
declare 26 aqua {
d1358 1
a1358 1
declare 27 aqua {
d1361 1
a1361 1
declare 28 aqua {
d1364 1
a1364 1
declare 29 aqua {
d1368 1
a1368 1
declare 30 aqua {
d1371 1
a1371 1
declare 31 aqua {
d1376 1
a1376 1
declare 32 aqua {
d1381 1
a1381 1
declare 33 aqua {
d1384 1
a1384 1
declare 34 aqua {
d1388 1
a1388 1
declare 35 aqua {
d1391 1
a1391 1
declare 36 aqua {
d1394 1
a1394 1
declare 37 aqua {
d1398 1
a1398 1
declare 38 aqua {
d1401 1
a1401 1
declare 39 aqua {
d1405 1
a1405 1
declare 40 aqua {
d1408 1
a1408 1
declare 41 aqua {
d1411 1
a1411 1
declare 42 aqua {
d1415 1
a1415 1
declare 43 aqua {
d1418 1
a1418 1
declare 44 aqua {
d1421 1
a1421 1
declare 45 aqua {
d1424 1
a1424 1
declare 46 aqua {
d1427 1
a1427 1
declare 47 aqua {
d1430 1
a1430 1
declare 48 aqua {
d1433 1
a1433 1
declare 49 aqua {
d1436 1
a1436 1
declare 50 aqua {
d1439 1
a1439 1
declare 51 aqua {
d1442 1
a1442 1
declare 52 aqua {
d1445 1
a1445 1
declare 53 aqua {
d1448 1
a1448 1
declare 54 aqua {
d1451 1
a1451 1
declare 55 aqua {
d1454 1
a1454 1
declare 56 aqua {
d1457 1
a1457 1
declare 57 aqua {
d1462 1
a1462 1
declare 58 aqua {
d1466 1
a1466 1
declare 59 aqua {
d1470 1
a1470 1
declare 60 aqua {
d1473 1
a1473 1
declare 61 aqua {
d1477 1
a1477 1
declare 62 aqua {
d1480 1
a1480 1
declare 63 aqua {
d1483 1
a1483 1
declare 64 aqua {
d1486 1
a1486 1
declare 65 aqua {
d1490 1
a1490 1
declare 66 aqua {
d1494 1
a1494 1
declare 67 aqua {
d1497 1
a1497 1
declare 68 aqua {
d1500 1
a1500 1
declare 69 aqua {
d1503 1
a1503 1
declare 70 aqua {
d1506 1
a1506 1
declare 71 aqua {
d1509 1
a1509 1
declare 72 aqua {
d1512 1
a1512 1
declare 73 aqua {
d1515 1
a1515 1
declare 74 aqua {
d1520 1
a1520 1
declare 75 aqua {
d1523 1
a1523 1
declare 76 aqua {
d1526 1
a1526 1
declare 77 aqua {
d1530 1
a1530 1
declare 78 aqua {
d1534 1
a1534 1
declare 79 aqua {
d1538 1
a1538 1
declare 80 aqua {
d1542 1
a1542 1
declare 81 aqua {
d1545 1
a1545 1
declare 82 aqua {
d1549 1
a1549 1
declare 83 aqua {
d1553 1
a1553 1
declare 84 aqua {
d1556 1
a1556 1
declare 85 aqua {
d1559 1
a1559 1
declare 86 aqua {
d1563 1
a1563 1
declare 87 aqua {
d1568 1
a1568 1
declare 88 aqua {
d1571 1
a1571 1
declare 89 aqua {
d1575 1
a1575 1
declare 90 aqua {
d1579 1
a1579 1
declare 91 aqua {
@


1.41
log
@	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
	configure (flag can't be present twice, so can't be in both CFLAGS and
	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
	autoconf macros. Sync with tcl/unix/tcl.m4.

	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
	formatting/ordering differences with tcl/unix/configure.in.

	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
	linking the same as during configure (needed to avoid loosing any linker
	relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
	Avoid concurrent linking of wish and compiling of tkTestInit.o during
	parallel make, fix dependencies and flags for building tkMacOSXInit.o
	(checkstubs, checkexports): dependency and Darwin fixes
	(dist): add new macosx files.

	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
	* macosx/tkMacOSXCarbonEvents.c: install standard application event
	handler, add & call functions to start and stop carbon even timer that
	runs the tcl event loop periodically during a nested carbon event loop
	in the toolbox (e.g. during menutracking) to ensure tcl timers etc
	continue to fire, register app event handler for menu tracking and HI
	command carbon events, move menu event handling to new handlers for
	those carbon events, no longer register for/handle appleevent carbon
	event (now dealt with by standard application event handler), event
	debugging code dynamically acquires carbon event debugging functions to
	allow use on Tiger where they are no longer exported from HIToolbox.

	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
	address of a named symbol (from a loaded dynamic library) into new
	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.

	* macosx/tkMacOSXMenu.c (TkpNewMenu):
	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to  modern
	utf8 aware menu manager API, remove obsolete code, add error handling.

	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
	if necessary to allow compilation on OSX 10.2

	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
	executed.

	* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.

	* generic/tk.h: add/correct location of version numbers in macosx files.

	* generic/tkInt.h: clarify fat compile comment.

	* macosx/Wish.pbproj/default.pbxuser (new file):
	* macosx/Wish.pbproj/jingham.pbxuser:
	* macosx/Wish.pbproj/project.pbxproj:
	* macosx/Wish.xcode/default.pbxuser:
	* macosx/Wish.xcode/project.pbxproj:
	* macosx/Wish.xcodeproj/default.pbxuser (new file):
	* macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects
	for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with
	native tktest targets and support for universal (fat) compiles.

	* macosx/Tk-Info.plist (removed):
	* macosx/Wish-Info.plist (removed):
	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.

	* macosx/README: clarification/cleanup, document new Xcode projects and
	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).

	* unix/Makefile.in:
	* unix/aclocal.m4:
	* unix/configure.in:
	* macosx/configure.ac (new file): add support for inclusion of
	unix/configure.in by macosx/configure.ac, allows generation of a config
	headers enabled configure script in macosx (required by Xcode projects).

	* macosx/GNUmakefile: rename from Makefile to avoid overwriting by
	configure run in tk/macosx, add support for reusing configure cache,
	build target fixes.

	* generic/tk3d.h:
	* generic/tkButton.h:
	* generic/tkCanvas.c:
	* generic/tkCanvas.h:
	* generic/tkColor.h:
	* generic/tkEntry.h:
	* generic/tkFileFilter.h:
	* generic/tkFont.c:
	* generic/tkFont.h:
	* generic/tkImage.c:
	* generic/tkImgPhoto.c:
	* generic/tkInt.h:
	* generic/tkMenu.c:
	* generic/tkMenu.h:
	* generic/tkMenubutton.h:
	* generic/tkScale.h:
	* generic/tkScrollbar.h:
	* generic/tkSelect.h:
	* generic/tkStubInit.c:
	* generic/tkStubLib.c:
	* generic/tkText.h:
	* generic/tkUndo.h:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXFont.c:
	* macosx/tkMacOSXInt.h:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXSend.c:
	* macosx/tkMacOSXSubwindows.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXXStubs.c:
	* unix/tkUnixButton.c:
	* unix/tkUnixMenu.c:
	* xlib/xgc.c: ensure externally visible symbols not contained in stubs
	table are declared as MODULE_SCOPE (or as static if not used outside of
	own source file), #ifdef out a few Xlib and aqua functions that are
	never called. These changes allow 'make checkstubs' to complete without
	error on Darwin with gcc 4.

	* macosx/tkMacOSXTest.c:
	* macosx/tkMacOSXPort.h:
	* win/tkWinTest.c:
	* generic/tkInt.decls: add functions needed by tktest to internal stubs
	table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua
	Xlib stubs.

	* unix/tkUnixSend.c:
	* generic/tkText.c:
	* generic/tkTest.c: #ifdef unix only declarations.
	(TestmetricsCmd): unify win and mac implementation.
	(TestsendCmd): move to tkUnixSend.c to avoid access to global var.
	(TesttextCmd): move to tkText.c to avoid having to put all the internal
	text functions it uses into the stubs table.

	* generic/tkTextDisp.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.

	* macosx/tkMacOSXNotify.c:
	* macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.

	* generic/tkIntDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkStubInit.c:
	* unix/configure:
	* unix/tkConfig.h.in: regen.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.40 2005/09/21 10:54:40 dkf Exp $
a695 4
# only needed by tktest:
declare 36 win {
    int TkplatformtestInit(Tcl_Interp *interp)
}
a877 4
# only needed by tktest:
declare 54 aqua {
    int TkplatformtestInit(Tcl_Interp *interp)
}
@


1.40
log
@Tk-internal exit handler improvements. [Bug 749908]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.39 2005/08/09 07:39:17 das Exp $
d513 10
d572 5
d696 4
d769 1
a769 1
    void TkMacOSXHandleMenuSelect(long mResult, int optionKeyPressed)
d882 4
d1587 3
@


1.39
log
@	* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon
	events sent directly to application event target via the general
	TkMacOSXProcessEvent() in the same way as events posted to the event
	loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
	(TkMacOSXInitCarbonEvents): register our application event handler for
	kEventWindowExpanded events to deal with uncollapsing from the dock.

	* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
	* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
	                          use by app event handler.

	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
	current window, partCode, modifiers and local cursor position from
	carbon mouse event if possible. Use new static GenerateButtonEvent()
	taking a MouseEventData struct instead of TkGenerateButtonEvent() to
	avoid recomputing already known values. Move process activation on
	MouseDown into BringWindowForward() to allow clicking on window titlebar
	widgets without activating process. Move code dealing with clicks in
	window titelbar into separate function HandleWindowTitlebarMouseDown()
	to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow()
	by storing result in MouseEventData struct.
	(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
	state from currently processed carbon event (to avoid unnecessary IPC
	with the window server), otherwise use modern carbon API to get this
	info instead of Button() and GetKeys(); only retrieve info caller asks
	for (via non-NULL ptr passed to XQueryPointer).
	(ButtonModifiers2State): new static function converting carbon button
	and modifier state into tk state, allows detection of more than 3 mouse
	buttons (tk supports up to 5) and of NumLock and Fn modifier keys
	(NumLock is mapped to Mod3 and Fn to Mod4).

	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle
	kEventWindowExpanded event to deal with window uncollapsing from the
	dock by generating tk Map event, handle kEventAppHidden and
	kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).

	* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when
	it is not iconified to avoid window flashing on collapse.

	* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
	(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
	HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
	(TkpWmSetState): avoid window flashing on collapse by unmapping after
	calling CollapseWindow(); only uncollapse window if it is collapsed.

	* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
	* generic/tkIntPlatDecls.h:

	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
	GetMenuItemCommandID() on KeyDown or KeyRepeat events.

	* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
	obsolete AppendResMenu() API.

	* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
	* macosx/tkMacOSXMenu.c:     GetMouse() and TkMacOSXButtonKeyState()
	* macosx/tkMacOSXMenus.c:    APIs by calls to XQueryPointer()
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXScale.c:
	* macosx/tkMacOSXScrlbr.c:
	* macosx/tkMacOSXWm.c:

	* macosx/tkMacOSXDialog.c:   replaced use of FrontNonFloatingWindow()
	* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
	* macosx/tkMacOSXMenu.c:     recommended by Carbon docs.
	* macosx/tkMacOSXMenus.c:
	* macosx/tkMacOSXSubwindows.c:
	* macosx/tkMacOSXWm.c:

	* macosx/tkMacOSXDialog.c: fixed warnings
	* macosx/tkMacOSXTest.c:

	* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.h:

	* macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE.
	* macosx/tkMacOSXCarbonEvents.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXFont.c:
	* macosx/tkMacOSXHLEvents.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXWindowEvent.c

	* library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28.
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXMouseEvent.c:

	* generic/tkFrame.c:   sync with core-8-4-branch changes of 2005-07-27.
	* generic/tkIntDecls.h:
	* generic/tkStubInit.c:
	* generic/tkFrame.c:
	* win/tkWinDraw.c:
	* unix/tkUnixDraw.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXInt.h:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXSubwindows.c:

	* macosx/tkMacOSXButton.c: sync with core-8-4-branch.
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXScale.c:

	* library/demos/menu.tcl: removed errant '}'.
@
text
@d1 1
a1 1
	# tkInt.decls --
d3 3
a5 4
#	This file contains the declarations for all unsupported
#	functions that are exported by the Tk library.  This file
#	is used to generate the tkIntDecls.h, tkIntPlatDecls.h,
#	tkIntStub.c, and tkPlatStub.c files.
d8 1
d11 2
a12 2
# 
# RCS: @@(#) $Id: tkInt.decls,v 1.38 2004/10/27 00:56:33 davygrvy Exp $
d20 4
a23 4
# Declare each of the functions in the unsupported internal Tcl
# interface.  These interfaces are allowed to changed between versions.
# Use at your own risk.  Note that the position of functions should not
# be changed between versions to avoid gratuitous incompatibilities.
d26 1
a26 1
    TkWindow * TkAllocWindow (TkDisplay *dispPtr, int screenNum, \
a28 1

d30 1
a30 1
    void TkBezierPoints (double control[], int numSteps, double *coordPtr)
a31 1

d33 1
a33 1
    void TkBezierScreenPoints (Tk_Canvas canvas, double control[], \
a35 1

d37 1
a37 1
    void TkBindDeadWindow (TkWindow *winPtr)
a38 1

d40 1
a40 1
    void TkBindEventProc (TkWindow *winPtr, XEvent *eventPtr)
a41 1

d43 1
a43 1
    void TkBindFree (TkMainInfo *mainPtr)
a44 1

d46 1
a46 1
    void TkBindInit (TkMainInfo *mainPtr)
a47 1

d49 1
a49 1
    void TkChangeEventWindow (XEvent *eventPtr, TkWindow *winPtr)
a50 1

d52 1
a52 1
    int TkClipInit (Tcl_Interp *interp, TkDisplay *dispPtr)
a53 1

d55 2
a56 3
    void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, \
	    int padX, int padY, int innerWidth, int innerHeight, \
	    int *xPtr, int *yPtr)
a57 1

d59 1
a59 1
    int TkCopyAndGlobalEval (Tcl_Interp *interp, char *script)
a60 1

d62 4
a65 5
    unsigned long TkCreateBindingProcedure (Tcl_Interp *interp, \
	    Tk_BindingTable bindingTable, \
	    ClientData object, CONST char *eventString, \
	    TkBindEvalProc *evalProc, TkBindFreeProc *freeProc, \
	    ClientData clientData)
a66 1

d68 2
a69 2
    TkCursor * TkCreateCursorFromData (Tk_Window tkwin, \
	    CONST char *source, CONST char *mask, int width, int height, \
a71 1

d73 2
a74 3
    int TkCreateFrame (ClientData clientData, \
	    Tcl_Interp *interp, int argc, char **argv, \
	    int toplevel, char *appName)
a75 1

d77 1
a77 1
    Tk_Window TkCreateMainWindow (Tcl_Interp *interp, \
a79 1

d81 1
a81 1
    Time TkCurrentTime (TkDisplay *dispPtr)
a82 1

d84 1
a84 1
    void TkDeleteAllImages (TkMainInfo *mainPtr)
a85 1

d87 1
a87 1
    void TkDoConfigureNotify (TkWindow *winPtr)
a88 1

d90 1
a90 1
    void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, int width, \
a92 1

d94 1
a94 1
    void TkEventDeadWindow (TkWindow *winPtr)
a95 1

d97 2
a98 3
    void TkFillPolygon (Tk_Canvas canvas, \
	    double *coordPtr, int numPoints, Display *display, \
	    Drawable drawable, GC gc, GC outlineGC)
a99 1

d101 2
a102 3
    int TkFindStateNum (Tcl_Interp *interp, \
	    CONST char *option, CONST TkStateMap *mapPtr, \
	    CONST char *strKey)
a103 1

d105 1
a105 1
    char * TkFindStateString (CONST TkStateMap *mapPtr, int numKey)
a106 1

d108 1
a108 1
    void TkFocusDeadWindow (TkWindow *winPtr)
a109 1

d111 1
a111 1
    int TkFocusFilterEvent (TkWindow *winPtr, XEvent *eventPtr)
a112 1

d114 1
a114 1
    TkWindow * TkFocusKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
a115 1

d117 1
a117 1
    void TkFontPkgInit (TkMainInfo *mainPtr)
a118 1

d120 1
a120 1
    void TkFontPkgFree (TkMainInfo *mainPtr)
a121 1

d123 1
a123 1
    void TkFreeBindingTags (TkWindow *winPtr)
d128 1
a128 1
    void TkpFreeCursor (TkCursor *cursorPtr)
d132 2
a133 3
    char * TkGetBitmapData (Tcl_Interp *interp, \
	    char *string, char *fileName, int *widthPtr, \
	    int *heightPtr, int *hotXPtr, int *hotYPtr)
a134 1

d136 1
a136 1
    void TkGetButtPoints (double p1[], double p2[], \
a138 1

d140 1
a140 1
    TkCursor * TkGetCursorByName (Tcl_Interp *interp, \
a142 1

d144 1
a144 1
    CONST84_RETURN char * TkGetDefaultScreenName (Tcl_Interp *interp, \
a146 1

d148 1
a148 1
    TkDisplay * TkGetDisplay (Display *display)
a149 1

d151 1
a151 1
    int TkGetDisplayOf (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], \
a153 1

d155 1
a155 1
    TkWindow * TkGetFocusWin (TkWindow *winPtr)
a156 1

d158 1
a158 1
    int TkGetInterpNames (Tcl_Interp *interp, Tk_Window tkwin)
a159 1

d161 2
a162 2
    int TkGetMiterPoints (double p1[], double p2[], double p3[], \
	    double width, double m1[],double m2[])
a163 1

d165 1
a165 1
    void TkGetPointerCoords (Tk_Window tkwin, int *xPtr, int *yPtr)
a166 1

d168 1
a168 1
    void TkGetServerInfo (Tcl_Interp *interp, Tk_Window tkwin)
a169 1

d171 1
a171 1
    void TkGrabDeadWindow (TkWindow *winPtr)
a172 1

d174 1
a174 1
    int TkGrabState (TkWindow *winPtr)
a175 1

d177 1
a177 1
    void TkIncludePoint (Tk_Item *itemPtr, double *pointPtr)
a178 1

d180 2
a181 2
    void TkInOutEvents (XEvent *eventPtr, TkWindow *sourcePtr, \
	    TkWindow *destPtr, int leaveType, int enterType, \
a183 1

d185 1
a185 1
    void TkInstallFrameMenu (Tk_Window tkwin)
a186 1

d188 1
a188 1
    char * TkKeysymToString (KeySym keysym)
a189 1

d191 1
a191 1
    int TkLineToArea (double end1Ptr[], double end2Ptr[], double rectPtr[])
a192 1

d194 1
a194 2
    double TkLineToPoint (double end1Ptr[], \
	    double end2Ptr[], double pointPtr[])
a195 1

d197 2
a198 3
    int TkMakeBezierCurve (Tk_Canvas canvas, \
	    double *pointPtr, int numPoints, int numSteps, \
	    XPoint xPoints[], double dblPoints[])
a199 1

d201 1
a201 1
    void TkMakeBezierPostscript (Tcl_Interp *interp, \
a203 1

d205 1
a205 1
    void TkOptionClassChanged (TkWindow *winPtr)
a206 1

d208 1
a208 1
    void TkOptionDeadWindow (TkWindow *winPtr)
a209 1

d211 1
a211 1
    int TkOvalToArea (double *ovalPtr, double *rectPtr)
a212 1

d214 1
a214 1
    double TkOvalToPoint (double ovalPtr[], \
a216 1

d218 1
a218 1
    int TkpChangeFocus (TkWindow *winPtr, int force)
a219 1

d221 1
a221 1
    void TkpCloseDisplay (TkDisplay *dispPtr)
a222 1

d224 1
a224 1
    void TkpClaimFocus (TkWindow *topLevelPtr, int force)
a225 1

d227 1
a227 1
    void TkpDisplayWarning (CONST char *msg, CONST char *title)
a228 1

d230 1
a230 1
    void TkpGetAppName (Tcl_Interp *interp, Tcl_DString *name)
a231 1

d233 1
a233 1
    TkWindow * TkpGetOtherWindow (TkWindow *winPtr)
a234 1

d236 1
a236 1
    TkWindow * TkpGetWrapperWindow (TkWindow *winPtr)
a237 1

d239 1
a239 1
    int TkpInit (Tcl_Interp *interp)
a240 1

d242 1
a242 1
    void TkpInitializeMenuBindings (Tcl_Interp *interp, \
a244 1

d246 1
a246 1
    void TkpMakeContainer (Tk_Window tkwin)
a247 1

d249 1
a249 1
    void TkpMakeMenuWindow (Tk_Window tkwin, int transient)
a250 1

d252 1
a252 1
    Window TkpMakeWindow (TkWindow *winPtr, Window parent)
a253 1

d255 1
a255 1
    void TkpMenuNotifyToplevelCreate (Tcl_Interp *interp1, char *menuName)
a256 1

d258 1
a258 1
    TkDisplay * TkpOpenDisplay (CONST char *display_name)
a259 1

d261 1
a261 1
    int TkPointerEvent (XEvent *eventPtr, TkWindow *winPtr)
a262 1

d264 1
a264 1
    int TkPolygonToArea (double *polyPtr, int numPoints, double *rectPtr)
a265 1

d267 1
a267 1
    double TkPolygonToPoint (double *polyPtr, int numPoints, double *pointPtr)
a268 1

d270 1
a270 1
    int TkPositionInTree (TkWindow *winPtr, TkWindow *treePtr)
a271 1

d273 1
a273 1
    void TkpRedirectKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
a274 1

d276 1
a276 2
    void TkpSetMainMenubar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *menuName)
a277 1

d279 1
a279 1
    int TkpUseWindow (Tcl_Interp *interp, Tk_Window tkwin, CONST char *string)
a280 1

d282 1
a282 1
    int TkpWindowWasRecentlyDeleted (Window win, TkDisplay *dispPtr)
a283 1

d285 1
a285 1
    void TkQueueEventForAllChildren (TkWindow *winPtr, XEvent *eventPtr)
a286 1

d288 3
a290 3
    int TkReadBitmapFile (Display* display, Drawable d, CONST char* filename, \
	    unsigned int* width_return, unsigned int* height_return, \
	    Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)
a291 1

d293 2
a294 3
    int TkScrollWindow (Tk_Window tkwin, GC gc, \
	    int x, int y, int width, int height, int dx, \
	    int dy, TkRegion damageRgn)
a295 1

d297 1
a297 1
    void TkSelDeadWindow (TkWindow *winPtr)
a298 1

d300 1
a300 1
    void TkSelEventProc (Tk_Window tkwin, XEvent *eventPtr)
a301 1

d303 1
a303 1
    void TkSelInit (Tk_Window tkwin)
a304 1

d306 1
a306 1
    void TkSelPropProc (XEvent *eventPtr)
d311 1
a311 1
#    void TkSetClassProcs (Tk_Window tkwin, \
d316 2
a317 2
    void TkSetWindowMenuBar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *oldMenuName, char *menuName)
a318 1

d320 1
a320 1
    KeySym TkStringToKeysym (char *name)
a321 1

d323 2
a324 3
    int TkThickPolyLineToArea (double *coordPtr, \
	    int numPoints, double width, int capStyle, \
	    int joinStyle, double *rectPtr)
a325 1

d327 1
a327 1
    void TkWmAddToColormapWindows (TkWindow *winPtr)
a328 1

d330 1
a330 1
    void TkWmDeadWindow (TkWindow *winPtr)
a331 1

d333 1
a333 1
    TkWindow * TkWmFocusToplevel (TkWindow *winPtr)
a334 1

d336 1
a336 1
    void TkWmMapWindow (TkWindow *winPtr)
a337 1

d339 1
a339 1
    void TkWmNewWindow (TkWindow *winPtr)
a340 1

d342 1
a342 1
    void TkWmProtocolEventProc (TkWindow *winPtr, XEvent *evenvPtr)
a343 1

d345 1
a345 1
    void TkWmRemoveFromColormapWindows (TkWindow *winPtr)
a346 1

d348 1
a348 1
    void TkWmRestackToplevel (TkWindow *winPtr, int aboveBelow, \
a350 1

d352 1
a352 1
    void TkWmSetClass (TkWindow *winPtr)
a353 1

d355 1
a355 1
    void TkWmUnmapWindow (TkWindow *winPtr)
d361 1
a361 1
    Tcl_Obj * TkDebugBitmap ( Tk_Window tkwin, char *name)
a362 1

d364 1
a364 1
    Tcl_Obj * TkDebugBorder ( Tk_Window tkwin, char *name)
a365 1

d367 1
a367 1
    Tcl_Obj * TkDebugCursor ( Tk_Window tkwin, char *name)
a368 1

d370 1
a370 1
    Tcl_Obj * TkDebugColor ( Tk_Window tkwin, char *name)
a371 1

d373 1
a373 1
    Tcl_Obj * TkDebugConfig (Tcl_Interp *interp, Tk_OptionTable table)
a374 1

d376 1
a376 1
    Tcl_Obj * TkDebugFont ( Tk_Window tkwin, char *name)
a377 1

d379 2
a380 3
    int  TkFindStateNumObj (Tcl_Interp *interp, \
	    Tcl_Obj *optionPtr, CONST TkStateMap *mapPtr, \
	    Tcl_Obj *keyPtr)
a381 1

d383 1
a383 1
    Tcl_HashTable *  TkGetBitmapPredefTable (void)
a384 1

d386 1
a386 1
    TkDisplay * TkGetDisplayList (void)
a387 1

d389 1
a389 1
    TkMainInfo * TkGetMainInfoList (void)
a390 1

d392 2
a393 3
    int  TkGetWindowFromObj (Tcl_Interp *interp, \
	    Tk_Window tkwin, Tcl_Obj *objPtr, \
	    Tk_Window *windowPtr)
a394 1

d396 1
a396 2
    char *  TkpGetString (TkWindow *winPtr, \
	    XEvent *eventPtr, Tcl_DString *dsPtr)
a397 1

d399 1
a399 1
    void  TkpGetSubFonts (Tcl_Interp *interp, Tk_Font tkfont)
a400 1

d402 1
a402 1
    Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, \
a404 1

d406 1
a406 1
    void TkpMenuThreadInit (void)
d408 2
a409 3

declare 113 {aqua win}  {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
d411 2
a412 3

declare 114 {aqua win}  {
    TkRegion TkCreateRegion (void)
a413 1

d415 1
a415 1
    void TkDestroyRegion (TkRegion rgn)
a416 1

d418 1
a418 1
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
a419 1

d421 1
a421 1
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
a423 1

d425 1
a425 1
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
a426 1

d428 1
a428 1
    void TkUnionRectWithRegion (XRectangle* rect, \
a430 1

d432 1
a432 1
    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source) 
a433 1

d435 1
a435 1
    void TkpDefineNativeBitmaps (void)
a436 1

d438 1
a438 1
    Pixmap TkpGetNativeAppBitmap (Display *display, \
a440 1

d442 1
a442 1
    void TkpDrawHighlightBorder (Tk_Window tkwin, GC fgGC, GC bgGC, \
a444 1

d446 1
a446 1
    void TkSetFocusWin (TkWindow *winPtr, int force) 
a447 1

d449 1
a449 1
    void TkpSetKeycodeAndState (Tk_Window tkwin, KeySym keySym, \
a451 1

d453 1
a453 1
    KeySym TkpGetKeySym (TkDisplay *dispPtr, XEvent *eventPtr)
a454 1

d456 1
a456 1
    void TkpInitKeymapInfo (TkDisplay *dispPtr)
a457 1

d459 1
a459 1
    TkRegion TkPhotoGetValidRegion (Tk_PhotoHandle handle)
a460 1

d462 1
a462 1
    TkWindow ** TkWmStackorderToplevel(TkWindow *parentPtr)
a463 1

a466 1

a469 1

a472 1

d474 1
a474 1
    void TkSubtractRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
a475 1

d477 1
a477 1
    void TkStylePkgInit (TkMainInfo *mainPtr)
d480 1
a480 1
    void TkStylePkgFree (TkMainInfo *mainPtr)
a481 1

a485 1

d487 1
a487 1
    CONST Tk_OptionSpec * TkGetOptionSpec (CONST char *name,
d493 2
a494 3
    int TkMakeRawCurve (Tk_Canvas canvas,
	    double *pointPtr, int numPoints, int numSteps,
	    XPoint xPoints[], double dblPoints[])
d497 1
a497 1
    void TkMakeRawCurvePostscript (Tcl_Interp *interp,
d503 8
a510 1
		      int highlightWidth, int borderWidth, int relief)
d524 1
a524 1
    void TkCreateXEventSource (void)
a525 1

d527 1
a527 1
    void TkFreeWindowId (TkDisplay *dispPtr, Window w)
a528 1

d530 1
a530 1
    void TkInitXId (TkDisplay *dispPtr)
a531 1

d533 1
a533 1
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)
a534 1

d536 1
a536 1
    void TkpSync (Display *display)
a537 1

d539 1
a539 1
    Window TkUnixContainerId (TkWindow *winPtr)
a540 1

d542 1
a542 1
    int TkUnixDoOneXEvent (Tcl_Time *timePtr)
a543 1

d545 1
a545 1
    void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar)
a546 1

d548 1
a548 1
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
a549 1

d551 1
a551 1
    void TkWmCleanup (TkDisplay *dispPtr)
a552 1

d554 1
a554 1
    void TkSendCleanup (TkDisplay *dispPtr)
a555 1

d557 1
a557 1
    void TkFreeXId (TkDisplay *dispPtr)
a558 1

d560 1
a560 1
    int TkpWmSetState (TkWindow *winPtr, int state)
d567 1
a567 1
    char * TkAlignImageData (XImage *image, int alignment, int bitOrder)
a568 1

d570 1
a570 1
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
a571 1

d573 1
a573 1
    unsigned long TkpGetMS (void)
a574 1

d576 1
a576 1
    void TkPointerDeadWindow (TkWindow *winPtr)
a577 1

d579 1
a579 1
    void TkpPrintWindowId (char *buf, Window window)
a580 1

d582 1
a582 1
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
a583 1

d585 1
a585 1
    void TkpSetCapture (TkWindow *winPtr)
a586 1

d588 1
a588 1
    void TkpSetCursor (TkpCursor cursor)
a589 1

d591 1
a591 1
    void TkpWmSetState (TkWindow *winPtr, int state)
a592 1

d594 1
a594 1
    void TkSetPixmapColormap (Pixmap pixmap, Colormap colormap)
a595 1

d597 1
a597 1
    void  TkWinCancelMouseTimer (void)
a598 1

d600 1
a600 1
    void  TkWinClipboardRender (TkDisplay *dispPtr, UINT format)
a601 1

d603 1
a603 1
    LRESULT  TkWinEmbeddedEventProc (HWND hwnd, UINT message, \
a605 1

d607 1
a607 2
    void  TkWinFillRect (HDC dc, int x, int y, int width, int height, \
	    int pixel)
a608 1

d610 1
a610 1
    COLORREF  TkWinGetBorderPixels (Tk_Window tkwin, Tk_3DBorder border, \
a612 1

d614 1
a614 1
    HDC  TkWinGetDrawableDC (Display *display, Drawable d, TkWinDCState* state)
a615 1

d617 1
a617 1
    int  TkWinGetModifierState (void)
a618 1

d620 1
a620 1
    HPALETTE  TkWinGetSystemPalette (void)
a621 1

d623 1
a623 1
    HWND  TkWinGetWrapperWindow (Tk_Window tkwin)
a624 1

d626 2
a627 3
    int  TkWinHandleMenuEvent (HWND *phwnd, \
	    UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, \
	    LRESULT *plResult)
a628 1

d630 1
a630 1
    int  TkWinIndexOfColor (XColor *colorPtr)
a631 1

d633 1
a633 1
    void  TkWinReleaseDrawableDC (Drawable d, HDC hdc, TkWinDCState* state)
a634 1

d636 1
a636 1
    LRESULT  TkWinResendEvent (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)
a637 1

d639 1
a639 1
    HPALETTE  TkWinSelectPalette (HDC dc, Colormap colormap)
a640 1

d642 1
a642 1
    void  TkWinSetMenu (Tk_Window tkwin, HMENU hMenu)
a643 1

d645 1
a645 1
    void  TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, int pos)
a646 1

d648 1
a648 1
    void  TkWinWmCleanup (HINSTANCE hInstance)
a649 1

d651 1
a651 1
    void  TkWinXCleanup (ClientData clientData)
a652 1

d654 1
a654 1
    void   TkWinXInit (HINSTANCE hInstance)
d660 1
a660 1
    void TkWinSetForegroundWindow (TkWindow *winPtr)
a661 1

d663 1
a663 1
    void TkWinDialogDebug (int debug)
a664 1

d666 1
a666 1
    Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, \
a668 1

d676 1
a676 1
    void TkWinSetHINSTANCE (HINSTANCE hInstance)
a677 1

d679 1
a679 1
    int TkWinGetPlatformTheme (void)
d686 1
a686 1
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
d691 1
a691 1
#    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source)
d695 1
a695 1
#    void TkpDefineNativeBitmaps (void)
d699 1
a699 1
    void TkPointerDeadWindow (TkWindow *winPtr)
a700 1

d702 1
a702 1
    void TkpSetCapture (TkWindow *winPtr)
a703 1

d705 1
a705 1
    void TkpSetCursor (TkpCursor cursor)
a706 1

d708 1
a708 1
    void TkpWmSetState (TkWindow *winPtr, int state)
a709 1

d711 1
a711 1
    void   TkAboutDlg (void)
a712 1

d714 1
a714 1
    unsigned int TkMacOSXButtonKeyState (void)
a715 1

d717 1
a717 1
    void  TkMacOSXClearMenubarActive (void)
a718 1

d720 1
a720 1
    int  TkMacOSXDispatchMenuEvent (int menuID, int index)
a721 1

d723 1
a723 1
    void  TkMacOSXInstallCursor (int resizeOverride)
a724 1

d726 1
a726 1
    void  TkMacOSXHandleTearoffMenu (void)
d729 1
a729 1
# removed duplicate from tkPlat table (tk.decls)
d731 1
a731 1
#    void  TkMacOSXInvalClipRgns (TkWindow *winPtr)
d735 1
a735 1
    int  TkMacOSXDoHLEvent (EventRecord *theEvent)
d738 1
a738 1
# removed duplicate from tkPlat table (tk.decls)
d740 1
a740 1
#    GWorldPtr  TkMacOSXGetDrawablePort (Drawable drawable)
d744 1
a744 1
    Window   TkMacOSXGetXWindow (WindowRef macWinPtr)
a745 1

d747 1
a747 1
    int  TkMacOSXGrowToplevel (WindowRef whichWindow, Point start)
a748 1

d750 1
a750 1
    void   TkMacOSXHandleMenuSelect (long mResult, int optionKeyPressed)
d753 1
a753 1
# removed duplicates from tkPlat table (tk.decls)
d755 1
a755 1
#    void  TkMacOSXInitAppleEvents (Tcl_Interp *interp)
d759 1
a759 1
#    void   TkMacOSXInitMenus (Tcl_Interp  *interp)
d763 1
a763 1
    void  TkMacOSXInvalidateWindow (MacDrawable *macWin, int flag)
a764 1

d766 1
a766 1
    int  TkMacOSXIsCharacterMissing (Tk_Font tkfont, unsigned int searchChar)
a767 1

d769 1
a769 1
    void  TkMacOSXMakeRealWindowExist (TkWindow *winPtr)
a770 1

a773 1

d775 1
a775 1
    void  TkMacOSXMenuClick (void)
a776 1

d778 1
a778 1
    void  TkMacOSXRegisterOffScreenWindow (Window window, GWorldPtr portPtr)
a779 1

d781 1
a781 1
    int  TkMacOSXResizable (TkWindow *winPtr)
a782 1

d784 1
a784 1
    void  TkMacOSXSetHelpMenuItemCount (void)
a785 1

d787 1
a787 1
    void  TkMacOSXSetScrollbarGrow (TkWindow *winPtr, int flag)
a788 1

d790 1
a790 1
    void  TkMacOSXSetUpClippingRgn (Drawable drawable)
a791 1

d793 1
a793 1
    void  TkMacOSXSetUpGraphicsPort (GC gc, GWorldPtr destPort)
a794 1

d796 1
a796 1
    void   TkMacOSXUpdateClipRgn (TkWindow *winPtr)
a797 1

d799 1
a799 1
    void  TkMacOSXUnregisterMacWindow (WindowRef portPtr)
a800 1

d802 1
a802 1
    int  TkMacOSXUseMenuID (short macID)
a803 1

d805 1
a805 1
    RgnHandle  TkMacOSXVisableClipRgn (TkWindow *winPtr)
a806 1

d808 1
a808 1
    void  TkMacOSXWinBounds (TkWindow *winPtr, Rect *geometry)
a809 1

d811 1
a811 1
    void  TkMacOSXWindowOffset (WindowRef wRef, int *xOffset, int *yOffset)
a812 1

d814 1
a814 1
    int   TkSetMacColor (unsigned long pixel, RGBColor *macColor)
a815 1

d817 1
a817 1
    void   TkSetWMName (TkWindow *winPtr, Tk_Uid titleUid)
a818 1

d820 1
a820 1
    void  TkSuspendClipboard (void)
a821 1

d823 1
a823 1
    int  TkMacOSXZoomToplevel (WindowPtr whichWindow, short zoomPart)
a824 1

d826 2
a827 2
    Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, \
	    int rootX, int rootY, int *newX, int *newY)
a828 1

d830 1
a830 1
    MacDrawable * TkMacOSXContainerId (TkWindow *winPtr)
a831 1

d833 1
a833 1
    MacDrawable * TkMacOSXGetHostToplevel  (TkWindow *winPtr)
a834 1

d836 1
a836 1
    void TkMacOSXPreprocessMenu (void)
a837 1

d839 1
a839 1
    int  TkpIsWindowFloating (WindowRef window)
a840 1

d842 1
a842 1
    Tk_Window TkMacOSXGetCapture (void)
a843 1

d845 1
a845 1
    Window  TkGetTransientMaster (TkWindow *winPtr)
a846 1

d848 1
a848 2
    int  TkGenerateButtonEvent (int x, int y, \
 	    Window window, unsigned int state)
a849 1

d851 1
a851 1
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
d856 1
a856 1
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
d861 1
a861 1
    unsigned long TkpGetMS (void)
d874 2
a875 2
    void XSetDashes (Display* display, GC gc, int dash_offset,
	    _Xconst char* dash_list, int n)
a876 1

d878 1
a878 1
    XModifierKeymap* XGetModifierMapping (Display* d)
a879 1

d881 2
a882 2
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
a883 1

a884 1

d886 1
a886 1
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
a888 1

d890 1
a890 2
    char *XGetAtomName (Display* d,Atom a)

a891 1

d893 1
a893 1
    char *XKeysymToString (KeySym k)
a894 1

d896 1
a896 2
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

a897 1

d899 2
a900 3
    Cursor XCreatePixmapCursor (Display* d, Pixmap p1, Pixmap p2, \
	    XColor* x1, XColor* x2, \
	    unsigned int ui1, unsigned int ui2)
a901 1

d903 2
a904 2
    Cursor XCreateGlyphCursor (Display* d, Font f1, Font f2, \
	    unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)
a905 1

d907 1
a907 1
    GContext XGContextFromGC (GC g)
a908 1

d910 1
a910 1
    XHostAddress *XListHosts (Display* d, int* i, Bool* b)
d915 1
a915 1
    KeySym XKeycodeToKeysym (Display* d, unsigned int k, int i)
d919 1
a919 1
    KeySym XStringToKeysym (_Xconst char* c)
a920 1

d922 1
a922 1
    Window XRootWindow (Display* d, int i)
a923 1

d925 1
a925 1
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
a926 1

d928 1
a928 1
    Status XIconifyWindow (Display* d, Window w, int i)
a929 1

d931 1
a931 1
    Status XWithdrawWindow (Display* d, Window w, int i)
a932 1

d934 1
a934 1
    Status XGetWMColormapWindows (Display* d, Window w, Window** wpp, int* ip)
a935 1

d937 1
a937 1
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
a938 1

d940 1
a940 1
    void XBell (Display* d, int i)
a941 1

d943 2
a944 2
    void XChangeProperty (Display* d, Window w, Atom a1, Atom a2, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
a945 1

d947 2
a948 2
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
a949 1

d951 1
a951 1
    void XClearWindow (Display* d, Window w)
a952 1

d954 2
a955 2
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
a956 1

d958 2
a959 3
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
a960 1

d962 2
a963 2
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
a965 1

d967 2
a968 2
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
a969 1

d971 1
a971 1
    void XDefineCursor (Display* d, Window w, Cursor c)
a972 1

d974 1
a974 1
    void XDeleteProperty (Display* d, Window w, Atom a)
a975 1

d977 1
a977 1
    void XDestroyWindow (Display* d, Window w)
a978 1

d980 1
a980 1
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
a982 1

d984 1
a984 1
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
a985 1

d987 1
a987 1
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
a989 1

d991 1
a991 1
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
a993 1

d995 1
a995 1
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
a997 1

d999 1
a999 1
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
a1000 1

d1002 1
a1002 1
    void XForceScreenSaver (Display* d, int i)
a1003 1

d1005 1
a1005 1
    void XFreeColormap (Display* d, Colormap c)
a1006 1

d1008 2
a1009 2
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
a1010 1

d1012 1
a1012 1
    void XFreeCursor (Display* d, Cursor c)
a1013 1

d1015 1
a1015 1
    void XFreeModifiermap (XModifierKeymap* x)
a1016 1

d1018 3
a1020 3
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
a1021 1

d1023 1
a1023 1
    void XGetInputFocus (Display* d, Window* w, int* i)
a1024 1

d1026 3
a1028 3
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
a1029 1

d1031 1
a1031 1
    Status XGetWindowAttributes (Display* d, Window w, XWindowAttributes* x)
a1032 1

d1034 1
a1034 1
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
a1035 1

d1037 1
a1037 1
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
a1039 1

d1041 1
a1041 1
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
a1042 1

d1044 2
a1045 2
    Status XLookupColor (Display* d, Colormap c1, _Xconst char* c2, \
	    XColor* x1, XColor* x2)
a1046 1

d1048 1
a1048 1
    void XMapWindow (Display* d, Window w)
a1049 1

d1051 1
a1051 1
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
a1053 1

d1055 1
a1055 1
    void XMoveWindow (Display* d, Window w, int i1, int i2)
a1056 1

d1058 1
a1058 1
    void XNextEvent (Display* d, XEvent* x)
a1059 1

d1061 1
a1061 1
    void XPutBackEvent (Display* d, XEvent* x)
a1062 1

d1064 1
a1064 1
    void XQueryColors (Display* d, Colormap c, XColor* x, int i)
a1065 1

d1067 2
a1068 2
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
a1069 1

d1071 2
a1072 2
    Status XQueryTree (Display* d, Window w1, Window* w2, Window* w3, \
	    Window** w4, unsigned int* ui)
a1073 1

d1075 1
a1075 1
    void XRaiseWindow (Display* d, Window w)
a1076 1

d1078 1
a1078 1
    void XRefreshKeyboardMapping (XMappingEvent* x)
a1079 1

d1081 1
a1081 1
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
a1083 1

d1085 1
a1085 1
    void XSelectInput (Display* d, Window w, long l)
a1086 1

d1088 1
a1088 1
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
a1089 1

d1091 1
a1091 1
    void XSetCommand (Display* d, Window w, CONST char** c, int i)
a1092 1

d1094 1
a1094 1
    void XSetIconName (Display* d, Window w, _Xconst char* c)
a1095 1

d1097 1
a1097 1
    void XSetInputFocus (Display* d, Window w, int i, Time t)
a1098 1

d1100 1
a1100 1
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
a1101 1

d1103 1
a1103 1
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
a1104 1

d1106 1
a1106 1
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
a1107 1

d1109 1
a1109 1
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
a1110 1

d1112 1
a1112 1
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
a1113 1

d1115 1
a1115 1
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
a1116 1

d1118 1
a1118 1
    void XSetWindowColormap (Display* d, Window w, Colormap c)
a1119 1

d1121 2
a1122 2
    Bool XTranslateCoordinates (Display* d, Window w1, Window w2, int i1,\
	    int i2, int* i3, int* i4, Window* w3)
a1123 1

d1125 1
a1125 1
    void XUngrabKeyboard (Display* d, Time t)
a1126 1

d1128 1
a1128 1
    void XUngrabPointer (Display* d, Time t) 
a1129 1

d1131 1
a1131 1
    void XUnmapWindow (Display* d, Window w)
a1132 1

d1134 1
a1134 1
    void XWindowEvent (Display* d, Window w, long l, XEvent* x)
a1135 1

d1137 1
a1137 1
    void XDestroyIC (XIC x)
a1138 1

d1140 1
a1140 1
    Bool XFilterEvent (XEvent* x, Window w)
a1141 1

d1143 2
a1144 2
    int XmbLookupString (XIC xi, XKeyPressedEvent* xk, \
	    char* c, int i, KeySym* k, Status* s)
a1145 1

d1147 3
a1149 5
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
d1153 1
a1153 1
#      XSetClipRectangles(Display *display, GC gc, int clip_x_origin, \
d1158 2
a1159 2
    Status XParseColor (Display *display, Colormap map, \
          _Xconst char* spec, XColor *colorPtr)
a1160 1

d1162 2
a1163 2
    GC XCreateGC(Display* display, Drawable d, \
	    unsigned long valuemask, XGCValues* values)
a1164 1

d1166 1
a1166 1
    void XFreeGC(Display* display, GC gc)
a1167 1

d1169 1
a1169 1
    Atom XInternAtom(Display* display,_Xconst char* atom_name, \
a1171 1

d1173 1
a1173 2
    void XSetBackground(Display* display, GC gc, \
	    unsigned long foreground)
a1174 1

d1176 1
a1176 2
    void XSetForeground(Display* display, GC gc, \
	    unsigned long foreground)
a1177 1

d1179 1
a1179 1
    void XSetClipMask(Display* display, GC gc, Pixmap pixmap)
a1180 1

d1182 1
a1182 1
    void XSetClipOrigin(Display* display, GC gc, \
a1184 1

d1186 1
a1186 1
    void XSetTSOrigin(Display* display, GC gc, \
a1188 1

d1190 1
a1190 1
    void XChangeGC(Display * d, GC gc, unsigned long mask, XGCValues *values)
a1191 1

a1194 1

a1197 1

a1200 1

a1203 1

a1206 1

a1209 1

d1211 2
a1212 3
    void XSetLineAttributes(Display *display, GC gc, \
	    unsigned int line_width, int line_style, \
	    int cap_style, int join_style)
a1213 1

a1216 1

a1219 1

d1221 2
a1222 2
    XVisualInfo *XGetVisualInfo(Display* display, long vinfo_mask, \
	    XVisualInfo* vinfo_template, int* nitems_return)
a1223 1

d1225 2
a1226 1
    void XSetWMClientMachine(Display* display, Window w, XTextProperty* text_prop)
a1227 1

d1229 2
a1230 2
    Status XStringListToTextProperty(char** list, int count, \
	    XTextProperty* text_prop_return)
d1233 1
a1233 1
    void XDrawLine (Display* d, Drawable dr, GC g, int x1, int y1, \
d1237 1
a1237 1
    void XFillRectangle (Display* display, Drawable d, GC gc, \
d1241 1
a1241 1
    void XWarpPointer (Display* d, Window s,  Window dw, int sx, int sy, \
d1248 2
a1249 2
    void XSetDashes (Display* display, GC gc, int dash_offset,
	    _Xconst char* dash_list, int n)
a1250 1

d1252 1
a1252 1
    XModifierKeymap* XGetModifierMapping (Display* d)
a1253 1

d1255 2
a1256 2
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
a1257 1

a1258 1

d1260 1
a1260 1
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
a1262 1

d1264 1
a1264 2
    char *XGetAtomName (Display* d,Atom a)

a1265 1

d1267 1
a1267 1
    char *XKeysymToString (KeySym k)
a1268 1

d1270 1
a1270 2
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

a1271 1

d1273 1
a1273 1
    GContext XGContextFromGC (GC g)
a1274 1

d1276 1
a1276 1
    KeySym XKeycodeToKeysym (Display* d, KeyCode k, int i)
a1277 1

d1279 1
a1279 1
    KeySym XStringToKeysym (_Xconst char* c)
a1280 1

d1282 1
a1282 1
    Window XRootWindow (Display* d, int i)
a1283 1

d1285 1
a1285 1
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
a1286 1

d1288 1
a1288 1
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
a1289 1

d1291 1
a1291 1
    void XBell (Display* d, int i)
a1292 1

d1294 2
a1295 2
    void XChangeProperty (Display* d, Window w, Atom a1, Atom a2, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
a1296 1

d1298 2
a1299 2
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
a1300 1

d1302 2
a1303 2
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
a1304 1

d1306 2
a1307 3
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
a1308 1

d1310 2
a1311 2
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
a1313 1

d1315 2
a1316 2
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
a1317 1

d1319 1
a1319 1
    void XDefineCursor (Display* d, Window w, Cursor c)
a1320 1

d1322 1
a1322 1
    void XDestroyWindow (Display* d, Window w)
a1323 1

d1325 1
a1325 1
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
a1327 1

d1329 1
a1329 1
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
a1330 1

d1332 1
a1332 1
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
a1334 1

d1336 1
a1336 1
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
a1338 1

d1340 1
a1340 1
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
a1342 1

d1344 1
a1344 1
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
a1345 1

d1347 1
a1347 1
    void XFreeColormap (Display* d, Colormap c)
a1348 1

d1350 2
a1351 2
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
a1352 1

d1354 1
a1354 1
    void XFreeModifiermap (XModifierKeymap* x)
a1355 1

d1357 3
a1359 3
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
a1360 1

d1362 3
a1364 3
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
a1365 1

d1367 1
a1367 1
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
a1368 1

d1370 1
a1370 1
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
a1372 1

d1374 1
a1374 1
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
a1375 1

d1377 1
a1377 1
    void XMapWindow (Display* d, Window w)
a1378 1

d1380 1
a1380 1
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
a1382 1

d1384 1
a1384 1
    void XMoveWindow (Display* d, Window w, int i1, int i2)
a1385 1

d1387 2
a1388 2
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
a1389 1

d1391 1
a1391 1
    void XRaiseWindow (Display* d, Window w)
a1392 1

d1394 1
a1394 1
    void XRefreshKeyboardMapping (XMappingEvent* x)
a1395 1

d1397 1
a1397 1
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
a1399 1

d1401 1
a1401 1
    void XSelectInput (Display* d, Window w, long l)
a1402 1

d1404 1
a1404 1
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
a1405 1

d1407 1
a1407 1
    void XSetIconName (Display* d, Window w, _Xconst char* c)
a1408 1

d1410 1
a1410 1
    void XSetInputFocus (Display* d, Window w, int i, Time t)
a1411 1

d1413 1
a1413 1
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
a1414 1

d1416 1
a1416 1
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
a1417 1

d1419 1
a1419 1
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
a1420 1

d1422 1
a1422 1
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
a1423 1

d1425 1
a1425 1
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
a1426 1

d1428 1
a1428 1
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
a1429 1

d1431 1
a1431 1
    void XSetWindowColormap (Display* d, Window w, Colormap c)
a1432 1

d1434 1
a1434 1
    void XUngrabKeyboard (Display* d, Time t)
a1435 1

d1437 1
a1437 1
    void XUngrabPointer (Display* d, Time t) 
a1438 1

d1440 1
a1440 1
    void XUnmapWindow (Display* d, Window w)
a1441 1

d1443 4
a1446 6
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
} 
d1448 2
a1449 2
    Status XParseColor (Display *display, Colormap map, \
          _Xconst char* spec, XColor *colorPtr)
a1450 1

d1452 2
a1453 2
    GC XCreateGC(Display* display, Drawable d, \
	    unsigned long valuemask, XGCValues* values)
a1454 1

d1456 1
a1456 1
    void XFreeGC(Display* display, GC gc)
a1457 1

d1459 1
a1459 1
    Atom XInternAtom(Display* display,_Xconst char* atom_name, \
a1461 1

d1463 1
a1463 2
    void XSetBackground(Display* display, GC gc, \
	    unsigned long foreground)
a1464 1

d1466 1
a1466 2
    void XSetForeground(Display* display, GC gc, \
	    unsigned long foreground)
a1467 1

d1469 1
a1469 1
    void XSetClipMask(Display* display, GC gc, Pixmap pixmap)
a1470 1

d1472 1
a1472 1
    void XSetClipOrigin(Display* display, GC gc, \
a1474 1

d1476 1
a1476 1
    void XSetTSOrigin(Display* display, GC gc, \
a1478 1

d1480 1
a1480 1
    void XChangeGC(Display * d, GC gc, unsigned long mask, XGCValues *values)
a1481 1

a1484 1

a1487 1

a1490 1

a1493 1

a1496 1

a1499 1

d1501 2
a1502 2
    void XSetLineAttributes(Display *display, GC gc, \
	    unsigned int line_width, int line_style, \
a1504 1

a1507 1

a1510 1

d1512 2
a1513 2
    XVisualInfo *XGetVisualInfo(Display* display, long vinfo_mask, \
	    XVisualInfo* vinfo_template, int* nitems_return)
a1514 1

d1516 2
a1517 2
    void XSetWMClientMachine(Display* display, Window w, \
	    XTextProperty* text_prop)
a1518 1

d1520 2
a1521 2
    Status XStringListToTextProperty(char** list, int count, \
	    XTextProperty* text_prop_return)
d1524 2
a1525 2
    void XDrawSegments(Display *display, Drawable  d, GC gc, \
	    XSegment *segments, int  nsegments)
d1528 1
a1528 1
    void  XForceScreenSaver(Display* display, int mode)
d1531 1
a1531 1
    void XDrawLine (Display* d, Drawable dr, GC g, int x1, int y1, \
d1535 1
a1535 1
    void XFillRectangle (Display* display, Drawable d, GC gc, \
d1539 1
a1539 1
    void XClearWindow (Display* d, Window w)
a1540 1

d1542 1
a1542 1
    void XDrawPoint (Display* display, Drawable d, GC gc, int x, int y)
a1543 1

d1545 1
a1545 1
    void XDrawPoints (Display* display, Drawable d, GC gc, XPoint *points, \
a1547 1

d1549 2
a1550 2
    void XWarpPointer (Display* display, Window src_w, Window dest_w, \
	    int src_x, int src_y, unsigned int src_width, \
a1552 1

d1554 1
a1554 1
    void XQueryColor (Display *display, Colormap colormap, XColor *def_in_out)
a1555 1

d1557 1
a1557 1
    void XQueryColors (Display *display, Colormap colormap, \
a1559 1

d1561 2
a1562 2
    Status XQueryTree (Display* d, Window w1, Window* w2, Window* w3, \
	    Window** w4, unsigned int* ui)
@


1.38
log
@* win/tkWinX.c:		     Signature for tkWinXCleanup needed to be
* generic/tkInt.decls:       changed so it matches the Tcl_ExitProc
* generic/tkIntPlatDecls.h:  typedef to avoid a bad-style cast.

* win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.37 2004/09/21 19:13:56 mdejong Exp $
d647 5
d1039 1
a1039 1
    int  TkMacOSXZoomToplevel (WindowPtr whichWindow, Point where, short zoomPart)
@


1.37
log
@	* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.
	It is only defined under Win32.
	* generic/tkIntPlatDecls.h: Regen.
	* generic/tkStubInit.c: Regen.
	* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
	TK_THEME_WIN_XP.
	* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
	Draw a disabled 3D text highlight for the accelerator only
	with the Win95/98 look. Same goes for the menu entry text.
	* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
	Automatically detect the Windows theme in use and return
	either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
	TkWinGetPlatformTheme function is invoked.
	[Patch 866194]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.36 2004/08/19 14:41:52 dkf Exp $
d826 1
a826 1
    void  TkWinXCleanup (HINSTANCE hInstance)
@


1.36
log
@TIP#168 implementation. Based on [Patch 886240]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.35 2004/03/17 18:15:43 das Exp $
d858 4
@


1.35
log
@Removed support for Mac OS Classic platform [Patch 918139]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.34 2003/10/13 03:41:37 hobbs Exp $
d633 12
a644 1
					   Tk_OptionTable optionTable)
@


1.34
log
@        * generic/tkInt.h:      move TkGetOptionSpec to stubs intDecls
        * generic/tkIntDecls.h:
        * generic/tkInt.decls:
        * generic/tkStubInit.c:
        * tkDecls.h:            updated with latest genstubs
        * tkIntPlatDecls.h:
        * tkIntXlibDecls.h:
        * tkPlatDecls.h:
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33 2003/01/22 14:32:59 dkf Exp $
d530 1
a530 1
declare 113 {mac aqua win}  {
d534 1
a534 1
declare 114 {mac aqua win}  {
d538 1
a538 1
declare 115 {mac aqua win} {
d542 1
a542 1
declare 116 {mac aqua win} {
d546 1
a546 1
declare 117 {mac aqua win} {
d551 1
a551 1
declare 118 {mac aqua win} {
d555 1
a555 1
declare 119 {mac aqua win} {
d560 1
a560 6
# removed duplicate from tkIntPlat table
#declare 120 mac {
#    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
#}

declare 121 {mac aqua} {
d564 1
a564 1
declare 122 {mac aqua} {
d568 1
a568 6
# removed duplicate from tkIntPlat table
#declare 123 mac {
#    unsigned long TkpGetMS (void)
#}

declare 124 {mac aqua} {
a572 35
# removed duplicates from tkIntPlat table
#declare 125 mac {
#    void TkPointerDeadWindow (TkWindow *winPtr)
#}
#
#declare 126 mac {
#    void TkpSetCapture (TkWindow *winPtr)
#}
#
#declare 127 mac {
#    void TkpSetCursor (TkpCursor cursor)
#}
#
#declare 128 mac {
#    void TkpWmSetState (TkWindow *winPtr, int state)
#}
#
#declare 130 mac {
#    Window  TkGetTransientMaster (TkWindow *winPtr)
#}
#
#declare 131 mac {
#    int  TkGenerateButtonEvent (int x, int y, \
# 	    Window window, unsigned int state)
#}
#
#declare 133 mac {
#    void  TkGenWMDestroyEvent (Tk_Window tkwin)
#}
#
#declare 134 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
# 	    int width, int height, int flags)
#}

d615 1
a615 1
declare 145 {mac win aqua} {
a847 241
# Mac specific functions

declare 0 mac {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

# removed duplicates from tkInt table
#declare 1 mac {
#    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source)
#}
#
#declare 2 mac {
#    void TkpDefineNativeBitmaps (void)
#}

declare 3 mac {
    unsigned long TkpGetMS (void)
}

declare 5 mac {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 6 mac {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 7 mac {
    void TkpSetCursor (TkpCursor cursor)
}

declare 8 mac {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 10 mac {
    void   TkAboutDlg (void)
}

declare 13 mac {
    Window  TkGetTransientMaster (TkWindow *winPtr)
}

declare 14 mac {
    int  TkGenerateButtonEvent (int x, int y, \
	    Window window, unsigned int state)
}

declare 16 mac {
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 17 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
#	    int width, int height, int flags)
#}

declare 18 mac {
    unsigned int TkMacButtonKeyState (void)
}

declare 19 mac {
    void  TkMacClearMenubarActive (void)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 20 mac {
#    int  TkMacConvertEvent (EventRecord *eventPtr)
#}

declare 21 mac {
    int  TkMacDispatchMenuEvent (int menuID, int index)
}

declare 22 mac {
    void  TkMacInstallCursor (int resizeOverride)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 23 mac {
#    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
#}

declare 24 mac {
    void  TkMacHandleTearoffMenu (void)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 26 mac {
#    void  TkMacInvalClipRgns (TkWindow *winPtr)
#}

declare 27 mac {
    void  TkMacDoHLEvent (EventRecord *theEvent)
}

declare 29 mac {
    Time  TkMacGenerateTime (void)
}

# removed duplicate from tkPlat table (tk.decls)
#declare 30 mac {
#    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
#}

declare 31 mac {
    TkWindow *  TkMacGetScrollbarGrowWindow (TkWindow *winPtr)
}

declare 32 mac {
    Window   TkMacGetXWindow (WindowRef macWinPtr)
}

declare 33 mac {
    int  TkMacGrowToplevel (WindowRef whichWindow, Point start)
}

declare 34 mac {
    void   TkMacHandleMenuSelect (long mResult, int optionKeyPressed)
}

# removed duplicates from tkPlat table (tk.decls)
#declare 35 mac {
#    int  TkMacHaveAppearance (void)
#}
#
#declare 36 mac {
#    void  TkMacInitAppleEvents (Tcl_Interp *interp)
#}
#
#declare 37 mac {
#    void   TkMacInitMenus (Tcl_Interp  *interp)
#}

declare 38 mac {
    void  TkMacInvalidateWindow (MacDrawable *macWin, int flag)
}

declare 39 mac {
    int  TkMacIsCharacterMissing (Tk_Font tkfont, unsigned int searchChar)
}

declare 40 mac {
    void  TkMacMakeRealWindowExist (TkWindow *winPtr)
}

declare 41 mac {
    BitMapPtr TkMacMakeStippleMap(Drawable d1, Drawable d2)
}

declare 42 mac {
    void  TkMacMenuClick (void)
}

declare 43 mac {
    void  TkMacRegisterOffScreenWindow (Window window, GWorldPtr portPtr)
}

declare 44 mac {
    int  TkMacResizable (TkWindow *winPtr)
}

declare 46 mac {
    void  TkMacSetHelpMenuItemCount (void)
}

declare 47 mac {
    void  TkMacSetScrollbarGrow (TkWindow *winPtr, int flag)
}

declare 48 mac {
    void  TkMacSetUpClippingRgn (Drawable drawable)
}

declare 49 mac {
    void  TkMacSetUpGraphicsPort (GC gc)
}

declare 50 mac {
    void   TkMacUpdateClipRgn (TkWindow *winPtr)
}

declare 51 mac {
    void  TkMacUnregisterMacWindow (GWorldPtr portPtr)
}

declare 52 mac {
    int  TkMacUseMenuID (short macID)
}

declare 53 mac {
    RgnHandle  TkMacVisableClipRgn (TkWindow *winPtr)
}

declare 54 mac {
    void  TkMacWinBounds (TkWindow *winPtr, Rect *geometry)
}

declare 55 mac {
    void  TkMacWindowOffset (WindowRef wRef, int *xOffset, int *yOffset)
}

declare 57 mac {
    int   TkSetMacColor (unsigned long pixel, RGBColor *macColor)
}

declare 58 mac {
    void   TkSetWMName (TkWindow *winPtr, Tk_Uid titleUid)
}

declare 59 mac {
    void  TkSuspendClipboard (void)
}

declare 61 mac {
    int  TkMacZoomToplevel (WindowPtr whichWindow, Point where, short zoomPart)
}

declare 62 mac {
    Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, \
	    int rootX, int rootY, int *newX, int *newY)
}

declare 63 mac {
    MacDrawable * TkMacContainerId (TkWindow *winPtr)
}

declare 64 mac {
    MacDrawable * TkMacGetHostToplevel  (TkWindow *winPtr)
}

declare 65 mac {
    void TkMacPreprocessMenu (void)
}

declare 66 mac {
    int TkpIsWindowFloating (WindowRef window)
}

########################
d1559 1
a1559 1
# X functions for Mac and Aqua
d1561 1
a1561 1
declare 0 {mac aqua} {
d1566 1
a1566 1
declare 1 {mac aqua} {
d1570 1
a1570 1
declare 2 {mac aqua} {
d1577 1
a1577 1
declare 3 {mac aqua} {
d1582 1
a1582 1
declare 4 {mac aqua} {
d1587 1
a1587 1
declare 5 {mac aqua} {
d1591 1
a1591 1
declare 6 {mac aqua} {
d1596 1
a1596 1
declare 7 {mac aqua} {
d1600 1
a1600 1
declare 8 {mac aqua} {
d1604 1
a1604 1
declare 9 {mac aqua} {
d1608 1
a1608 1
declare 10 {mac aqua} {
d1612 1
a1612 1
declare 11 {mac aqua} {
d1616 1
a1616 1
declare 12 {mac aqua} {
d1620 1
a1620 1
declare 13 {mac aqua} {
d1624 1
a1624 1
declare 14 {mac aqua} {
d1629 1
a1629 1
declare 15 {mac aqua} {
d1634 1
a1634 1
declare 16 {mac aqua} {
d1639 1
a1639 1
declare 17 {mac aqua} {
d1645 1
a1645 1
declare 18 {mac aqua} {
d1651 1
a1651 1
declare 19 {mac aqua} {
d1656 1
a1656 1
declare 20 {mac aqua} {
d1660 1
a1660 1
declare 21 {mac aqua} {
d1664 1
a1664 1
declare 22 {mac aqua} {
d1669 1
a1669 1
declare 23 {mac aqua} {
d1673 1
a1673 1
declare 24 {mac aqua} {
d1678 1
a1678 1
declare 25 {mac aqua} {
d1683 1
a1683 1
declare 26 {mac aqua} {
d1688 1
a1688 1
declare 27 {mac aqua} {
d1692 1
a1692 1
declare 28 {mac aqua} {
d1696 1
a1696 1
declare 29 {mac aqua} {
d1701 1
a1701 1
declare 30 {mac aqua} {
d1705 1
a1705 1
declare 31 {mac aqua} {
d1711 1
a1711 1
declare 32 {mac aqua} {
d1717 1
a1717 1
declare 33 {mac aqua} {
d1721 1
a1721 1
declare 34 {mac aqua} {
d1726 1
a1726 1
declare 35 {mac aqua} {
d1730 1
a1730 1
declare 36 {mac aqua} {
d1734 1
a1734 1
declare 37 {mac aqua} {
d1739 1
a1739 1
declare 38 {mac aqua} {
d1743 1
a1743 1
declare 39 {mac aqua} {
d1748 1
a1748 1
declare 40 {mac aqua} {
d1752 1
a1752 1
declare 41 {mac aqua} {
d1756 1
a1756 1
declare 42 {mac aqua} {
d1761 1
a1761 1
declare 43 {mac aqua} {
d1765 1
a1765 1
declare 44 {mac aqua} {
d1769 1
a1769 1
declare 45 {mac aqua} {
d1773 1
a1773 1
declare 46 {mac aqua} {
d1777 1
a1777 1
declare 47 {mac aqua} {
d1781 1
a1781 1
declare 48 {mac aqua} {
d1785 1
a1785 1
declare 49 {mac aqua} {
d1789 1
a1789 1
declare 50 {mac aqua} {
d1793 1
a1793 1
declare 51 {mac aqua} {
d1797 1
a1797 1
declare 52 {mac aqua} {
d1801 1
a1801 1
declare 53 {mac aqua} {
d1805 1
a1805 1
declare 54 {mac aqua} {
d1809 1
a1809 1
declare 55 {mac aqua} {
d1813 1
a1813 1
declare 56 {mac aqua} {
d1817 1
a1817 1
declare 57 {mac aqua} {
d1824 1
a1824 1
declare 58 {mac aqua} {
d1829 1
a1829 1
declare 59 {mac aqua} {
d1834 1
a1834 1
declare 60 {mac aqua} {
d1838 1
a1838 1
declare 61 {mac aqua} {
d1843 1
a1843 1
declare 62 {mac aqua} {
d1848 1
a1848 1
declare 63 {mac aqua} {
d1853 1
a1853 1
declare 64 {mac aqua} {
d1857 1
a1857 1
declare 65 {mac aqua} {
d1862 1
a1862 1
declare 66 {mac aqua} {
d1867 1
a1867 1
declare 67 {mac aqua} {
d1871 1
a1871 1
declare 68 {mac aqua} {
d1875 1
a1875 1
declare 69 {mac aqua} {
d1879 1
a1879 1
declare 70 {mac aqua} {
d1883 1
a1883 1
declare 71 {mac aqua} {
d1887 1
a1887 1
declare 72 {mac aqua} {
d1891 1
a1891 1
declare 73 {mac aqua} {
d1895 1
a1895 1
declare 74 {mac aqua} {
d1901 1
a1901 1
declare 75 {mac aqua} {
d1905 1
a1905 1
declare 76 {mac aqua} {
d1909 1
a1909 1
declare 77 {mac aqua} {
d1914 1
a1914 1
declare 78 {mac aqua} {
d1919 1
a1919 1
declare 79 {mac aqua} {
d1923 1
a1923 1
declare 80 {mac aqua} {
d1927 1
a1927 1
declare 81 {mac aqua} {
d1930 1
a1930 1
declare 82 {mac aqua} {
d1934 1
a1934 1
declare 83 {mac aqua} {
d1938 1
a1938 1
declare 84 {mac aqua} {
d1942 1
a1942 1
declare 85 {mac aqua} {
d1946 1
a1946 1
declare 86 {mac aqua} {
d1951 1
a1951 1
declare 87 {mac aqua} {
d1957 1
a1957 1
declare 88 {mac aqua} {
d1961 1
a1961 1
declare 89 {mac aqua} {
d1966 1
a1966 1
declare 90 {mac aqua} {
@


1.33
log
@	* generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure
	that you're not creating an image named the same as .'s command,
	which refixes 220891, even when the name of the command has been
	changed with 'rename'.  The error message is better too.
	* generic/tkFrame.c (TkToplevelWindowForCommand): Added way of
	mapping from command names to tkwins-for-toplevels.
	* tests/image.test (image-1.10,image-1.11): Updated to match new
	error message and added test for the rename case.
	* generic/tclInt.decls: Made TkToplevelWindowForCommand exported
	privately.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.32 2002/12/08 00:46:51 hobbs Exp $
d674 5
@


1.33.2.1
log
@        * generic/tkInt.h:      move TkGetOptionSpec to stubs intDecls
        * generic/tkIntDecls.h:
        * generic/tkInt.decls:
        * generic/tkStubInit.c:
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33 2003/01/22 14:32:59 dkf Exp $
a673 5
}

declare 149 generic {
    CONST Tk_OptionSpec * TkGetOptionSpec (CONST char *name,
					   Tk_OptionTable optionTable)
@


1.33.2.2
log
@	* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.
	It is only defined under Win32.
	* generic/tkIntPlatDecls.h: Regen.
	* generic/tkStubInit.c: Regen.
	* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
	TK_THEME_WIN_XP.
	* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
	Draw a disabled 3D text highlight for the accelerator only
	with the Win95/98 look. Same goes for the menu entry text.
	* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
	Automatically detect the Windows theme in use and return
	either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
	TkWinGetPlatformTheme function is invoked.
	[Patch 866194]

	* win/tkWinMenu.c: only provide a submenu handle when the
	MF_POPUP flag is given, fixing a recently-introduced crash
	when submenus are disabled.  Also better error checking for
	this sort of situation in the future.

	* win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled
	(TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was
	displaying a disabled cascade menu arrow in black instead of
	gray. This was caused by a bug in the Win32 code for user drawn
	menu items. The fix is to avoid telling Windows that the menu item
	is a cascade type and then draw the gray arrow bitmap on our own.
	[Patch 865842]

	* win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32
	bug where the logical coordinates returned by a call to DPtoLP are
	wrong the first time a menu is posted.  This bug manifested itself
	by drawing the bitmap in the wrong place in a menu.  The fix was
	to pass the newly created DC instead of the DC from the window.

	* win/tkWinMenu.c (DrawMenuEntryAccelerator):
	(DrawMenuEntryLabel): When drawing the label text and accelerator
	text for a disabled menu entry be sure to draw a 3D highlight.
	The only exception to this is when a disabled menu entry is
	highlighted, in that case do not draw a 3D hightlight.

	* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow):
	Move the unused menu arrow drawing code in
	DrawMenuEntryAccelerator into a new function named
	DrawMenuEntryArrow.  This makes no functional change but it will
	make it easier to fix things in the future.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33.2.1 2003/10/13 03:30:04 hobbs Exp $
a1132 4
declare 35 win {
    int TkWinGetPlatformTheme (void)
}

@


1.33.2.3
log
@* generic/tkInt.decls:       Signature for tkWinXCleanup needed to be
* generic/tkIntPlatDecls.h:  changed so it matches the Tcl_ExitProc
			     typedef to avoid a bad-style cast.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33.2.2 2004/09/23 00:56:14 mdejong Exp $
d860 1
a860 1
    void  TkWinXCleanup (ClientData clientData)
@


1.33.2.4
log
@	* generic/tkFrame.c (DisplayFrame):
	* generic/tkInt.decls:  add TkpDrawFrame to allow for
	* generic/tkIntDecls.h: platform-specific drawing into the frame/
	* generic/tkStubInit.c: toplevel area.  Currently only differs on
	* generic/tkFrame.c:    OS X (Aqua), which will draw a themed bg
	* win/tkWinDraw.c:      if tk::mac::useThemedToplevel == 1.
	* unix/tkUnixDraw.c:    Normal frames left alone until we can
	* mac/tkMacDraw.c:      better factor out frame drawing to be
	* macosx/tkMacDraw.c:   widget-specific.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33.2.3 2004/10/27 00:35:53 davygrvy Exp $
a680 16
# TIP#168 - 8.5+
#declare 150 generic {
#    int TkMakeRawCurve (Tk_Canvas canvas,
#	    double *pointPtr, int numPoints, int numSteps,
#	    XPoint xPoints[], double dblPoints[])
#}
#declare 151 generic {
#    void TkMakeRawCurvePostscript (Tcl_Interp *interp,
#	    Tk_Canvas canvas, double *pointPtr, int numPoints)
#}

declare 152 generic {
    void TkpDrawFrame(Tk_Window tkwin, Tk_3DBorder border,
		      int highlightWidth, int borderWidth, int relief)
}

@


1.33.2.5
log
@	* macosx/tkMacOSXCarbonEvents.c (new): moved carbon events code into
	* macosx/tkMacOSXHLEvents.c:           new file like on HEAD,
	* macosx/tkMacOSXInit.c (TkpInit):     initialize carbon event handlers
	* macosx/tkMacOSXInt.h:                in TkpInit(), add new source
	* unix/Makefile.in:                    file to Makefile.in.

	* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon
	events sent directly to application event target via the general
	TkMacOSXProcessEvent() in the same way as events posted to the event
	loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
	(TkMacOSXInitCarbonEvents): register our application event handler for
	kEventWindowExpanded events to deal with uncollapsing from the dock.

	* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
	* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
	                          use by app event handler.

	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
	current window, partCode, modifiers and local cursor position from
	carbon mouse event if possible. Use new static GenerateButtonEvent()
	taking a MouseEventData struct instead of TkGenerateButtonEvent() to
	avoid recomputing already known values. Move process activation on
	MouseDown into BringWindowForward() to allow clicking on window titlebar
	widgets without activating process. Move code dealing with clicks in
	window titelbar into separate function HandleWindowTitlebarMouseDown()
	to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow()
	by storing result in MouseEventData struct.
	(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
	state from currently processed carbon event (to avoid unnecessary IPC
	with the window server), otherwise use modern carbon API to get this
	info instead of Button() and GetKeys(); only retrieve info caller asks
	for (via non-NULL ptr passed to XQueryPointer).
	(ButtonModifiers2State): new static function converting carbon button
	and modifier state into tk state, allows detection of more than 3 mouse
	buttons (tk supports up to 5) and of NumLock and Fn modifier keys
	(NumLock is mapped to Mod3 and Fn to Mod4).

	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle
	kEventWindowExpanded event to deal with window uncollapsing from the
	dock by generating tk Map event, handle kEventAppHidden and
	kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).

	* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when
	it is not iconified to avoid window flashing on collapse.

	* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
	(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
	HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
	(TkpWmSetState): avoid window flashing on collapse by unmapping after
	calling CollapseWindow(); only uncollapse window if it is collapsed.

	* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
	* generic/tkIntPlatDecls.h:

	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
	GetMenuItemCommandID() on KeyDown or KeyRepeat events.

	* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
	obsolete AppendResMenu() API.

	* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
	* macosx/tkMacOSXMenu.c:     GetMouse() and TkMacOSXButtonKeyState()
	* macosx/tkMacOSXMenus.c:    APIs by calls to XQueryPointer()
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXScale.c:
	* macosx/tkMacOSXScrlbr.c:
	* macosx/tkMacOSXWm.c:

	* macosx/tkMacOSXDialog.c:   replaced use of FrontNonFloatingWindow()
	* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
	* macosx/tkMacOSXMenu.c:     recommended by Carbon docs.
	* macosx/tkMacOSXMenus.c:
	* macosx/tkMacOSXSubwindows.c:
	* macosx/tkMacOSXWm.c:

	* macosx/tkMacOSXDialog.c: fixed warnings
	* macosx/tkMacOSXTest.c:

	* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.h:

	* macosx/tkMacOSXEmbed.c: replaced all uses of panic() with Tcl_Panic()
	* macosx/tkMacOSXFont.c:  (sync with HEAD).
	* macosx/tkMacOSXMenus.c:
	* macosx/tkMacOSXSubwindows.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXXStubs.c:

	* macosx/tkMacOSXInt.h:      sync with HEAD changes of 2005-03-14.
	* macosx/tkMacOSXSubwindows.c:

	* macosx/tclets.r (removed): sync with HEAD.
	* macosx/tkMacOSXScale.c:
	* macosx/tkMacOSXPort.h:

	* library/demos/menu.tcl: removed errant '}'.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33.2.4 2005/07/28 04:57:38 hobbs Exp $
d1325 1
a1325 1
    int  TkMacOSXZoomToplevel (WindowPtr whichWindow, short zoomPart)
@


1.33.2.6
log
@	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
	configure (flag can't be present twice, so can't be in both CFLAGS and
	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
	autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD.

	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
	formatting/ordering differences with tcl/unix/configure.in.

	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
	linking the same as during configure (needed to avoid loosing any linker
	relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
	Avoid concurrent linking of wish and compiling of tkTestInit.o during
	parallel make, fix dependencies and flags for building tkMacOSXInit.o
	(checkstubs, checkexports): dependency and Darwin fixes

	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
	* macosx/tkMacOSXCarbonEvents.c: install standard application event
	handler, add & call functions to start and stop carbon even timer that
	runs the tcl event loop periodically during a nested carbon event loop
	in the toolbox (e.g. during menutracking) to ensure tcl timers etc
	continue to fire, register app event handler for menu tracking and HI
	command carbon events, move menu event handling to new handlers for
	those carbon events, no longer register for/handle appleevent carbon
	event (now dealt with by standard application event handler), event
	debugging code dynamically acquires carbon event debugging functions to
	allow use on Tiger where they are no longer exported from HIToolbox.

	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
	address of a named symbol (from a loaded dynamic library) into new
	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.

	* macosx/tkMacOSXMenu.c (TkpNewMenu):
	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to  modern
	utf8 aware menu manager API, remove obsolete code, add error handling.

	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
	if necessary to allow compilation on OSX 10.2

	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
	executed.

	* generic/tk.h: add/correct location of version numbers in macosx files.

	* generic/tkInt.h: clarify fat compile comment.

	* macosx/Wish.pbproj/default.pbxuser (new file):
	* macosx/Wish.pbproj/jingham.pbxuser:
	* macosx/Wish.pbproj/project.pbxproj: sync with HEAD.

	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.

	* macosx/README: clarification/cleanup, sync with HEAD, document
	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).

	* macosx/Makefile: add support for reusing configure cache, build target
	fixes.

	* generic/tkMenu.c:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXXStubs.c:
	* macosx/tkMacOSXSubwindows.c:
	* xlib/xgc.c: declare functions and globals used only in own file as
	static, #ifdef out a few Xlib and aqua functions that are never called
	(sync with HEAD).

	* macosx/tkMacOSXPort.h:
	* generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect,
	add XSync to aqua Xlib stubs.

	* generic/tkTest.c: #ifdef unix only declarations.
	(TestmetricsCmd): unify win and mac implementation.

	* generic/tkTextDisp.c:
	* generic/tkTextBTree.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.

	* macosx/tkMacOSXNotify.c:
	* macosx/tkMacOSXTest.c: sync with HEAD.

	* generic/tkIntPlatDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkStubInit.c:
	* unix/configure: regen.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.33.2.5 2005/08/09 07:39:51 das Exp $
d1232 1
a1232 1
    void TkMacOSXHandleMenuSelect(MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed)
a2275 3
declare 91 {aqua} {
    int XSync(Display *display, Bool flag)
}
@


1.32
log
@	* generic/tkInt.decls: add TkWinSetHINSTANCE decl
	* generic/tkIntPlatDecls.h: regen
	* generic/tkStubInit.c: regen
	* win/tkWinInit.c (TkpInit):  While init and cleanup aren't correct
	* win/tkWinX.c (TkWinXInit):  in DllMain, we had to specify the
	* win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
	dynamic Tk weren't being loaded correctly.  Created a new function
	TkWinSetHINSTANCE for this purpose.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.31 2002/10/09 11:56:28 das Exp $
d669 5
@


1.31
log
@	* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
	mac & aqua, since it's now called from ParentXId via Tk_HandleEvent.
	* generic/tkIntXlibDecls.h:
	* generic/tkStubInit.c: regen.
	* mac/tkMacXStubs.c: added XQueryTree stub

	* mac/tkMacEmbed.c (TkpUseWindow): check that container window
	has -container option set (sync with other platforms).

	* mac/tkMacBitmap.c:
	* mac/tkMacFont.c:
	* mac/tkMacSend.c:
	* mac/tkMacTest.c:
	* mac/tkMacWm.c: CONSTification.

	* mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to
	tk library projects.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.30 2002/08/31 06:12:20 das Exp $
d874 6
@


1.30
log
@	*** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***

	* generic/tk.decls:
	* generic/tkInt.decls: added new "aqua" specific entries to the
	stubs tables. Changed all "unix" entries to "x11" to allow us to
	distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.

	* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
	be passed to the resource compiler.

	* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
	subcommand: returns "x11" when running on X11, "win32" on Windows,
	"classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)

	* generic/tkFont.c (TkFontGetFirstTextLayout): new private function
	returning the first chunk of a Tk_TextLayout, i.e. until the first
	font change on the first line (or the whole first line if there is
	no such font change).

	* generic/tkMain.c: made Tcl_ThreadDataKey static

	* library/demos/puzzle.tcl: fixed button metrics for aqua

	* tests/cursor.test: check for presence of arrow cursor instead of
	heart cursor

	* xlib/xcolors.c: changed xColors static initialization to more
	standard C

	* macosx/Wish.pbproj/jingham.pbxuser (new):
	* macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
	ProjectBuilder IDE.

	* macosx/Makefile (new): simple makefile for building the project
	from the command line via the ProjectBuilder tool 'pbxbuild'.

	* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
	for a AppMain.tcl file in its bundled Resources/Scripts folder. If
	present, argv[1] is set to that file and the Scripts folder is
	added to the auto_path. This allows tk apps to embed scripts within
	their bundle directory structure.

	* macosx/tkMacOSXInit.c (new): macosx adapted version of
	tkUnixInit.c: we initialize & cache the Carbon native encoding
	(e.g. 'macRoman') and try to find the tk script library files
	inside Tk packaged as a framework.

	* macosx/tkMacOSXNotify.c (new): new macosx specific merged
	Carbon/select-based notifier.

	* macosx/tkMacOSXEvent.c (new):
	* macosx/tkMacOSXEvent.h (new):
	* macosx/tkMacOSXKeyEvent.c (new):
	* macosx/tkMacOSXMouseEvent.c (new):
	* macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
	handling functionality.

	* macosx/tkMacOSX.h (new):
	* macosx/tkMacOSXBitmap.c (new):
	* macosx/tkMacOSXButton.c (new):
	* macosx/tkMacOSXClipboard.c (new):
	* macosx/tkMacOSXColor.c (new):
	* macosx/tkMacOSXConfig.c (new):
	* macosx/tkMacOSXCursor.c (new):
	* macosx/tkMacOSXDefault.h (new):
	* macosx/tkMacOSXDialog.c (new):
	* macosx/tkMacOSXDraw.c (new):
	* macosx/tkMacOSXEmbed.c (new):
	* macosx/tkMacOSXFont.c (new):
	* macosx/tkMacOSXHLEvents.c (new):
	* macosx/tkMacOSXInt.h (new):
	* macosx/tkMacOSXKeyboard.c (new):
	* macosx/tkMacOSXMenu.c (new):
	* macosx/tkMacOSXMenubutton.c (new):
	* macosx/tkMacOSXMenus.c (new):
	* macosx/tkMacOSXPort.h (new):
	* macosx/tkMacOSXRegion.c (new):
	* macosx/tkMacOSXScale.c (new):
	* macosx/tkMacOSXScrlbr.c (new):
	* macosx/tkMacOSXSubwindows.c (new):
	* macosx/tkMacOSXTest.c (new):
	* macosx/tkMacOSXUtil.c (new):
	* macosx/tkMacOSXUtil.h (new):
	* macosx/tkMacOSXWm.c (new):
	* macosx/tkMacOSXWm.h (new):
	* macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
	implementation in tk/mac.

	* macosx/tkMacOSXSend.c (new): only send to local interp
	implemented currently.

	* macosx/tkMacOSXDebug.h (new):
	* macosx/tkMacOSXDebug.c (new): new macosx specific functions for
	debugging MacOS events, regions, etc.

	* macosx/tkAboutDlg.r (new):
	* macosx/tkMacOSXApplication.r (new):
	* macosx/tkMacOSXCursors.r (new):
	* macosx/tkMacOSXLibrary.r (new):
	* macosx/tkMacOSXMenu.r (new):
	* macosx/tkMacOSXResource.r (new):
	* macosx/tkMacOSXXCursors.r (new):
	* macosx/tclets.r (new): sources for Rez resource compiler.

	* macosx/Wish.icns (new): Wish application icon.

	* generic/tk.h:
	* generic/default.h:
	* generic/tkBind.c:
	* generic/tkCmds.c:
	* generic/tkGrab.c:
	* generic/tkPointer.c:
	* generic/tkPort.h:
	* generic/tkSelect.c:
	* generic/tkStubLib.c:
	* generic/tkTest.c:
	* generic/tkText.c:
	* generic/tkWindow.c:
	* unix/tkUnix3d.c:
	* xlib/xgc.c:
	* xlib/X11/X.h:
	* xlib/X11/Xlib.h:
	* xlib/X11/Xutil.h: added #includes and #ifdefs for macosx

	* library/bgerror.tcl:
	* library/button.tcl:
	* library/console.tcl:
	* library/dialog.tcl:
	* library/entry.tcl:
	* library/listbox.tcl:
	* library/menu.tcl:
	* library/msgbox.tcl:
	* library/scrlbar.tcl:
	* library/spinbox.tcl:
	* library/text.tcl:
	* library/tk.tcl:
	* library/demos/menu.tcl:
	* library/demos/menubu.tcl:
	* library/demos/widget: check [tk windowingsystem] instead of
	and/or in addition to $tcl_platform(platform).

	* generic/tkInt.h:
	* mac/tkMacBitmap.c:
	* mac/tkMacWm.c: added missing CONSTification

	* generic/tkIntDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkPlatDecls.h:
	* generic/tkStubInit.c: regen
@
text
@d12 1
a12 1
# RCS: @@(#) $Id$
d2234 5
@


1.29
log
@Applied companion patch for Tcl Patch 585105,
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.

This patch includes purging Tk of its last
direct access to interp->result.  [Bug 589853]

The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them.  If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.

The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.28 2002/06/18 23:51:46 dkf Exp $
d530 1
a530 1
declare 113 {mac win}  {
d534 1
a534 1
declare 114 {mac win}  {
d538 1
a538 1
declare 115 {mac win} {
d542 1
a542 1
declare 116 {mac win} {
d546 1
a546 1
declare 117 {mac win} {
d551 1
a551 1
declare 118 {mac win} {
d555 1
a555 1
declare 119 {mac win} {
d565 2
a566 2
declare 121 mac {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
d569 1
a569 1
declare 122 mac {
d578 1
a578 1
declare 124 mac {
d660 1
a660 1
declare 145 {mac win} {
d681 1
a681 1
declare 0 unix {
d685 1
a685 1
declare 1 unix {
d689 1
a689 1
declare 2 unix {
d693 1
a693 1
declare 3 unix {
d697 1
a697 1
declare 4 unix {
d701 1
a701 1
declare 5 unix {
d705 1
a705 1
declare 6 unix {
d709 1
a709 1
declare 7 unix {
d713 1
a713 1
declare 8 unix {
d717 1
a717 1
declare 9 unix {
d721 1
a721 1
declare 10 unix {
d725 1
a725 1
declare 11 unix {
d729 1
a729 1
declare 12 unix {
d885 1
a885 1
#    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
d1117 223
d1829 1
a1829 1
# X functions for Mac
d1831 1
a1831 1
declare 0 mac {
d1836 1
a1836 1
declare 1 mac {
d1840 1
a1840 1
declare 2 mac {
d1847 1
a1847 1
declare 3 mac {
d1852 1
a1852 1
declare 4 mac {
d1857 1
a1857 1
declare 5 mac {
d1861 1
a1861 1
declare 6 mac {
d1866 1
a1866 1
declare 7 mac {
d1870 1
a1870 1
declare 8 mac {
d1874 1
a1874 1
declare 9 mac {
d1878 1
a1878 1
declare 10 mac {
d1882 1
a1882 1
declare 11 mac {
d1886 1
a1886 1
declare 12 mac {
d1890 1
a1890 1
declare 13 mac {
d1894 1
a1894 1
declare 14 mac {
d1899 1
a1899 1
declare 15 mac {
d1904 1
a1904 1
declare 16 mac {
d1909 1
a1909 1
declare 17 mac {
d1915 1
a1915 1
declare 18 mac {
d1921 1
a1921 1
declare 19 mac {
d1926 1
a1926 1
declare 20 mac {
d1930 1
a1930 1
declare 21 mac {
d1934 1
a1934 1
declare 22 mac {
d1939 1
a1939 1
declare 23 mac {
d1943 1
a1943 1
declare 24 mac {
d1948 1
a1948 1
declare 25 mac {
d1953 1
a1953 1
declare 26 mac {
d1958 1
a1958 1
declare 27 mac {
d1962 1
a1962 1
declare 28 mac {
d1966 1
a1966 1
declare 29 mac {
d1971 1
a1971 1
declare 30 mac {
d1975 1
a1975 1
declare 31 mac {
d1981 1
a1981 1
declare 32 mac {
d1987 1
a1987 1
declare 33 mac {
d1991 1
a1991 1
declare 34 mac {
d1996 1
a1996 1
declare 35 mac {
d2000 1
a2000 1
declare 36 mac {
d2004 1
a2004 1
declare 37 mac {
d2009 1
a2009 1
declare 38 mac {
d2013 1
a2013 1
declare 39 mac {
d2018 1
a2018 1
declare 40 mac {
d2022 1
a2022 1
declare 41 mac {
d2026 1
a2026 1
declare 42 mac {
d2031 1
a2031 1
declare 43 mac {
d2035 1
a2035 1
declare 44 mac {
d2039 1
a2039 1
declare 45 mac {
d2043 1
a2043 1
declare 46 mac {
d2047 1
a2047 1
declare 47 mac {
d2051 1
a2051 1
declare 48 mac {
d2055 1
a2055 1
declare 49 mac {
d2059 1
a2059 1
declare 50 mac {
d2063 1
a2063 1
declare 51 mac {
d2067 1
a2067 1
declare 52 mac {
d2071 1
a2071 1
declare 53 mac {
d2075 1
a2075 1
declare 54 mac {
d2079 1
a2079 1
declare 55 mac {
d2083 1
a2083 1
declare 56 mac {
d2087 1
a2087 1
declare 57 mac {
d2094 1
a2094 1
declare 58 mac {
d2099 1
a2099 1
declare 59 mac {
d2104 1
a2104 1
declare 60 mac {
d2108 1
a2108 1
declare 61 mac {
d2113 1
a2113 1
declare 62 mac {
d2118 1
a2118 1
declare 63 mac {
d2123 1
a2123 1
declare 64 mac {
d2127 1
a2127 1
declare 65 mac {
d2132 1
a2132 1
declare 66 mac {
d2137 1
a2137 1
declare 67 mac {
d2141 1
a2141 1
declare 68 mac {
d2145 1
a2145 1
declare 69 mac {
d2149 1
a2149 1
declare 70 mac {
d2153 1
a2153 1
declare 71 mac {
d2157 1
a2157 1
declare 72 mac {
d2161 1
a2161 1
declare 73 mac {
d2165 1
a2165 1
declare 74 mac {
d2171 1
a2171 1
declare 75 mac {
d2175 1
a2175 1
declare 76 mac {
d2179 1
a2179 1
declare 77 mac {
d2184 1
a2184 1
declare 78 mac {
d2189 1
a2189 1
declare 79 mac {
d2193 1
a2193 1
declare 80 mac {
d2197 1
a2197 1
declare 81 mac {
d2200 1
a2200 1
declare 82 mac {
d2204 1
a2204 1
declare 83 mac {
d2208 1
a2208 1
declare 84 mac {
d2212 1
a2212 1
declare 85 mac {
d2216 1
a2216 1
declare 86 mac {
d2221 1
a2221 1
declare 87 mac {
d2227 1
a2227 1
declare 88 mac {
d2231 1
a2231 1
declare 89 mac {
@


1.28
log
@Added TIP#48 style engine implementation
Frederic Bonnet to supply docs+tests as soon as possible.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.27 2002/06/14 13:35:48 dkf Exp $
d76 1
a76 1
	    ClientData object, char *eventString, \
d83 1
a83 1
	    char *source, char *mask, int width, int height, \
d95 1
a95 1
	    char *screenName, char *baseName)
d181 1
a181 1
    CONST char * TkGetDefaultScreenName (Tcl_Interp *interp, \
d361 1
a361 1
    int TkpUseWindow (Tcl_Interp *interp, Tk_Window tkwin, char *string)
d523 1
a523 1
	    char *dbName, char *className)
d869 1
a869 1
	    char *dbName, char *className)
@


1.27
log
@TIP#98 implementation; improved photo image copy and GIF frame access
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.26 2002/05/27 19:49:32 mdejong Exp $
d662 7
@


1.26
log
@	* generic/tkInt.decls: Add unix decl for TkpWmSetState.
	* generic/tkIntPlatDecls.h: Regen.
	* generic/tkStubInit.c: Regen.
	* tests/wm.test: Test state changes between iconic,
	normal, and withdrawn both before and after initial
	mapping.
	* unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move
	state change code into TkpWmSetState to more closely
	match the Win32 implementation. No functional changes.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.25 2002/04/12 10:10:48 hobbs Exp $
d658 4
@


1.25
log
@	* generic/tkStubInit.c:
	* generic/tkIntPlatDecls.h:
	* generic/tkIntDecls.h:
	* generic/tkInt.decls: added TkFocusFree, TkClipCleanup and
	TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup
	and TkFreeXId unix private procs.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.24 2002/01/25 21:09:37 dgp Exp $
d716 4
@


1.24
log
@	* Updated callers of Tcl_SplitList and Tcl_Merge.
	* Updated callers of Tcl_GetStringResult.
	  Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
	  directly on interp->result.
	* Updated callers of Tcl_GetVar, Tcl_GetVar2
	* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
	  Tcl_TranslateFileName.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.23 2001/12/04 03:07:43 mdejong Exp $
d648 12
d704 12
@


1.23
log
@	Add TK patch 481148 to implement TIP 74, the
	wm stackorder command.

	* doc/winfo.n: Update documentation for the winfo
	children command to indicate that top-level windows
	are not returned in stacking order.
	* doc/wm.n: Add documentation for wm stackorder.
	* generic/tkInt.decls (TkWmStackorderToplevel):
	Add decl for new function.
	* generic/tkIntDecls.h: Regen.
	* generic/tkStubInit.c: Regen.
	* tests/unixWm.test: Add stackorder command to test
	for wm command usage message.
	* tests/wm.test: Add new set of tests for generic
	window manager methods.
	* unix/tkUnixWm.c (Tk_WmCmd,
	TkWmStackorderToplevelWrapperMap,
	TkWmStackorderToplevel): Add unix implementation of
	new wm stackorder command.
	* win/tkWinWm.c (Tk_WmCmd,
	TkWmStackorderToplevelEnumProc,
	TkWmStackorderToplevelWrapperMap,
	TkWmStackorderToplevel): Add windows implementation
	of new wm stackorder command.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.22 2001/11/23 02:04:56 das Exp $
d181 2
a182 1
    char * TkGetDefaultScreenName (Tcl_Interp *interp, char *screenName)
d291 1
a291 1
    void TkpDisplayWarning (char *msg, char *title)
d332 1
a332 1
    TkDisplay * TkpOpenDisplay (char *display_name)
d1370 1
a1370 1
    void XSetCommand (Display* d, Window w, char** c, int i)
@


1.22
log
@	**  upport to 8.4 of mac code changes for 8.3.3 & various new
	**  changes for 8.4, some already backported to 8.3.4 (patch #435660)

	see ChangeLog for details
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.21 2001/09/25 16:25:20 dgp Exp $
d641 4
@


1.21
log
@	* Corrected definition of
        TkpScanWindowId to handle situation where types Window and int
        do not have the same number of bits.  CONST-ified too.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.20 2001/09/21 21:19:43 hobbs Exp $
d559 4
a562 3
declare 120 mac {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}
d572 4
a575 3
declare 123 mac {
    unsigned long TkpGetMS (void)
}
d582 34
a615 33
declare 125 mac {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 126 mac {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 127 mac {
    void TkpSetCursor (TkpCursor cursor)
}

declare 128 mac {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 130 mac {
    Window  TkGetTransientMaster (TkWindow *winPtr)
}

declare 131 mac {
    int  TkGenerateButtonEvent (int x, int y, \
 	    Window window, unsigned int state)
}

declare 133 mac {
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
}

declare 134 mac {
    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
 	    int width, int height, int flags)
}
d839 8
a846 7
declare 1 mac {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
}

declare 2 mac {
    void TkpDefineNativeBitmaps (void)
}
d885 5
a889 4
declare 17 mac {
    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
	    int width, int height, int flags)
}
d899 4
a902 3
declare 20 mac {
    int  TkMacConvertEvent (EventRecord *eventPtr)
}
d912 4
a915 3
declare 23 mac {
    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
}
d921 4
a924 3
declare 26 mac {
    void  TkMacInvalClipRgns (TkWindow *winPtr)
}
d934 4
a937 3
declare 30 mac {
    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
}
d955 12
a966 11
declare 35 mac {
    int  TkMacHaveAppearance (void)
}

declare 36 mac {
    void  TkMacInitAppleEvents (Tcl_Interp *interp)
}

declare 37 mac {
    void   TkMacInitMenus (Tcl_Interp  *interp)
}
d1069 3
@


1.21.2.1
log
@First checkin of support for Tk on Mac OS X.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id$
d529 1
a529 1
declare 113 {mac macosx win}  {
d533 1
a533 1
declare 114 {mac macosx win}  {
d537 1
a537 1
declare 115 {mac macosx win} {
d541 1
a541 1
declare 116 {mac macosx win} {
d545 1
a545 1
declare 117 {mac macosx win} {
d550 1
a550 1
declare 118 {mac macosx win} {
d554 1
a554 1
declare 119 {mac macosx win} {
d559 1
a559 1
declare 120 {mac macosx} {
d563 1
a563 1
declare 121 {mac macosx} {
d567 1
a567 1
declare 122 {mac macosx} {
d571 1
a571 1
declare 123 {mac macosx} {
d575 1
a575 1
declare 124 {mac macosx} {
d580 1
a580 1
declare 125 {mac macosx} {
d584 1
a584 1
declare 126 {mac macosx} {
d588 1
a588 1
declare 127 {mac macosx} {
d592 1
a592 1
declare 128 {mac macosx} {
d596 1
a596 1
declare 130 {mac macosx} {
d600 1
a600 1
declare 131 {mac macosx} {
d605 1
a605 1
declare 133 {mac macosx} {
d609 1
a609 1
declare 134 {mac macosx} {
a1058 196
########################
# Mac OS X specific functions

declare 0 macosx {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

declare 1 macosx {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
}

declare 2 macosx {
    void TkpDefineNativeBitmaps (void)
}

declare 3 macosx {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 4 macosx {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 5 macosx {
    void TkpSetCursor (TkpCursor cursor)
}

declare 6 macosx {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 7 macosx {
    void   TkAboutDlg (void)
}

declare 8 macosx {
    unsigned int TkMacOSXButtonKeyState (void)
}

declare 9 macosx {
    void  TkMacOSXClearMenubarActive (void)
}

declare 10 macosx {
    int  TkMacOSXDispatchMenuEvent (int menuID, int index)
}

declare 11 macosx {
    void  TkMacOSXInstallCursor (int resizeOverride)
}

declare 12 macosx {
    void  TkMacOSXHandleTearoffMenu (void)
}

declare 13 macosx {
    void  TkMacOSXInvalClipRgns (TkWindow *winPtr)
}

declare 14 macosx {
    int  TkMacOSXDoHLEvent (EventRecord *theEvent)
}

declare 15 macosx {
    GWorldPtr  TkMacOSXGetDrawablePort (Drawable drawable)
}

declare 16 macosx {
    Window   TkMacOSXGetXWindow (WindowRef macWinPtr)
}

declare 17 macosx {
    int  TkMacOSXGrowToplevel (WindowRef whichWindow, Point start)
}

declare 18 macosx {
    void   TkMacOSXHandleMenuSelect (long mResult, int optionKeyPressed)
}

declare 19 macosx {
    void  TkMacOSXInitAppleEvents (Tcl_Interp *interp)
}

declare 20 macosx {
    void   TkMacOSXInitMenus (Tcl_Interp  *interp)
}

declare 21 macosx {
    void  TkMacOSXInvalidateWindow (MacDrawable *macWin, int flag)
}

declare 22 macosx {
    int  TkMacOSXIsCharacterMissing (Tk_Font tkfont, unsigned int searchChar)
}

declare 23 macosx {
    void  TkMacOSXMakeRealWindowExist (TkWindow *winPtr)
}

declare 24 macosx {
    BitMapPtr TkMacOSXMakeStippleMap(Drawable d1, Drawable d2)
}

declare 25 macosx {
    void  TkMacOSXMenuClick (void)
}

declare 26 macosx {
    void  TkMacOSXRegisterOffScreenWindow (Window window, GWorldPtr portPtr)
}

declare 27 macosx {
    int  TkMacOSXResizable (TkWindow *winPtr)
}

declare 28 macosx {
    void  TkMacOSXSetHelpMenuItemCount (void)
}

declare 29 macosx {
    void  TkMacOSXSetScrollbarGrow (TkWindow *winPtr, int flag)
}

declare 30 macosx {
    void  TkMacOSXSetUpClippingRgn (Drawable drawable)
}

declare 31 macosx {
    void  TkMacOSXSetUpGraphicsPort (GC gc, GWorldPtr destPort)
}

declare 32 macosx {
    void   TkMacOSXUpdateClipRgn (TkWindow *winPtr)
}

declare 33 macosx {
    void  TkMacOSXUnregisterMacWindow (WindowRef portPtr)
}

declare 34 macosx {
    int  TkMacOSXUseMenuID (short macID)
}

declare 35 macosx {
    RgnHandle  TkMacOSXVisableClipRgn (TkWindow *winPtr)
}

declare 36 macosx {
    void  TkMacOSXWinBounds (TkWindow *winPtr, Rect *geometry)
}

declare 37 macosx {
    void  TkMacOSXWindowOffset (WindowRef wRef, int *xOffset, int *yOffset)
}

declare 38 macosx {
    int   TkSetMacColor (unsigned long pixel, RGBColor *macColor)
}

declare 39 macosx {
    void   TkSetWMName (TkWindow *winPtr, Tk_Uid titleUid)
}

declare 40 macosx {
    void  TkSuspendClipboard (void)
}

declare 41 macosx {
    int  TkMacOSXZoomToplevel (WindowPtr whichWindow, Point where, short zoomPart)
}

declare 42 macosx {
    Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, \
	    int rootX, int rootY, int *newX, int *newY)
}

declare 43 macosx {
    MacDrawable * TkMacOSXContainerId (TkWindow *winPtr)
}

declare 44 macosx {
    MacDrawable * TkMacOSXGetHostToplevel  (TkWindow *winPtr)
}

declare 45 macosx {
    void TkMacOSXPreprocessMenu (void)
}

declare 46 macosx {
    int  TkpIsWindowFloating (WindowRef window)
}

declare 47 macosx {
    Tk_Window TkMacOSXGetCapture (void)
}

d1551 1
a1551 1
declare 0 {mac macosx} {
d1556 1
a1556 1
declare 1 {mac macosx} {
d1560 1
a1560 1
declare 2 {mac macosx} {
d1567 1
a1567 1
declare 3 {mac macosx} {
d1572 1
a1572 1
declare 4 {mac macosx} {
d1577 1
a1577 1
declare 5 {mac macosx} {
d1581 1
a1581 1
declare 6 {mac macosx} {
d1586 1
a1586 1
declare 7 {mac macosx} {
d1590 1
a1590 1
declare 8 {mac macosx} {
d1594 1
a1594 1
declare 9 {mac macosx} {
d1598 1
a1598 1
declare 10 {mac macosx} {
d1602 1
a1602 1
declare 11 {mac macosx} {
d1606 1
a1606 1
declare 12 {mac macosx} {
d1610 1
a1610 1
declare 13 {mac macosx} {
d1614 1
a1614 1
declare 14 {mac macosx} {
d1619 1
a1619 1
declare 15 {mac macosx} {
d1624 1
a1624 1
declare 16 {mac macosx} {
d1629 1
a1629 1
declare 17 {mac macosx} {
d1635 1
a1635 1
declare 18 {mac macosx} {
d1641 1
a1641 1
declare 19 {mac macosx} {
d1646 1
a1646 1
declare 20 {mac macosx} {
d1650 1
a1650 1
declare 21 {mac macosx} {
d1654 1
a1654 1
declare 22 {mac macosx} {
d1659 1
a1659 1
declare 23 {mac macosx} {
d1663 1
a1663 1
declare 24 {mac macosx} {
d1668 1
a1668 1
declare 25 {mac macosx} {
d1673 1
a1673 1
declare 26 {mac macosx} {
d1678 1
a1678 1
declare 27 {mac macosx} {
d1682 1
a1682 1
declare 28 {mac macosx} {
d1686 1
a1686 1
declare 29 {mac macosx} {
d1691 1
a1691 1
declare 30 {mac macosx} {
d1695 1
a1695 1
declare 31 {mac macosx} {
d1701 1
a1701 1
declare 32 {mac macosx} {
d1707 1
a1707 1
declare 33 {mac macosx} {
d1711 1
a1711 1
declare 34 {mac macosx} {
d1716 1
a1716 1
declare 35 {mac macosx} {
d1720 1
a1720 1
declare 36 {mac macosx} {
d1724 1
a1724 1
declare 37 {mac macosx} {
d1729 1
a1729 1
declare 38 {mac macosx} {
d1733 1
a1733 1
declare 39 {mac macosx} {
d1738 1
a1738 1
declare 40 {mac macosx} {
d1742 1
a1742 1
declare 41 {mac macosx} {
d1746 1
a1746 1
declare 42 {mac macosx} {
d1751 1
a1751 1
declare 43 {mac macosx} {
d1755 1
a1755 1
declare 44 {mac macosx} {
d1759 1
a1759 1
declare 45 {mac macosx} {
d1763 1
a1763 1
declare 46 {mac macosx} {
d1767 1
a1767 1
declare 47 {mac macosx} {
d1771 1
a1771 1
declare 48 {mac macosx} {
d1775 1
a1775 1
declare 49 {mac macosx} {
d1779 1
a1779 1
declare 50 {mac macosx} {
d1783 1
a1783 1
declare 51 {mac macosx} {
d1787 1
a1787 1
declare 52 {mac macosx} {
d1791 1
a1791 1
declare 53 {mac macosx} {
d1795 1
a1795 1
declare 54 {mac macosx} {
d1799 1
a1799 1
declare 55 {mac macosx} {
d1803 1
a1803 1
declare 56 {mac macosx} {
d1807 1
a1807 1
declare 57 {mac macosx} {
d1814 1
a1814 1
declare 58 {mac macosx} {
d1819 1
a1819 1
declare 59 {mac macosx} {
d1824 1
a1824 1
declare 60 {mac macosx} {
d1828 1
a1828 1
declare 61 {mac macosx} {
d1833 1
a1833 1
declare 62 {mac macosx} {
d1838 1
a1838 1
declare 63 {mac macosx} {
d1843 1
a1843 1
declare 64 {mac macosx} {
d1847 1
a1847 1
declare 65 {mac macosx} {
d1852 1
a1852 1
declare 66 {mac macosx} {
d1857 1
a1857 1
declare 67 {mac macosx} {
d1861 1
a1861 1
declare 68 {mac macosx} {
d1865 1
a1865 1
declare 69 {mac macosx} {
d1869 1
a1869 1
declare 70 {mac macosx} {
d1873 1
a1873 1
declare 71 {mac macosx} {
d1877 1
a1877 1
declare 72 {mac macosx} {
d1881 1
a1881 1
declare 73 {mac macosx} {
d1885 1
a1885 1
declare 74 {mac macosx} {
d1891 1
a1891 1
declare 75 {mac macosx} {
d1895 1
a1895 1
declare 76 {mac macosx} {
d1899 1
a1899 1
declare 77 {mac macosx} {
d1904 1
a1904 1
declare 78 {mac macosx} {
d1909 1
a1909 1
declare 79 {mac macosx} {
d1913 1
a1913 1
declare 80 {mac macosx} {
d1917 1
a1917 1
declare 81 {mac macosx} {
d1920 1
a1920 1
declare 82 {mac macosx} {
d1924 1
a1924 1
declare 83 {mac macosx} {
d1928 1
a1928 1
declare 84 {mac macosx} {
d1932 1
a1932 1
declare 85 {mac macosx} {
d1936 1
a1936 1
declare 86 {mac macosx} {
d1941 1
a1941 1
declare 87 {mac macosx} {
d1947 1
a1947 1
declare 88 {mac macosx} {
d1951 1
a1951 1
declare 89 {mac macosx} {
@


1.21.2.2
log
@Replace MAC_OSX_TCL with MAC_OSX_TK for all windowing specific things.  This is so we can separate the macosx specific additions to Tcl (which are added ON to the Unix core) from the Aqua additions (which are orthogonal to Unix - which itself is overloaded to mean X11 as well...)
@
text
@d529 1
a529 1
declare 113 {mac aqua win}  {
d533 1
a533 1
declare 114 {mac aqua win}  {
d537 1
a537 1
declare 115 {mac aqua win} {
d541 1
a541 1
declare 116 {mac aqua win} {
d545 1
a545 1
declare 117 {mac aqua win} {
d550 1
a550 1
declare 118 {mac aqua win} {
d554 1
a554 1
declare 119 {mac aqua win} {
d1062 1
a1062 1
declare 0 aqua {
d1066 1
a1066 1
declare 1 aqua {
d1070 1
a1070 1
declare 2 aqua {
d1074 1
a1074 1
declare 3 aqua {
d1078 1
a1078 1
declare 4 aqua {
d1082 1
a1082 1
declare 5 aqua {
d1086 1
a1086 1
declare 6 aqua {
d1090 1
a1090 1
declare 7 aqua {
d1094 1
a1094 1
declare 8 aqua {
d1098 1
a1098 1
declare 9 aqua {
d1102 1
a1102 1
declare 10 aqua {
d1106 1
a1106 1
declare 11 aqua {
d1110 1
a1110 1
declare 12 aqua {
d1114 1
a1114 1
declare 13 aqua {
d1118 1
a1118 1
declare 14 aqua {
d1122 1
a1122 1
declare 15 aqua {
d1126 1
a1126 1
declare 16 aqua {
d1130 1
a1130 1
declare 17 aqua {
d1134 1
a1134 1
declare 18 aqua {
d1138 1
a1138 1
declare 19 aqua {
d1142 1
a1142 1
declare 20 aqua {
d1146 1
a1146 1
declare 21 aqua {
d1150 1
a1150 1
declare 22 aqua {
d1154 1
a1154 1
declare 23 aqua {
d1158 1
a1158 1
declare 24 aqua {
d1162 1
a1162 1
declare 25 aqua {
d1166 1
a1166 1
declare 26 aqua {
d1170 1
a1170 1
declare 27 aqua {
d1174 1
a1174 1
declare 28 aqua {
d1178 1
a1178 1
declare 29 aqua {
d1182 1
a1182 1
declare 30 aqua {
d1186 1
a1186 1
declare 31 aqua {
d1190 1
a1190 1
declare 32 aqua {
d1194 1
a1194 1
declare 33 aqua {
d1198 1
a1198 1
declare 34 aqua {
d1202 1
a1202 1
declare 35 aqua {
d1206 1
a1206 1
declare 36 aqua {
d1210 1
a1210 1
declare 37 aqua {
d1214 1
a1214 1
declare 38 aqua {
d1218 1
a1218 1
declare 39 aqua {
d1222 1
a1222 1
declare 40 aqua {
d1226 1
a1226 1
declare 41 aqua {
d1230 1
a1230 1
declare 42 aqua {
d1235 1
a1235 1
declare 43 aqua {
d1239 1
a1239 1
declare 44 aqua {
d1243 1
a1243 1
declare 45 aqua {
d1247 1
a1247 1
declare 46 aqua {
d1251 1
a1251 1
declare 47 aqua {
d1745 1
a1745 1
# X functions for Mac and Aqua
d1747 1
a1747 1
declare 0 {mac aqua} {
d1752 1
a1752 1
declare 1 {mac aqua} {
d1756 1
a1756 1
declare 2 {mac aqua} {
d1763 1
a1763 1
declare 3 {mac aqua} {
d1768 1
a1768 1
declare 4 {mac aqua} {
d1773 1
a1773 1
declare 5 {mac aqua} {
d1777 1
a1777 1
declare 6 {mac aqua} {
d1782 1
a1782 1
declare 7 {mac aqua} {
d1786 1
a1786 1
declare 8 {mac aqua} {
d1790 1
a1790 1
declare 9 {mac aqua} {
d1794 1
a1794 1
declare 10 {mac aqua} {
d1798 1
a1798 1
declare 11 {mac aqua} {
d1802 1
a1802 1
declare 12 {mac aqua} {
d1806 1
a1806 1
declare 13 {mac aqua} {
d1810 1
a1810 1
declare 14 {mac aqua} {
d1815 1
a1815 1
declare 15 {mac aqua} {
d1820 1
a1820 1
declare 16 {mac aqua} {
d1825 1
a1825 1
declare 17 {mac aqua} {
d1831 1
a1831 1
declare 18 {mac aqua} {
d1837 1
a1837 1
declare 19 {mac aqua} {
d1842 1
a1842 1
declare 20 {mac aqua} {
d1846 1
a1846 1
declare 21 {mac aqua} {
d1850 1
a1850 1
declare 22 {mac aqua} {
d1855 1
a1855 1
declare 23 {mac aqua} {
d1859 1
a1859 1
declare 24 {mac aqua} {
d1864 1
a1864 1
declare 25 {mac aqua} {
d1869 1
a1869 1
declare 26 {mac aqua} {
d1874 1
a1874 1
declare 27 {mac aqua} {
d1878 1
a1878 1
declare 28 {mac aqua} {
d1882 1
a1882 1
declare 29 {mac aqua} {
d1887 1
a1887 1
declare 30 {mac aqua} {
d1891 1
a1891 1
declare 31 {mac aqua} {
d1897 1
a1897 1
declare 32 {mac aqua} {
d1903 1
a1903 1
declare 33 {mac aqua} {
d1907 1
a1907 1
declare 34 {mac aqua} {
d1912 1
a1912 1
declare 35 {mac aqua} {
d1916 1
a1916 1
declare 36 {mac aqua} {
d1920 1
a1920 1
declare 37 {mac aqua} {
d1925 1
a1925 1
declare 38 {mac aqua} {
d1929 1
a1929 1
declare 39 {mac aqua} {
d1934 1
a1934 1
declare 40 {mac aqua} {
d1938 1
a1938 1
declare 41 {mac aqua} {
d1942 1
a1942 1
declare 42 {mac aqua} {
d1947 1
a1947 1
declare 43 {mac aqua} {
d1951 1
a1951 1
declare 44 {mac aqua} {
d1955 1
a1955 1
declare 45 {mac aqua} {
d1959 1
a1959 1
declare 46 {mac aqua} {
d1963 1
a1963 1
declare 47 {mac aqua} {
d1967 1
a1967 1
declare 48 {mac aqua} {
d1971 1
a1971 1
declare 49 {mac aqua} {
d1975 1
a1975 1
declare 50 {mac aqua} {
d1979 1
a1979 1
declare 51 {mac aqua} {
d1983 1
a1983 1
declare 52 {mac aqua} {
d1987 1
a1987 1
declare 53 {mac aqua} {
d1991 1
a1991 1
declare 54 {mac aqua} {
d1995 1
a1995 1
declare 55 {mac aqua} {
d1999 1
a1999 1
declare 56 {mac aqua} {
d2003 1
a2003 1
declare 57 {mac aqua} {
d2010 1
a2010 1
declare 58 {mac aqua} {
d2015 1
a2015 1
declare 59 {mac aqua} {
d2020 1
a2020 1
declare 60 {mac aqua} {
d2024 1
a2024 1
declare 61 {mac aqua} {
d2029 1
a2029 1
declare 62 {mac aqua} {
d2034 1
a2034 1
declare 63 {mac aqua} {
d2039 1
a2039 1
declare 64 {mac aqua} {
d2043 1
a2043 1
declare 65 {mac aqua} {
d2048 1
a2048 1
declare 66 {mac aqua} {
d2053 1
a2053 1
declare 67 {mac aqua} {
d2057 1
a2057 1
declare 68 {mac aqua} {
d2061 1
a2061 1
declare 69 {mac aqua} {
d2065 1
a2065 1
declare 70 {mac aqua} {
d2069 1
a2069 1
declare 71 {mac aqua} {
d2073 1
a2073 1
declare 72 {mac aqua} {
d2077 1
a2077 1
declare 73 {mac aqua} {
d2081 1
a2081 1
declare 74 {mac aqua} {
d2087 1
a2087 1
declare 75 {mac aqua} {
d2091 1
a2091 1
declare 76 {mac aqua} {
d2095 1
a2095 1
declare 77 {mac aqua} {
d2100 1
a2100 1
declare 78 {mac aqua} {
d2105 1
a2105 1
declare 79 {mac aqua} {
d2109 1
a2109 1
declare 80 {mac aqua} {
d2113 1
a2113 1
declare 81 {mac aqua} {
d2116 1
a2116 1
declare 82 {mac aqua} {
d2120 1
a2120 1
declare 83 {mac aqua} {
d2124 1
a2124 1
declare 84 {mac aqua} {
d2128 1
a2128 1
declare 85 {mac aqua} {
d2132 1
a2132 1
declare 86 {mac aqua} {
d2137 1
a2137 1
declare 87 {mac aqua} {
d2143 1
a2143 1
declare 88 {mac aqua} {
d2147 1
a2147 1
declare 89 {mac aqua} {
@


1.21.2.3
log
@Merge with current TOT
Added support for the wm stackorder command
Fixed crash when selecting Menu items in the Application menu that we didn't
put there.
Added first bits of the use of CG for low-level drawing.  The line-drawing works,
the rest doesn't yet.  You have to set the file static useCGDrawing to 1 and
rebuild to activate this code.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.21.2.2 2001/10/17 07:02:06 wolfsuit Exp $
d181 1
a181 2
    CONST char * TkGetDefaultScreenName (Tcl_Interp *interp, \
	    CONST char *screenName)
d290 1
a290 1
    void TkpDisplayWarning (CONST char *msg, CONST char *title)
d331 1
a331 1
    TkDisplay * TkpOpenDisplay (CONST char *display_name)
d559 3
a561 4
# removed duplicate from tkIntPlat table
#declare 120 {mac macosx} {
#    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
#}
d571 3
a573 4
# removed duplicate from tkIntPlat table
#declare 123 {mac macosx} {
#    unsigned long TkpGetMS (void)
#}
d580 33
a612 34
# removed duplicates from tkIntPlat table
#declare 125 {mac macosx} {
#    void TkPointerDeadWindow (TkWindow *winPtr)
#}
#
#declare 126 {mac macosx} {
#    void TkpSetCapture (TkWindow *winPtr)
#}
#
#declare 127 {mac macosx} {
#    void TkpSetCursor (TkpCursor cursor)
#}
#
#declare 128 {mac macosx} {
#    void TkpWmSetState (TkWindow *winPtr, int state)
#}
#
#declare 130 {mac macosx} {
#    Window  TkGetTransientMaster (TkWindow *winPtr)
#}
#
#declare 131 {mac macosx} {
#    int  TkGenerateButtonEvent (int x, int y, \
# 	    Window window, unsigned int state)
#}
#
#declare 133 {mac macosx} {
#    void  TkGenWMDestroyEvent (Tk_Window tkwin)
#}
#
#declare 134 {mac macosx} {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
# 	    int width, int height, int flags)
#}
a639 4
declare 141 generic {
    TkWindow ** TkWmStackorderToplevel(TkWindow *parentPtr)
}

d836 7
a842 8
# removed duplicates from tkInt table
#declare 1 {mac macosx} {
#    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
#}
#
#declare 2 {mac macosx} {
#    void TkpDefineNativeBitmaps (void)
#}
d881 4
a884 5
# removed duplicate from tkPlat table (tk.decls)
#declare 17 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
#	    int width, int height, int flags)
#}
d894 3
a896 4
# removed duplicate from tkPlat table (tk.decls)
#declare 20 mac {
#    int  TkMacConvertEvent (EventRecord *eventPtr)
#}
d906 3
a908 4
# removed duplicate from tkPlat table (tk.decls)
#declare 23 mac {
#    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
#}
d914 3
a916 4
# removed duplicate from tkPlat table (tk.decls)
#declare 26 mac {
#    void  TkMacInvalClipRgns (TkWindow *winPtr)
#}
d926 3
a928 4
# removed duplicate from tkPlat table (tk.decls)
#declare 30 mac {
#    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
#}
d946 11
a956 12
# removed duplicates from tkPlat table (tk.decls)
#declare 35 mac {
#    int  TkMacHaveAppearance (void)
#}
#
#declare 36 mac {
#    void  TkMacInitAppleEvents (Tcl_Interp *interp)
#}
#
#declare 37 mac {
#    void   TkMacInitMenus (Tcl_Interp  *interp)
#}
a1058 4
declare 66 mac {
    int TkpIsWindowFloating (WindowRef window)
}

a1254 21
declare 49 aqua {
    Window  TkGetTransientMaster (TkWindow *winPtr)
}

declare 50 aqua {
    int  TkGenerateButtonEvent (int x, int y, \
 	    Window window, unsigned int state)
}

declare 51 aqua {
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
}

declare 52 aqua {
    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
 	    int width, int height, int flags)
}

declare 53 aqua {
    unsigned long TkpGetMS (void)
}
d1548 1
a1548 1
    void XSetCommand (Display* d, Window w, CONST char** c, int i)
@


1.21.2.4
log
@Merging with TOT as of 06/09/2002.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id$
a647 12
declare 142 generic {
    void TkFocusFree(TkMainInfo *mainPtr)
}

declare 143 generic {
    void TkClipCleanup(TkDisplay *dispPtr)
}

declare 144 generic {
    void TkGCCleanup(TkDisplay *dispPtr)
}

a691 16
}

declare 9 unix {
    void TkWmCleanup (TkDisplay *dispPtr)
}

declare 10 unix {
    void TkSendCleanup (TkDisplay *dispPtr)
}

declare 11 unix {
    void TkFreeXId (TkDisplay *dispPtr)
}

declare 12 unix {
    int TkpWmSetState (TkWindow *winPtr, int state)
@


1.21.2.5
log
@merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk
@
text
@d76 1
a76 1
	    ClientData object, CONST char *eventString, \
d83 1
a83 1
	    CONST char *source, CONST char *mask, int width, int height, \
d95 1
a95 1
	    CONST char *screenName, char *baseName)
d181 1
a181 1
    CONST84_RETURN char * TkGetDefaultScreenName (Tcl_Interp *interp, \
d361 1
a361 1
    int TkpUseWindow (Tcl_Interp *interp, Tk_Window tkwin, CONST char *string)
d523 1
a523 1
	    CONST char *dbName, CONST char *className)
d561 1
a561 1
#declare 120 mac {
d565 1
a565 1
declare 121 {mac aqua} {
d569 1
a569 1
declare 122 {mac aqua} {
d574 1
a574 1
#declare 123 mac {
d578 1
a578 1
declare 124 {mac aqua} {
d584 1
a584 1
#declare 125 mac {
d588 1
a588 1
#declare 126 mac {
d592 1
a592 1
#declare 127 mac {
d596 1
a596 1
#declare 128 mac {
d600 1
a600 1
#declare 130 mac {
d604 1
a604 1
#declare 131 mac {
d609 1
a609 1
#declare 133 mac {
d613 1
a613 1
#declare 134 mac {
a659 11
declare 145 {mac win aqua} {
    void TkSubtractRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 146 generic {
    void TkStylePkgInit (TkMainInfo *mainPtr)
}
declare 147 generic {
    void TkStylePkgFree (TkMainInfo *mainPtr)
}

d670 1
a670 1
declare 0 x11 {
d674 1
a674 1
declare 1 x11 {
d678 1
a678 1
declare 2 x11 {
d682 1
a682 1
declare 3 x11 {
d686 1
a686 1
declare 4 x11 {
d690 1
a690 1
declare 5 x11 {
d694 1
a694 1
declare 6 x11 {
d698 1
a698 1
declare 7 x11 {
d702 1
a702 1
declare 8 x11 {
d706 1
a706 1
declare 9 x11 {
d710 1
a710 1
declare 10 x11 {
d714 1
a714 1
declare 11 x11 {
d718 1
a718 1
declare 12 x11 {
d858 1
a858 1
	    CONST char *dbName, CONST char *className)
d873 1
a873 1
#declare 1 mac {
d877 1
a877 1
#declare 2 mac {
@


1.21.2.6
log
@various project cleanups & enhancements
added macosx/Makefile to facilitate building from cli
added [tk windowingsystem] and removed $::tcl_plaform(windowingsystem)
changed all runtime library references to the above
removed duplicate entries in tk.decls & tkInt.decls
CONSTification and other small changes in macosx/ to remove compiler warnings
@
text
@d566 1
a566 1
    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source) 
d885 1
a885 1
#    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source)
d1124 7
a1130 8
# removed duplicates from tkInt table
#declare 1 aqua {
#    Pixmap TkpCreateNativeBitmap (Display *display, CONST char * source)
#}
#
#declare 2 aqua {
#    void TkpDefineNativeBitmaps (void)
#}
d1172 3
a1174 4
# removed duplicate from tkPlat table (tk.decls)
#declare 13 aqua {
#    void  TkMacOSXInvalClipRgns (TkWindow *winPtr)
#}
d1180 3
a1182 4
# removed duplicate from tkPlat table (tk.decls)
#declare 15 aqua {
#    GWorldPtr  TkMacOSXGetDrawablePort (Drawable drawable)
#}
d1196 7
a1202 8
# removed duplicates from tkPlat table (tk.decls)
#declare 19 aqua {
#    void  TkMacOSXInitAppleEvents (Tcl_Interp *interp)
#}
#
#declare 20 aqua {
#    void   TkMacOSXInitMenus (Tcl_Interp  *interp)
#}
d1326 4
a1329 5
# removed duplicate from tkPlat table (tk.decls)
#declare 52 aqua {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
# 	    int width, int height, int flags)
#}
@


1.20
log
@(TkpScanWindowId): changed decl to use
	Window* instead of int*.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.19 2000/11/22 01:49:38 ericm Exp $
d682 4
d710 1
a710 1
    int TkpScanWindowId (Tcl_Interp *interp, char *string, Window *idPtr)
@


1.19
log
@	Overall change:  Implemented TIP 5, which exports
	TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
	adding a size field to Tk_ClassProcs to allow for future
	expansion, and renaming the geometryProc to worldChangedProc,
	which is more in keeping with the actual use of the callback.

	See ChangeLog for details.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.18 2000/11/21 16:18:05 dkf Exp $
d706 1
a706 1
    int TkpScanWindowId (Tcl_Interp *interp, char *string, int *idPtr)
@


1.18
log
@Added TkPhotoGetValidRegion() to tkInt stubs.  Bug #120930 closed.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.17 2000/04/10 22:43:11 ericm Exp $
d399 5
a403 4
declare 84 generic {
    void TkSetClassProcs (Tk_Window tkwin, \
	    TkClassProcs *procs, ClientData instanceData)
}
@


1.17
log
@* tests/event.test: Added test for [event generate $widget
<Alt-z>] [Bug: 4611].

* tests/choosedir.test: Changed "namespace import ::tcltest" to
"namespace import -force ::tcltest".

* win/tkWinKey.c:
* unix/tkUnixKey.c:
* mac/tkMacKeyboard.c: Changed InitKeymapInfo to
TkpInitKeymapInfo. [Bug: 4611].

* generic/tkStubInit.c:
* generic/tkIntDecls.h: Re-gen'd from tkInt.decls.

* generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
decls.

* generic/tkBind.c (HandleEventGenerate): Added code to initialize
keymap info if necessary, and to correctly set modifier bits in
XEvent structure create to handle [event generate] calls.
Previously, the alt/meta bits were not set correctly, so [event
generate $widget <Alt-z>] would always fail. [Bug: 4611]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.16 2000/02/10 08:52:34 hobbs Exp $
d633 4
@


1.17.2.1
log
@	* generic/tkInt.decls: removed superfluous declarations.
	* generic/tkIntDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkMain.c: include unistd.h for mac.
	* generic/tkPointer.c: include tkMacInt.h for mac.
	* generic/tkStubInit.c:
	* generic/tkStubLib.c:
	* mac/MW_TkHeader.pch:
	* mac/MW_TkOldImgHeader.h:
	* mac/MW_TkTestHeader.pch:
	* mac/tclets.r:
	* mac/tkMac.h:
	* mac/tkMacAppearanceStubs.c:
	* mac/tkMacApplication.r:
	* mac/tkMacButton.c:
	* mac/tkMacDialog.c: support for -filetypes
	* mac/tkMacFont.c:
	* mac/tkMacInt.h:
	* mac/tkMacLibrary.r:
	* mac/tkMacMDEF.r:
	* mac/tkMacMenu.c:
	* mac/tkMacMenus.c:
	* mac/tkMacPort.h:
	* mac/tkMacResource.r:
	* mac/tkMacScrlbr.c: improved scrollbar code
	* mac/tkMacWindowMgr.c: added control of floating windows
	* mac/tkMacWm.c: improved use of precompiled headers, better
	support for Appearance Manager, change copyrights, resource files,
	use DLLIMPORT/DLLEXPORT, comment corrections.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.17 2000/04/10 22:43:11 ericm Exp $
d558 3
a560 4
# removed duplicate from tkIntPlat table
#declare 120 mac {
#    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
#}
d570 3
a572 4
# removed duplicate from tkIntPlat table
#declare 123 mac {
#    unsigned long TkpGetMS (void)
#}
d579 33
a611 34
# removed duplicates from tkIntPlat table
#declare 125 mac {
#    void TkPointerDeadWindow (TkWindow *winPtr)
#}
#
#declare 126 mac {
#    void TkpSetCapture (TkWindow *winPtr)
#}
#
#declare 127 mac {
#    void TkpSetCursor (TkpCursor cursor)
#}
#
#declare 128 mac {
#    void TkpWmSetState (TkWindow *winPtr, int state)
#}
#
#declare 130 mac {
#    Window  TkGetTransientMaster (TkWindow *winPtr)
#}
#
#declare 131 mac {
#    int  TkGenerateButtonEvent (int x, int y, \
# 	    Window window, unsigned int state)
#}
#
#declare 133 mac {
#    void  TkGenWMDestroyEvent (Tk_Window tkwin)
#}
#
#declare 134 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
# 	    int width, int height, int flags)
#}
d827 7
a833 8
# removed duplicates from tkInt table
#declare 1 mac {
#    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
#}
#
#declare 2 mac {
#    void TkpDefineNativeBitmaps (void)
#}
d872 4
a875 5
# removed duplicate from tkPlat table (tk.decls)
#declare 17 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
#	    int width, int height, int flags)
#}
d885 3
a887 4
# removed duplicate from tkPlat table (tk.decls)
#declare 20 mac {
#    int  TkMacConvertEvent (EventRecord *eventPtr)
#}
d897 3
a899 4
# removed duplicate from tkPlat table (tk.decls)
#declare 23 mac {
#    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
#}
d905 3
a907 4
# removed duplicate from tkPlat table (tk.decls)
#declare 26 mac {
#    void  TkMacInvalClipRgns (TkWindow *winPtr)
#}
d917 3
a919 4
# removed duplicate from tkPlat table (tk.decls)
#declare 30 mac {
#    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
#}
d937 11
a947 12
# removed duplicates from tkPlat table (tk.decls)
#declare 35 mac {
#    int  TkMacHaveAppearance (void)
#}
#
#declare 36 mac {
#    void  TkMacInitAppleEvents (Tcl_Interp *interp)
#}
#
#declare 37 mac {
#    void   TkMacInitMenus (Tcl_Interp  *interp)
#}
a1049 3
declare 66 mac {
    int TkpIsWindowFloating (WindowRef window)
}
@


1.17.2.2
log
@	* generic/tkBind.c (NameToWindow):
	* generic/tkCmds.c (Tk_WinfoObjCmd):
	* generic/tkInt.decls (TkpScanWindowId):
	* generic/tkIntPlatDecls.h:
	* generic/tkStubInit.c:
	* mac/tkMacPort.h (TkpPrintWindowId,TkpScanWindowId):
	* unix/tkUnixPort.h (TkpPrintWindowId,TkpScanWindowId):
	* unix/tkUnixXId.c (TkpScanWindowId):
	* win/tkWinWindow.c (TkpScanWindowId): Corrected definition of
	TkpScanWindowId to handle situation where types Window and int
	do not have the same number of bits.  CONST-ified too.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.17.2.1 2001/04/04 21:39:48 hobbs Exp $
a679 4
declare 8 unix {
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
}

d704 1
a704 1
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
@


1.17.4.1
log
@	* generic/tk.decls:
	* generic/tkInt.decls:
	* generic/tkIntPlatDecls.h:
	* generic/tkPlatDecls.h:
	* generic/tkStubInit.c:
	* win/Makefile.in:
	* win/makefile.vc:
	* win/tkWin3d.c:
	* win/tkWinButton.c:
	* win/tkWinColor.c:
	* win/tkWinDraw.c:
	* win/tkWinFont.c:
	* win/tkWinGdi.c (new):
	* win/tkWinGdi.h (new):
	* win/tkWinImage.c:
	* win/tkWinInt.h:
	* win/tkWinMenu.c:
	* win/tkWinPixmap.c:
	* win/tkWinUtil.c (new):
	* win/tkWinWindow.c:
	* win/tkWinWm.c:
	* win/tkWinX.c:
	* win/winMain.c:
	* xlib/xgc.c:
	* xlib/X11/Xlib.h: first cut at Windows speedup improvements by
	Leo Schubert.  Needs to be streamlined, but the code is correct
	and passes all tests.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.17 2000/04/10 22:43:11 ericm Exp $
a817 34
}
##################################
# speedup patch related functions

declare 40 win {
    void dprintf   (const char *format, ...)
}
declare 41 win {
    void  TkWinFillRectGC (HDC dc, int x, int y, int width, int height, \
	    int pixel, GC gc)
}

declare 42 win {
    void TkWinGdiInit (HINSTANCE hInstance)
}

declare 43 win {
    void TkWinGdiCleanup (HINSTANCE hInstance)
}

declare 44 win {
    HDC TkWinGetNULLDC (void) 
}

declare 45 win {
    void TkWinReleaseNULLDC (HDC hdc) 
}

declare 46 win {
    HBRUSH TkWinCreateSolidBrush (GC gc, COLORREF color)
}

declare 47 win {
    BOOL TkWinDeleteBrush (GC gc, HBRUSH hBrush)
@


1.17.4.2
log
@sync with head
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.24 2002/01/25 21:09:37 dgp Exp $
d181 1
a181 2
    CONST char * TkGetDefaultScreenName (Tcl_Interp *interp, \
	    CONST char *screenName)
d290 1
a290 1
    void TkpDisplayWarning (CONST char *msg, CONST char *title)
d331 1
a331 1
    TkDisplay * TkpOpenDisplay (CONST char *display_name)
d399 4
a402 5
# Exported publically as Tk_SetClassProcs in 8.4a2
#declare 84 generic {
#    void TkSetClassProcs (Tk_Window tkwin, \
#	    TkClassProcs *procs, ClientData instanceData)
#}
d558 3
a560 4
# removed duplicate from tkIntPlat table
#declare 120 mac {
#    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
#}
d570 3
a572 4
# removed duplicate from tkIntPlat table
#declare 123 mac {
#    unsigned long TkpGetMS (void)
#}
d579 33
a611 34
# removed duplicates from tkIntPlat table
#declare 125 mac {
#    void TkPointerDeadWindow (TkWindow *winPtr)
#}
#
#declare 126 mac {
#    void TkpSetCapture (TkWindow *winPtr)
#}
#
#declare 127 mac {
#    void TkpSetCursor (TkpCursor cursor)
#}
#
#declare 128 mac {
#    void TkpWmSetState (TkWindow *winPtr, int state)
#}
#
#declare 130 mac {
#    Window  TkGetTransientMaster (TkWindow *winPtr)
#}
#
#declare 131 mac {
#    int  TkGenerateButtonEvent (int x, int y, \
# 	    Window window, unsigned int state)
#}
#
#declare 133 mac {
#    void  TkGenWMDestroyEvent (Tk_Window tkwin)
#}
#
#declare 134 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
# 	    int width, int height, int flags)
#}
a634 8
declare 140 generic {
    TkRegion TkPhotoGetValidRegion (Tk_PhotoHandle handle)
}

declare 141 generic {
    TkWindow ** TkWmStackorderToplevel(TkWindow *parentPtr)
}

a676 4
declare 8 unix {
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
}

d701 1
a701 1
    int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr)
d861 7
a867 8
# removed duplicates from tkInt table
#declare 1 mac {
#    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
#}
#
#declare 2 mac {
#    void TkpDefineNativeBitmaps (void)
#}
d906 4
a909 5
# removed duplicate from tkPlat table (tk.decls)
#declare 17 mac {
#    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
#	    int width, int height, int flags)
#}
d919 3
a921 4
# removed duplicate from tkPlat table (tk.decls)
#declare 20 mac {
#    int  TkMacConvertEvent (EventRecord *eventPtr)
#}
d931 3
a933 4
# removed duplicate from tkPlat table (tk.decls)
#declare 23 mac {
#    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
#}
d939 3
a941 4
# removed duplicate from tkPlat table (tk.decls)
#declare 26 mac {
#    void  TkMacInvalClipRgns (TkWindow *winPtr)
#}
d951 3
a953 4
# removed duplicate from tkPlat table (tk.decls)
#declare 30 mac {
#    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
#}
d971 11
a981 12
# removed duplicates from tkPlat table (tk.decls)
#declare 35 mac {
#    int  TkMacHaveAppearance (void)
#}
#
#declare 36 mac {
#    void  TkMacInitAppleEvents (Tcl_Interp *interp)
#}
#
#declare 37 mac {
#    void   TkMacInitMenus (Tcl_Interp  *interp)
#}
a1083 3
declare 66 mac {
    int TkpIsWindowFloating (WindowRef window)
}
d1377 1
a1377 1
    void XSetCommand (Display* d, Window w, CONST char** c, int i)
@


1.16
log
@	* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer

	* generic/tkIntXlibDecls.h:
	* generic/tkInt.decls: declared some Xlib emulation calls for
	the Mac

	* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
	inform user of bad call when framePtr is NULL [Bug: 2530]

	* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
	menu name objects before trying to incr the ref.  [Bug: 3402]

	* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.15 2000/02/09 02:13:50 hobbs Exp $
d631 3
@


1.15
log
@	* generic/tk.decls:
	* generic/tkBind.c:
	* generic/tkInt.decls:
	* generic/tkIntDecls.h:
	* generic/tkStubInit.c:
	* mac/tkMacKeyboard.c:
	* unix/tkUnixKey.c:
	* win/tkWinKey.c: Fix for keyboard handling of "dead" keys and
	caps lock from Peter Spjuth.
	Split functions into platform specific files:
	Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo()
	from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and
	tkMacKeyboard.c.  GetKeySym() and SetKeycodeAndState() renamed to
	Tkp* and made public (as private functions) in tkInt.decls.

	Step 2, fixes in tkWinKey.c
	New static function: KeycodeToKeysym(), based on XKeycodeToKeysym()
	but with different arguments, and a lot of improvements.
	TkpGetString() changed to use KeycodeToKeysym() + other fixes.
	TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes.
	InitKeymapInfo() changed to use KeycodeToKeysym().
	TkpSetKeycodeAndState() rewritten, mostly by copying code from
	XKeysymToKeycode().
	XKeycodeToKeysym() rewritten. Preferably it should be removed.

	EXPLANATION: The main problem is ToAscii() which has a lot of side
	effects, and also that XKeycodeToKeysym() is not provided enough
	input to do a proper job.  The changes' main goal is to avoid
	calling ToAscii() if not necessary, and to provide it with as
	correct information as possible when called.  Also some attempts
	to clean up what ToAscii() did are done.  See the code for details.

	BUGS FIXED: Typing shifted (and AltGr) dead keys did not work.
	Keyboard lock lamps did not work on Win98.
	Events regarding AltGr-keys behaved badly.
	Example: On a Swedish keyboard, $ is typed with AltGr-4.
	That keyboard event would get the keysym '4' not 'dollar'.
	Also, doing [event generete . <Key-dollar>] would send keysym '4'.
	Translation to ascii in TkpGetString did not handle return and
	tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.14 2000/01/12 11:45:03 hobbs Exp $
d1915 27
@


1.14
log
@	* generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
	[Bug: 3977]

	* generic/tkStubInit.c:
	* generic/tkDecls.h: remove non-existent
	Tk_(Get|Create)CanvasVisitor prototypes

	* generic/tkText.c:
	* generic/tkEntry.c: fixed cursor to not blink when widget was
	disabled [Bug: 1807]

	* generic/tkRectOval.c: added note about change to bloat for
	RectOval bounds calculation for WIN32 only
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.13 1999/12/14 06:52:29 hobbs Exp $
d621 10
@


1.13
log
@	* generic/tkStubInit.c:
	* generic/tkDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkInt.decls: added XSetDashes and XWarpPointer
	* generic/tk.decls: added Tk_CreateSmoothMethod, and reserved
	two spots
	* generic/tk.h: added Tk_SmoothMethod struct,
	state item to canvas record, #defines for item state,
	support for using old char*-based canvas item C creation
	procedures with -DUSE_OLD_CANVAS,
	Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs,
	decls for dash, outline and postscript routines
	* generic/tkBind.c: added support for Quadruple clicks, and added
	the -warp option to 'event' with pointer warping routines
	* xlib/xgc.c:
	* generic/tkRectOval.c:
	* generic/tkCanvArc.c:
	* generic/tkCanvBmap.c:
	* generic/tkCanvImg.c:
	* generic/tkCanvLine.c:
	* generic/tkCanvPoly.c:
	* generic/tkCanvPs.c:
	* generic/tkCanvText.c:
	* generic/tkCanvUtil.c:
	* generic/tkCanvWind.c:
	* generic/tkCanvas.c:
	* generic/tkCanvas.h: Canvas and items received overhaul to with
	the addition of the dash patch (Nijtmans, et al)  This includes
	objectification of the 'canvas' command, as well as support for
	(where appropriate) dashes in items, extended stipple support,
	state for all items, and postscript generation of images and
	windows.  See the new canvas man page for related docs.
	* generic/tkEntry.c: added entry widget validation, see entry.n
	* generic/tkEvent.c: on simulated events, ButtonPress should
	be matched with ButtonRelease to be correct
	* generic/tkFont.c: corrected possible null reference
	* generic/tkFrame.c: made frame a Tcl_Obj based command
	* generic/tkGet.c: added TkGetDoublePixels
	* generic/tkImage.c: bug fixes from Img patch and new
	Tk_PostscriptImage and Tk_SetTSOrigin functions
	* generic/tkImgBmap.c: new ImgBmapPostscript function
	* generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto
	* generic/tkInt.h: declarations for some new functions
	* generic/tkMessage.c: reworked relief drawing
	* generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style
	ConfigureWidget calls can pass in Tcl_Obj arrays
	* generic/tkScrollbar.c:
	* generic/tkScrollbar.h: made -orient use an option table
	* generic/tkText.c:
	* generic/tkText.h: made -wrap and -state use option tables
	* generic/tkTextBTree.c:
	* generic/tkTextDisp.c:
	* generic/tkTextImage.c:
	* generic/tkTextMark.c:
	* generic/tkTextTag.c:
	* generic/tkTextWind.c: added support for -elide and -state hidden
	* generic/tkTrig.c: changed TkMakeBezierCurve to support returning
	the upper limit of points needed for spline
	* generic/tkUtil.c: new option table parsing routines
	* generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.12 1999/12/07 03:51:05 hobbs Exp $
a662 2
	

@


1.12
log
@added TkMacPreprocessMenu
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.11 1999/08/10 16:58:37 hobbs Exp $
d1049 5
a1053 4
# This slot is reserved for use by the dash patch:
#  declare 0 win {
#	XSetDashes
#  }
d1524 4
d1531 4
a1534 4
# This slot is reserved for use by the dash patch:
#  declare 0 win {
#	XSetDashes
#  }
@


1.11
log
@1999-08-10  Jeff Hobbs  <hobbs@@scriptics.com>

	* generic/tkInt.decls: added TkSetFocusWin
	* generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.10 1999/08/10 05:06:14 jingham Exp $
d1033 4
@


1.10
log
@New Function: TkpDrawHighlightBorder.  Use this in place of Tk_DrawFocusHighlight.  The latter did not work on the Mac, since you need to know both foreground & background color when you draw the active focus ring.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.9 1999/07/31 03:36:49 hobbs Exp $
d616 4
@


1.9
log
@1999-07-30  Jeff Hobbs  <hobbs@@scriptics.com>

	* tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.8 1999/06/16 20:11:28 surles Exp $
d613 4
a616 1

@


1.8
log
@modified files to work with new windows Makefiles
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.7 1999/05/25 01:31:05 stanton Exp $
d1508 4
d1887 4
@


1.7
log
@* generic/tkStubLib.c:
* generic/tkStubInit.c:
* generic/tkIntXlibDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntDecls.h:
* generic/tkInt.decls:
* generic/tkConsole.c: Various changes to try to get the Mac
builds working.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id$
d1504 4
d1879 4
@


1.6
log
@merged 8.1.0 changes into mainline
@
text
@d528 1
a528 1
declare 113 win {
d532 28
a559 2
declare 113 mac {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
d562 2
a563 2
declare 114 win {
    TkRegion TkCreateRegion (void)
d566 2
a567 2
declare 114 mac {
    TkRegion TkCreateRegion (void)
d570 2
a571 2
declare 115 win {
    void TkDestroyRegion (TkRegion rgn)
d574 3
a576 2
declare 115 mac {
    void TkDestroyRegion (TkRegion rgn)
d579 2
a580 2
declare 116 win {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
d583 2
a584 2
declare 116 mac {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
d587 2
a588 3
declare 117 win {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
d591 2
a592 3
declare 117 mac {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
d595 2
a596 2
declare 118 win {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
d599 3
a601 2
declare 118 mac {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
d604 2
a605 3
declare 119 win {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
d608 3
a610 3
declare 119 mac {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
d613 2
a820 5
declare 4 mac {
    Pixmap TkpGetNativeAppBitmap (Display *display, \
	    char *name, int *width, int *height)
}

a836 4
declare 9 mac {
    int  HandleWMEvent (EventRecord *theEvent)
}

a840 8
declare 11 mac {
    void  TkCreateMacEventSource (void)
}

declare 12 mac {
    void   TkFontList (Tcl_Interp *interp, Display *display)
}

a849 5
declare 15 mac {
    int   TkGetCharPositions (XFontStruct *font_struct, char *string, \
	    int count, short *buffer)
}

a886 4
declare 25 mac {
    void  tkMacInstallMWConsole (Tcl_Interp *interp)
}

a894 5
declare 28 mac {
    void   TkMacFontInfo (Font fontId, short *family, \
	    short *style, short *size)
}

a958 4
declare 45 mac {
    void  TkMacSetEmbedRgn (TkWindow *winPtr, RgnHandle rgn)
}

a998 4
declare 56 mac {
    void  TkResumeClipboard (void)
}

a1010 4
declare 60 mac {
    int  TkWMGrowToplevel (WindowRef whichWindow, Point start)
}

d1571 1
a1571 1
    void XChangeProperty (Display* d, Window w, Atom a, Atom a, int i1, \
@


1.5
log
@* Merged 8.1 branch into the main trunk
@
text
@d528 60
d611 2
a612 2
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)}

a638 4
declare 1 win {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
}

d640 1
a640 1
    TkRegion TkCreateRegion (void)
d644 1
a644 1
    void TkDestroyRegion (TkRegion rgn)
d648 1
a648 1
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
d652 1
a652 1
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
d656 1
a656 1
    unsigned long TkpGetMS (void)
d660 1
a660 1
    void TkPointerDeadWindow (TkWindow *winPtr)
d664 1
a664 1
    void TkpPrintWindowId (char *buf, Window window)
d668 1
a668 1
    int TkpScanWindowId (Tcl_Interp *interp, char *string, int *idPtr)
d672 1
a672 1
    void TkpSetCapture (TkWindow *winPtr)
d676 1
a676 1
    void TkpSetCursor (TkpCursor cursor)
d680 1
a680 1
    void TkpWmSetState (TkWindow *winPtr, int state)
a683 26
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 14 win {
    void TkSetPixmapColormap (Pixmap pixmap, Colormap colormap)
}

declare 15 win {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 16 win {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 17 win {
    void  TkWinCancelMouseTimer (void)
}

declare 18 win {
    void  TkWinClipboardRender (TkDisplay *dispPtr, UINT format)
}

declare 19 win {
d688 1
a688 1
declare 20 win {
d693 1
a693 1
declare 21 win {
d698 1
a698 1
declare 22 win {
d702 1
a702 1
declare 23 win {
d706 1
a706 1
declare 24 win {
d710 1
a710 1
declare 25 win {
d714 1
a714 1
declare 26 win {
d720 1
a720 1
declare 27 win {
d724 1
a724 1
declare 28 win {
d728 1
a728 1
declare 29 win {
d732 1
a732 1
declare 30 win {
d736 1
a736 1
declare 31 win {
d740 1
a740 1
declare 32 win {
d744 1
a744 1
declare 33 win {
d748 1
a748 1
declare 34 win {
d752 1
a752 1
declare 35 win {
d758 1
a758 1
declare 36 win {
d762 1
a762 1
declare 37 win {
d766 1
a766 1
declare 38 win {
d771 1
a771 1
declare 39 win {
d779 1
a779 1
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
d783 1
a783 1
    TkRegion TkCreateRegion (void)
d787 1
a787 1
    void TkDestroyRegion (TkRegion rgn)
d791 1
a791 1
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
a794 16
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 5 mac {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
}

declare 6 mac {
    void TkpDefineNativeBitmaps (void)
}

declare 7 mac {
    unsigned long TkpGetMS (void)
}

declare 8 mac {
d799 1
a799 1
declare 9 mac {
d803 1
a803 1
declare 10 mac {
d807 1
a807 1
declare 11 mac {
d811 1
a811 1
declare 12 mac {
d815 1
a815 15
declare 13 mac {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 14 mac {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 15 mac {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 16 mac {
d819 1
a819 1
declare 17 mac {
d823 1
a823 1
declare 18 mac {
d827 1
a827 1
declare 19 mac {
d831 1
a831 1
declare 20 mac {
d835 1
a835 1
declare 21 mac {
d840 1
a840 1
declare 22 mac {
d845 1
a845 1
declare 23 mac {
d849 1
a849 1
declare 24 mac {
d854 1
a854 1
declare 25 mac {
d858 1
a858 1
declare 26 mac {
d862 1
a862 1
declare 27 mac {
d866 1
a866 1
declare 28 mac {
d870 1
a870 1
declare 29 mac {
d874 1
a874 1
declare 30 mac {
d878 1
a878 1
declare 31 mac {
d882 1
a882 1
declare 32 mac {
d886 1
a886 1
declare 33 mac {
d890 1
a890 1
declare 34 mac {
d894 1
a894 1
declare 35 mac {
d899 1
a899 1
declare 36 mac {
d903 1
a903 1
declare 37 mac {
d907 1
a907 1
declare 38 mac {
d911 1
a911 1
declare 39 mac {
d915 1
a915 1
declare 40 mac {
d919 1
a919 1
declare 41 mac {
d923 1
a923 1
declare 42 mac {
d927 1
a927 1
declare 43 mac {
d931 1
a931 1
declare 44 mac {
d935 1
a935 1
declare 45 mac {
d939 1
a939 1
declare 46 mac {
d943 1
a943 1
declare 47 mac {
d947 1
a947 1
declare 48 mac {
d951 1
a951 1
declare 49 mac {
d955 1
a955 1
declare 50 mac {
d959 1
a959 1
declare 51 mac {
d963 1
a963 1
declare 52 mac {
d967 1
a967 1
declare 53 mac {
d971 1
a971 1
declare 54 mac {
d975 1
a975 1
declare 55 mac {
d979 1
a979 1
declare 56 mac {
d983 1
a983 1
declare 57 mac {
d987 1
a987 1
declare 58 mac {
d991 1
a991 1
declare 59 mac {
d995 1
a995 1
declare 60 mac {
d999 1
a999 1
declare 61 mac {
d1003 1
a1003 1
declare 62 mac {
d1007 1
a1007 1
declare 63 mac {
d1011 1
a1011 1
declare 64 mac {
d1015 1
a1015 1
declare 65 mac {
d1019 1
a1019 1
declare 66 mac {
d1023 1
a1023 1
declare 67 mac {
d1027 1
a1027 1
declare 68 mac {
d1031 1
a1031 1
declare 69 mac {
d1036 1
a1036 1
declare 70 mac {
d1040 1
a1040 1
declare 71 mac {
d1877 2
a1878 1
    void XSetWMClientMachine(Display* display, Window w, XTextProperty* text_prop)
d1884 7
@


1.5.4.1
log
@updated the tkInt.decls file for tk region cmds.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.5 1999/04/16 01:51:15 stanton Exp $
a527 52
declare 113 win {
    TkRegion TkCreateRegion (void)
}

declare 113 mac {
    TkRegion TkCreateRegion (void)
}

declare 114 win {
    void TkDestroyRegion (TkRegion rgn)
}

declare 114 mac {
    void TkDestroyRegion (TkRegion rgn)
}

declare 115 win {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 115 mac {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 116 win {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 116 mac {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 117 win {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 117 mac {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 118 win {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 118 mac {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

d551 2
a552 2
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)
}
d584 8
d595 5
a599 1
declare 3 win {
d603 1
a603 1
declare 4 win {
d607 1
a607 1
declare 5 win {
d611 1
a611 1
declare 6 win {
d615 1
a615 1
declare 7 win {
d619 1
a619 1
declare 8 win {
d623 1
a623 1
declare 9 win {
d627 6
a632 1
declare 10 win {
d636 10
a645 1
declare 11 win {
d649 1
a649 1
declare 12 win {
d653 1
a653 1
declare 13 win {
d658 1
a658 1
declare 14 win {
d663 1
a663 1
declare 15 win {
d668 1
a668 1
declare 16 win {
d672 1
a672 1
declare 17 win {
d676 1
a676 1
declare 18 win {
d680 1
a680 1
declare 19 win {
d684 1
a684 1
declare 20 win {
d690 1
a690 1
declare 21 win {
d694 1
a694 1
declare 22 win {
d698 1
a698 1
declare 23 win {
d702 1
a702 1
declare 24 win {
d706 1
a706 1
declare 25 win {
d710 1
a710 1
declare 26 win {
d714 1
a714 1
declare 27 win {
d718 1
a718 1
declare 28 win {
d722 1
a722 1
declare 29 win {
d728 1
a728 1
declare 30 win {
d732 1
a732 1
declare 31 win {
d736 1
a736 1
declare 32 win {
d741 1
a741 1
declare 33 win {
a747 2


d753 8
d764 5
a768 1
declare 2 mac {
d772 1
a772 1
declare 3 mac {
d776 1
a776 1
declare 4 mac {
d780 1
a780 1
declare 5 mac {
d785 1
a785 1
declare 6 mac {
d789 1
a789 1
declare 7 mac {
d793 1
a793 1
declare 8 mac {
d797 1
a797 1
declare 9 mac {
d801 15
a815 1
declare 10 mac {
d819 1
a819 1
declare 11 mac {
d823 1
a823 1
declare 12 mac {
d827 1
a827 1
declare 13 mac {
d831 1
a831 1
declare 14 mac {
d835 1
a835 1
declare 15 mac {
d840 1
a840 1
declare 16 mac {
d845 1
a845 1
declare 17 mac {
d849 1
a849 1
declare 18 mac {
d854 1
a854 1
declare 19 mac {
d858 1
a858 1
declare 20 mac {
d862 1
a862 1
declare 21 mac {
d866 1
a866 1
declare 22 mac {
d870 1
a870 1
declare 23 mac {
d874 1
a874 1
declare 24 mac {
d878 1
a878 1
declare 25 mac {
d882 1
a882 1
declare 26 mac {
d886 1
a886 1
declare 27 mac {
d890 1
a890 1
declare 28 mac {
d894 1
a894 1
declare 29 mac {
d899 1
a899 1
declare 30 mac {
d903 1
a903 1
declare 31 mac {
d907 1
a907 1
declare 32 mac {
d911 1
a911 1
declare 33 mac {
d915 1
a915 1
declare 34 mac {
d919 1
a919 1
declare 35 mac {
d923 1
a923 1
declare 36 mac {
d927 1
a927 1
declare 37 mac {
d931 1
a931 1
declare 38 mac {
d935 1
a935 1
declare 39 mac {
d939 1
a939 1
declare 40 mac {
d943 1
a943 1
declare 41 mac {
d947 1
a947 1
declare 42 mac {
d951 1
a951 1
declare 43 mac {
d955 1
a955 1
declare 44 mac {
d959 1
a959 1
declare 45 mac {
d963 1
a963 1
declare 46 mac {
d967 1
a967 1
declare 47 mac {
d971 1
a971 1
declare 48 mac {
d975 1
a975 1
declare 49 mac {
d979 1
a979 1
declare 50 mac {
d983 1
a983 1
declare 51 mac {
d987 1
a987 1
declare 52 mac {
d991 1
a991 1
declare 53 mac {
d995 1
a995 1
declare 54 mac {
d999 1
a999 1
declare 55 mac {
d1003 1
a1003 1
declare 56 mac {
d1007 1
a1007 1
declare 57 mac {
d1011 1
a1011 1
declare 58 mac {
d1015 1
a1015 1
declare 59 mac {
d1019 1
a1019 1
declare 60 mac {
d1023 1
a1023 1
declare 61 mac {
d1027 1
a1027 1
declare 62 mac {
d1031 1
a1031 1
declare 63 mac {
d1036 1
a1036 1
declare 64 mac {
d1040 1
a1040 1
declare 65 mac {
@


1.5.4.2
log
@*** empty log message ***
@
text
@d12 1
a12 1
# RCS: @@(#) $Id$
d529 1
a529 1
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
d533 1
a533 1
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
d537 1
a537 1
    TkRegion TkCreateRegion (void)
d541 1
a541 1
    TkRegion TkCreateRegion (void)
d545 1
a545 1
    void TkDestroyRegion (TkRegion rgn)
d549 1
a549 1
    void TkDestroyRegion (TkRegion rgn)
a552 8
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 116 mac {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 117 win {
d557 1
a557 1
declare 117 mac {
d562 1
a562 1
declare 118 win {
d566 1
a566 1
declare 118 mac {
d570 1
a570 1
declare 119 win {
d575 1
a575 1
declare 119 mac {
d631 4
d774 2
d777 4
d784 1
a784 1
declare 1 mac {
d788 1
a788 1
declare 2 mac {
d792 1
a792 1
declare 3 mac {
d796 1
a796 1
declare 4 mac {
d801 1
a801 1
declare 5 mac {
d805 1
a805 1
declare 6 mac {
d809 1
a809 1
declare 7 mac {
d813 1
a813 1
declare 8 mac {
d817 1
a817 1
declare 9 mac {
d821 1
a821 1
declare 10 mac {
d825 1
a825 1
declare 11 mac {
d829 1
a829 1
declare 12 mac {
d833 1
a833 1
declare 13 mac {
d837 1
a837 1
declare 14 mac {
d842 1
a842 1
declare 15 mac {
d847 1
a847 1
declare 16 mac {
d851 1
a851 1
declare 17 mac {
d856 1
a856 1
declare 18 mac {
d860 1
a860 1
declare 19 mac {
d864 1
a864 1
declare 20 mac {
d868 1
a868 1
declare 21 mac {
d872 1
a872 1
declare 22 mac {
d876 1
a876 1
declare 23 mac {
d880 1
a880 1
declare 24 mac {
d884 1
a884 1
declare 25 mac {
d888 1
a888 1
declare 26 mac {
d892 1
a892 1
declare 27 mac {
d896 1
a896 1
declare 28 mac {
d901 1
a901 1
declare 29 mac {
d905 1
a905 1
declare 30 mac {
d909 1
a909 1
declare 31 mac {
d913 1
a913 1
declare 32 mac {
d917 1
a917 1
declare 33 mac {
d921 1
a921 1
declare 34 mac {
d925 1
a925 1
declare 35 mac {
d929 1
a929 1
declare 36 mac {
d933 1
a933 1
declare 37 mac {
d937 1
a937 1
declare 38 mac {
d941 1
a941 1
declare 39 mac {
d945 1
a945 1
declare 40 mac {
d949 1
a949 1
declare 41 mac {
d953 1
a953 1
declare 42 mac {
d957 1
a957 1
declare 43 mac {
d961 1
a961 1
declare 44 mac {
d965 1
a965 1
declare 45 mac {
d969 1
a969 1
declare 46 mac {
d973 1
a973 1
declare 47 mac {
d977 1
a977 1
declare 48 mac {
d981 1
a981 1
declare 49 mac {
d985 1
a985 1
declare 50 mac {
d989 1
a989 1
declare 51 mac {
d993 1
a993 1
declare 52 mac {
d997 1
a997 1
declare 53 mac {
d1001 1
a1001 1
declare 54 mac {
d1005 1
a1005 1
declare 55 mac {
d1009 1
a1009 1
declare 56 mac {
d1013 1
a1013 1
declare 57 mac {
d1017 1
a1017 1
declare 58 mac {
d1021 1
a1021 1
declare 59 mac {
d1025 1
a1025 1
declare 60 mac {
d1029 1
a1029 1
declare 61 mac {
d1033 1
a1033 1
declare 62 mac {
d1038 1
a1038 1
declare 63 mac {
d1042 1
a1042 1
declare 64 mac {
a1884 7
}
declare 80 mac {
    void XDrawSegments(Display *display, Drawable  d, GC gc, \
          XSegment *segments, int  nsegments)
}
declare 81 mac {
    void  XForceScreenSaver(Display* display, int mode)
@


1.4
log
@added reserved slot for use by the dash patch
@
text
@d1 1
a1 1
# tkInt.decls --
d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.3 1999/03/10 18:56:08 redman Exp $
d159 1
d161 1
a161 1
    void TkFreeCursor (TkCursor *cursorPtr)
d241 1
a241 1
    int TkLineToArea (TkDouble2 end1Ptr, TkDouble2 end2Ptr, TkDouble4 rectPtr)
d246 1
a246 1
	    TkDouble2 end2Ptr, TkDouble2 pointPtr)
d273 2
a274 2
    double TkOvalToPoint (TkDouble4 ovalPtr, \
	    double width, int filled, TkDouble2 pointPtr)
d460 67
d726 18
d1178 1
a1178 1
}    
d1416 104
d1524 1
a1524 1
#  declare 0 mac {
d1527 1
d1616 1
a1616 1
}    
d1785 32
d1819 65
@


1.3
log
@Merge changes in 8.1 into 8.0.6, specifically we should be exporting
XCreateBitmapFromData() from the Xlib code.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.2 1999/03/10 07:04:40 stanton Exp $
d968 5
a972 1
declare 0 win {
d976 1
a976 1
declare 1 win {
d983 1
a983 1
declare 2 win {
d988 1
a988 1
declare 3 win {
d993 1
a993 1
declare 4 win {
d997 1
a997 1
declare 5 win {
d1002 1
a1002 1
declare 6 win {
d1008 1
a1008 1
declare 7 win {
d1013 1
a1013 1
declare 8 win {
d1017 1
a1017 1
declare 9 win {
d1022 1
a1022 1
declare 10 win {
d1026 1
a1026 1
declare 11 win {
d1030 1
a1030 1
declare 12 win {
d1034 1
a1034 1
declare 13 win {
d1038 1
a1038 1
declare 14 win {
d1042 1
a1042 1
declare 15 win {
d1046 1
a1046 1
declare 16 win {
d1050 1
a1050 1
declare 17 win {
d1054 1
a1054 1
declare 18 win {
d1058 1
a1058 1
declare 19 win {
d1063 1
a1063 1
declare 20 win {
d1068 1
a1068 1
declare 21 win {
d1072 1
a1072 1
declare 22 win {
d1077 1
a1077 1
declare 23 win {
d1083 1
a1083 1
declare 24 win {
d1089 1
a1089 1
declare 25 win {
d1094 1
a1094 1
declare 26 win {
d1098 1
a1098 1
declare 27 win {
d1102 1
a1102 1
declare 28 win {
d1106 1
a1106 1
declare 29 win {
d1111 1
a1111 1
declare 30 win {
d1115 1
a1115 1
declare 31 win {
d1120 1
a1120 1
declare 32 win {
d1125 1
a1125 1
declare 33 win {
d1130 1
a1130 1
declare 34 win {
d1134 1
a1134 1
declare 35 win {
d1138 1
a1138 1
declare 36 win {
d1142 1
a1142 1
declare 37 win {
d1147 1
a1147 1
declare 38 win {
d1151 1
a1151 1
declare 39 win {
d1155 1
a1155 1
declare 40 win {
d1161 1
a1161 1
declare 41 win {
d1165 1
a1165 1
declare 42 win {
d1171 1
a1171 1
declare 43 win {
d1175 1
a1175 1
declare 44 win {
d1179 1
a1179 1
declare 45 win {
d1184 1
a1184 1
declare 46 win {
d1188 1
a1188 1
declare 47 win {
d1193 1
a1193 1
declare 48 win {
d1197 1
a1197 1
declare 49 win {
d1202 1
a1202 1
declare 50 win {
d1206 1
a1206 1
declare 51 win {
d1210 1
a1210 1
declare 52 win {
d1214 1
a1214 1
declare 53 win {
d1218 1
a1218 1
declare 54 win {
d1223 1
a1223 1
declare 55 win {
d1228 1
a1228 1
declare 56 win {
d1232 1
a1232 1
declare 57 win {
d1236 1
a1236 1
declare 58 win {
d1241 1
a1241 1
declare 59 win {
d1245 1
a1245 1
declare 60 win {
d1249 1
a1249 1
declare 61 win {
d1253 1
a1253 1
declare 62 win {
d1257 1
a1257 1
declare 63 win {
d1261 1
a1261 1
declare 64 win {
d1265 1
a1265 1
declare 65 win {
d1269 1
a1269 1
declare 66 win {
d1273 1
a1273 1
declare 67 win {
d1277 1
a1277 1
declare 68 win {
d1281 1
a1281 1
declare 69 win {
d1285 1
a1285 1
declare 70 win {
d1289 1
a1289 1
declare 71 win {
d1294 1
a1294 1
declare 72 win {
d1298 1
a1298 1
declare 73 win {
d1302 1
a1302 1
declare 74 win {
d1306 1
a1306 1
declare 75 win {
d1310 1
a1310 1
declare 76 win {
d1314 1
a1314 1
declare 77 win {
d1318 1
a1318 1
declare 78 win {
d1323 1
a1323 1
declare 79 win {
d1333 5
a1337 1
declare 0 mac {
d1341 1
a1341 1
declare 1 mac {
d1348 1
a1348 1
declare 2 mac {
d1353 1
a1353 1
declare 3 mac {
d1358 1
a1358 1
declare 4 mac {
d1362 1
a1362 1
declare 5 mac {
d1367 1
a1367 1
declare 6 mac {
d1371 1
a1371 1
declare 7 mac {
d1375 1
a1375 1
declare 8 mac {
d1379 1
a1379 1
declare 9 mac {
d1383 1
a1383 1
declare 10 mac {
d1387 1
a1387 1
declare 11 mac {
d1391 1
a1391 1
declare 12 mac {
d1395 1
a1395 1
declare 13 mac {
d1400 1
a1400 1
declare 14 mac {
d1405 1
a1405 1
declare 15 mac {
d1410 1
a1410 1
declare 16 mac {
d1416 1
a1416 1
declare 17 mac {
d1422 1
a1422 1
declare 18 mac {
d1427 1
a1427 1
declare 19 mac {
d1431 1
a1431 1
declare 20 mac {
d1435 1
a1435 1
declare 21 mac {
d1440 1
a1440 1
declare 22 mac {
d1444 1
a1444 1
declare 23 mac {
d1449 1
a1449 1
declare 24 mac {
d1454 1
a1454 1
declare 25 mac {
d1459 1
a1459 1
declare 26 mac {
d1463 1
a1463 1
declare 27 mac {
d1467 1
a1467 1
declare 28 mac {
d1472 1
a1472 1
declare 29 mac {
d1476 1
a1476 1
declare 30 mac {
d1482 1
a1482 1
declare 31 mac {
d1488 1
a1488 1
declare 32 mac {
d1492 1
a1492 1
declare 33 mac {
d1497 1
a1497 1
declare 34 mac {
d1501 1
a1501 1
declare 35 mac {
d1505 1
a1505 1
declare 36 mac {
d1510 1
a1510 1
declare 37 mac {
d1514 1
a1514 1
declare 38 mac {
d1519 1
a1519 1
declare 39 mac {
d1523 1
a1523 1
declare 40 mac {
d1527 1
a1527 1
declare 41 mac {
d1532 1
a1532 1
declare 42 mac {
d1536 1
a1536 1
declare 43 mac {
d1540 1
a1540 1
declare 44 mac {
d1544 1
a1544 1
declare 45 mac {
d1548 1
a1548 1
declare 46 mac {
d1552 1
a1552 1
declare 47 mac {
d1556 1
a1556 1
declare 48 mac {
d1560 1
a1560 1
declare 49 mac {
d1564 1
a1564 1
declare 50 mac {
d1568 1
a1568 1
declare 51 mac {
d1572 1
a1572 1
declare 52 mac {
d1576 1
a1576 1
declare 53 mac {
d1580 1
a1580 1
declare 54 mac {
d1584 1
a1584 1
declare 55 mac {
d1588 1
a1588 1
declare 56 mac {
@


1.2
log
@integrated stubs into 8.0 main branch
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.1.2.3 1999/03/07 00:15:43 redman Exp $
d1086 5
d1094 1
a1094 1
declare 26 win {
d1098 1
a1098 1
declare 27 win {
d1102 1
a1102 1
declare 28 win {
d1107 1
a1107 1
declare 29 win {
d1111 1
a1111 1
declare 30 win {
d1116 1
a1116 1
declare 31 win {
d1121 1
a1121 1
declare 32 win {
d1126 1
a1126 1
declare 33 win {
d1130 1
a1130 1
declare 34 win {
d1134 1
a1134 1
declare 35 win {
d1138 1
a1138 1
declare 36 win {
d1143 1
a1143 1
declare 37 win {
d1147 1
a1147 1
declare 38 win {
d1151 1
a1151 1
declare 39 win {
d1157 1
a1157 1
declare 40 win {
d1161 1
a1161 1
declare 41 win {
d1167 1
a1167 1
declare 42 win {
d1171 1
a1171 1
declare 43 win {
d1175 1
a1175 1
declare 44 win {
d1180 1
a1180 1
declare 45 win {
d1184 1
a1184 1
declare 46 win {
d1189 1
a1189 1
declare 47 win {
d1193 1
a1193 1
declare 48 win {
d1198 1
a1198 1
declare 49 win {
d1202 1
a1202 1
declare 50 win {
d1206 1
a1206 1
declare 51 win {
d1210 1
a1210 1
declare 52 win {
d1214 1
a1214 1
declare 53 win {
d1219 1
a1219 1
declare 54 win {
d1224 1
a1224 1
declare 55 win {
d1228 1
a1228 1
declare 56 win {
d1232 1
a1232 1
declare 57 win {
d1237 1
a1237 1
declare 58 win {
d1241 1
a1241 1
declare 59 win {
d1245 1
a1245 1
declare 60 win {
d1249 1
a1249 1
declare 61 win {
d1253 1
a1253 1
declare 62 win {
d1257 1
a1257 1
declare 63 win {
d1261 1
a1261 1
declare 64 win {
d1265 1
a1265 1
declare 65 win {
d1269 1
a1269 1
declare 66 win {
d1273 1
a1273 1
declare 67 win {
d1277 1
a1277 1
declare 68 win {
d1281 1
a1281 1
declare 69 win {
d1285 1
a1285 1
declare 70 win {
d1290 1
a1290 1
declare 71 win {
d1294 1
a1294 1
declare 72 win {
d1298 1
a1298 1
declare 73 win {
d1302 1
a1302 1
declare 74 win {
d1306 1
a1306 1
declare 75 win {
d1310 1
a1310 1
declare 76 win {
d1314 1
a1314 1
declare 77 win {
d1319 1
a1319 1
declare 78 win {
d1415 5
d1423 1
a1423 1
declare 19 mac {
d1427 1
a1427 1
declare 20 mac {
d1432 1
a1432 1
declare 21 mac {
d1436 1
a1436 1
declare 22 mac {
d1441 1
a1441 1
declare 23 mac {
d1446 1
a1446 1
declare 24 mac {
d1451 1
a1451 1
declare 25 mac {
d1455 1
a1455 1
declare 26 mac {
d1459 1
a1459 1
declare 27 mac {
d1464 1
a1464 1
declare 28 mac {
d1468 1
a1468 1
declare 29 mac {
d1474 1
a1474 1
declare 30 mac {
d1480 1
a1480 1
declare 31 mac {
d1484 1
a1484 1
declare 32 mac {
d1489 1
a1489 1
declare 33 mac {
d1493 1
a1493 1
declare 34 mac {
d1497 1
a1497 1
declare 35 mac {
d1502 1
a1502 1
declare 36 mac {
d1506 1
a1506 1
declare 37 mac {
d1511 1
a1511 1
declare 38 mac {
d1515 1
a1515 1
declare 39 mac {
d1519 1
a1519 1
declare 40 mac {
d1524 1
a1524 1
declare 41 mac {
d1528 1
a1528 1
declare 42 mac {
d1532 1
a1532 1
declare 43 mac {
d1536 1
a1536 1
declare 44 mac {
d1540 1
a1540 1
declare 45 mac {
d1544 1
a1544 1
declare 46 mac {
d1548 1
a1548 1
declare 47 mac {
d1552 1
a1552 1
declare 48 mac {
d1556 1
a1556 1
declare 49 mac {
d1560 1
a1560 1
declare 50 mac {
d1564 1
a1564 1
declare 51 mac {
d1568 1
a1568 1
declare 52 mac {
d1572 1
a1572 1
declare 53 mac {
d1576 1
a1576 1
declare 54 mac {
d1580 1
a1580 1
declare 55 mac {
@


1.2.2.1
log
@integrated stubs from development branch
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.1.4.1 1999/03/09 18:57:09 redman Exp $
a158 1
# Name change only, TkFreeCursor in Tcl 8.0.x now TkpFreeCursor
d160 1
a160 1
    void TkpFreeCursor (TkCursor *cursorPtr)
d240 1
a240 1
    int TkLineToArea (double end1Ptr[], double end2Ptr[], double rectPtr[])
d245 1
a245 1
	    double end2Ptr[], double pointPtr[])
d272 2
a273 2
    double TkOvalToPoint (double ovalPtr[], \
	    double width, int filled, double pointPtr[])
a458 67
# new for 8.1

declare 98 generic {
    Tcl_Obj * TkDebugBitmap ( Tk_Window tkwin, char *name)
}

declare 99 generic {
    Tcl_Obj * TkDebugBorder ( Tk_Window tkwin, char *name)
}

declare 100 generic {
    Tcl_Obj * TkDebugCursor ( Tk_Window tkwin, char *name)
}

declare 101 generic {
    Tcl_Obj * TkDebugColor ( Tk_Window tkwin, char *name)
}

declare 102 generic {
    Tcl_Obj * TkDebugConfig (Tcl_Interp *interp, Tk_OptionTable table)
}

declare 103 generic {
    Tcl_Obj * TkDebugFont ( Tk_Window tkwin, char *name)
}

declare 104 generic {
    int  TkFindStateNumObj (Tcl_Interp *interp, \
	    Tcl_Obj *optionPtr, CONST TkStateMap *mapPtr, \
	    Tcl_Obj *keyPtr)
}

declare 105 generic {
    Tcl_HashTable *  TkGetBitmapPredefTable (void)
}

declare 106 generic {
    TkDisplay * TkGetDisplayList (void)
}

declare 107 generic {
    TkMainInfo * TkGetMainInfoList (void)
}

declare 108 generic {
    int  TkGetWindowFromObj (Tcl_Interp *interp, \
	    Tk_Window tkwin, Tcl_Obj *objPtr, \
	    Tk_Window *windowPtr)
}

declare 109 generic {
    char *  TkpGetString (TkWindow *winPtr, \
	    XEvent *eventPtr, Tcl_DString *dsPtr)
}

declare 110 generic {
    void  TkpGetSubFonts (Tcl_Interp *interp, Tk_Font tkfont)
}

declare 111 generic {
    Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, \
	    char *dbName, char *className)
}

declare 112 generic {
    void TkpMenuThreadInit (void)
}
a657 18
# new for 8.1

declare 36 win {
    void TkWinSetForegroundWindow (TkWindow *winPtr)
}

declare 37 win {
    void TkWinDialogDebug (int debug)
}

declare 38 win {
    Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, \
	    char *dbName, char *className)
}

declare 39 win {
    int TkWinGetPlatformId(void)
}
d1086 1
a1086 2
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
d1090 1
a1090 1
    void XDefineCursor (Display* d, Window w, Cursor c)
d1094 1
a1094 1
    void XDeleteProperty (Display* d, Window w, Atom a)
a1097 4
    void XDestroyWindow (Display* d, Window w)
}

declare 29 win {
d1102 1
a1102 1
declare 30 win {
d1106 1
a1106 1
declare 31 win {
d1111 1
a1111 1
declare 32 win {
d1116 1
a1116 1
declare 33 win {
d1121 1
a1121 1
declare 34 win {
d1125 1
a1125 1
declare 35 win {
d1129 1
a1129 1
declare 36 win {
d1133 1
a1133 1
declare 37 win {
d1138 1
a1138 1
declare 38 win {
d1142 1
a1142 1
declare 39 win {
d1146 1
a1146 1
declare 40 win {
d1152 1
a1152 1
declare 41 win {
d1156 1
a1156 1
declare 42 win {
d1162 1
a1162 1
declare 43 win {
d1166 1
a1166 1
declare 44 win {
d1170 1
a1170 1
declare 45 win {
d1175 1
a1175 1
declare 46 win {
d1179 1
a1179 1
declare 47 win {
d1184 1
a1184 1
declare 48 win {
d1188 1
a1188 1
declare 49 win {
d1193 1
a1193 1
declare 50 win {
d1197 1
a1197 1
declare 51 win {
d1201 1
a1201 1
declare 52 win {
d1205 1
a1205 1
declare 53 win {
d1209 1
a1209 1
declare 54 win {
d1214 1
a1214 1
declare 55 win {
d1219 1
a1219 1
declare 56 win {
d1223 1
a1223 1
declare 57 win {
d1227 1
a1227 1
declare 58 win {
d1232 1
a1232 1
declare 59 win {
d1236 1
a1236 1
declare 60 win {
d1240 1
a1240 1
declare 61 win {
d1244 1
a1244 1
declare 62 win {
d1248 1
a1248 1
declare 63 win {
d1252 1
a1252 1
declare 64 win {
d1256 1
a1256 1
declare 65 win {
d1260 1
a1260 1
declare 66 win {
d1264 1
a1264 1
declare 67 win {
d1268 1
a1268 1
declare 68 win {
d1272 1
a1272 1
declare 69 win {
d1276 1
a1276 1
declare 70 win {
d1280 1
a1280 1
declare 71 win {
d1285 1
a1285 1
declare 72 win {
d1289 1
a1289 1
declare 73 win {
d1293 1
a1293 1
declare 74 win {
d1297 1
a1297 1
declare 75 win {
d1301 1
a1301 1
declare 76 win {
d1305 1
a1305 1
declare 77 win {
d1309 1
a1309 1
declare 78 win {
d1314 1
a1314 1
declare 79 win {
d1410 1
a1410 2
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
d1414 1
a1414 1
    void XDefineCursor (Display* d, Window w, Cursor c)
a1417 4
    void XDestroyWindow (Display* d, Window w)
}

declare 21 mac {
d1422 1
a1422 1
declare 22 mac {
d1426 1
a1426 1
declare 23 mac {
d1431 1
a1431 1
declare 24 mac {
d1436 1
a1436 1
declare 25 mac {
d1441 1
a1441 1
declare 26 mac {
d1445 1
a1445 1
declare 27 mac {
d1449 1
a1449 1
declare 28 mac {
d1454 1
a1454 1
declare 29 mac {
d1458 1
a1458 1
declare 30 mac {
d1464 1
a1464 1
declare 31 mac {
d1470 1
a1470 1
declare 32 mac {
d1474 1
a1474 1
declare 33 mac {
d1479 1
a1479 1
declare 34 mac {
d1483 1
a1483 1
declare 35 mac {
d1487 1
a1487 1
declare 36 mac {
d1492 1
a1492 1
declare 37 mac {
d1496 1
a1496 1
declare 38 mac {
d1501 1
a1501 1
declare 39 mac {
d1505 1
a1505 1
declare 40 mac {
d1509 1
a1509 1
declare 41 mac {
d1514 1
a1514 1
declare 42 mac {
d1518 1
a1518 1
declare 43 mac {
d1522 1
a1522 1
declare 44 mac {
d1526 1
a1526 1
declare 45 mac {
d1530 1
a1530 1
declare 46 mac {
d1534 1
a1534 1
declare 47 mac {
d1538 1
a1538 1
declare 48 mac {
d1542 1
a1542 1
declare 49 mac {
d1546 1
a1546 1
declare 50 mac {
d1550 1
a1550 1
declare 51 mac {
d1554 1
a1554 1
declare 52 mac {
d1558 1
a1558 1
declare 53 mac {
d1562 1
a1562 1
declare 54 mac {
d1566 1
a1566 1
declare 55 mac {
d1570 1
a1570 1
declare 56 mac {
@


1.2.2.2
log
@updated changes, added reserved slot for dash patch
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.2.2.1 1999/03/10 07:13:40 stanton Exp $
d1054 1
a1054 5
# This slot is reserved for use by the dash patch:
#  declare 0 win {
#	XSetDashes
#  }
declare 1 win {
d1058 1
a1058 1
declare 2 win {
d1065 1
a1065 1
declare 3 win {
d1070 1
a1070 1
declare 4 win {
d1075 1
a1075 1
declare 5 win {
d1079 1
a1079 1
declare 6 win {
d1084 1
a1084 1
declare 7 win {
d1090 1
a1090 1
declare 8 win {
d1095 1
a1095 1
declare 9 win {
d1099 1
a1099 1
declare 10 win {
d1104 1
a1104 1
declare 11 win {
d1108 1
a1108 1
declare 12 win {
d1112 1
a1112 1
declare 13 win {
d1116 1
a1116 1
declare 14 win {
d1120 1
a1120 1
declare 15 win {
d1124 1
a1124 1
declare 16 win {
d1128 1
a1128 1
declare 17 win {
d1132 1
a1132 1
declare 18 win {
d1136 1
a1136 1
declare 19 win {
d1140 1
a1140 1
declare 20 win {
d1145 1
a1145 1
declare 21 win {
d1150 1
a1150 1
declare 22 win {
d1154 1
a1154 1
declare 23 win {
d1159 1
a1159 1
declare 24 win {
d1165 1
a1165 1
declare 25 win {
d1171 1
a1171 1
declare 26 win {
d1176 1
a1176 1
declare 27 win {
d1180 1
a1180 1
declare 28 win {
d1184 1
a1184 1
declare 29 win {
d1188 1
a1188 1
declare 30 win {
d1193 1
a1193 1
declare 31 win {
d1197 1
a1197 1
declare 32 win {
d1202 1
a1202 1
declare 33 win {
d1207 1
a1207 1
declare 34 win {
d1212 1
a1212 1
declare 35 win {
d1216 1
a1216 1
declare 36 win {
d1220 1
a1220 1
declare 37 win {
d1224 1
a1224 1
declare 38 win {
d1229 1
a1229 1
declare 39 win {
d1233 1
a1233 1
declare 40 win {
d1237 1
a1237 1
declare 41 win {
d1243 1
a1243 1
declare 42 win {
d1247 1
a1247 1
declare 43 win {
d1253 1
a1253 1
declare 44 win {
d1257 1
a1257 1
declare 45 win {
d1261 1
a1261 1
declare 46 win {
d1266 1
a1266 1
declare 47 win {
d1270 1
a1270 1
declare 48 win {
d1275 1
a1275 1
declare 49 win {
d1279 1
a1279 1
declare 50 win {
d1284 1
a1284 1
declare 51 win {
d1288 1
a1288 1
declare 52 win {
d1292 1
a1292 1
declare 53 win {
d1296 1
a1296 1
declare 54 win {
d1300 1
a1300 1
declare 55 win {
d1305 1
a1305 1
declare 56 win {
d1310 1
a1310 1
declare 57 win {
d1314 1
a1314 1
declare 58 win {
d1318 1
a1318 1
declare 59 win {
d1323 1
a1323 1
declare 60 win {
d1327 1
a1327 1
declare 61 win {
d1331 1
a1331 1
declare 62 win {
d1335 1
a1335 1
declare 63 win {
d1339 1
a1339 1
declare 64 win {
d1343 1
a1343 1
declare 65 win {
d1347 1
a1347 1
declare 66 win {
d1351 1
a1351 1
declare 67 win {
d1355 1
a1355 1
declare 68 win {
d1359 1
a1359 1
declare 69 win {
d1363 1
a1363 1
declare 70 win {
d1367 1
a1367 1
declare 71 win {
d1371 1
a1371 1
declare 72 win {
d1376 1
a1376 1
declare 73 win {
d1380 1
a1380 1
declare 74 win {
d1384 1
a1384 1
declare 75 win {
d1388 1
a1388 1
declare 76 win {
d1392 1
a1392 1
declare 77 win {
d1396 1
a1396 1
declare 78 win {
d1400 1
a1400 1
declare 79 win {
d1405 1
a1405 1
declare 80 win {
d1415 1
a1415 6
# This slot is reserved for use by the dash patch:
#  declare 0 win {
#	XSetDashes
#  }

declare 1 mac {
d1419 1
a1419 1
declare 2 mac {
d1426 1
a1426 1
declare 3 mac {
d1431 1
a1431 1
declare 4 mac {
d1436 1
a1436 1
declare 5 mac {
d1440 1
a1440 1
declare 6 mac {
d1445 1
a1445 1
declare 7 mac {
d1449 1
a1449 1
declare 8 mac {
d1453 1
a1453 1
declare 9 mac {
d1457 1
a1457 1
declare 10 mac {
d1461 1
a1461 1
declare 11 mac {
d1465 1
a1465 1
declare 12 mac {
d1469 1
a1469 1
declare 13 mac {
d1473 1
a1473 1
declare 14 mac {
d1478 1
a1478 1
declare 15 mac {
d1483 1
a1483 1
declare 16 mac {
d1488 1
a1488 1
declare 17 mac {
d1494 1
a1494 1
declare 18 mac {
d1500 1
a1500 1
declare 19 mac {
d1505 1
a1505 1
declare 20 mac {
d1509 1
a1509 1
declare 21 mac {
d1513 1
a1513 1
declare 22 mac {
d1518 1
a1518 1
declare 23 mac {
d1522 1
a1522 1
declare 24 mac {
d1527 1
a1527 1
declare 25 mac {
d1532 1
a1532 1
declare 26 mac {
d1537 1
a1537 1
declare 27 mac {
d1541 1
a1541 1
declare 28 mac {
d1545 1
a1545 1
declare 29 mac {
d1550 1
a1550 1
declare 30 mac {
d1554 1
a1554 1
declare 31 mac {
d1560 1
a1560 1
declare 32 mac {
d1566 1
a1566 1
declare 33 mac {
d1570 1
a1570 1
declare 34 mac {
d1575 1
a1575 1
declare 35 mac {
d1579 1
a1579 1
declare 36 mac {
d1583 1
a1583 1
declare 37 mac {
d1588 1
a1588 1
declare 38 mac {
d1592 1
a1592 1
declare 39 mac {
d1597 1
a1597 1
declare 40 mac {
d1601 1
a1601 1
declare 41 mac {
d1605 1
a1605 1
declare 42 mac {
d1610 1
a1610 1
declare 43 mac {
d1614 1
a1614 1
declare 44 mac {
d1618 1
a1618 1
declare 45 mac {
d1622 1
a1622 1
declare 46 mac {
d1626 1
a1626 1
declare 47 mac {
d1630 1
a1630 1
declare 48 mac {
d1634 1
a1634 1
declare 49 mac {
d1638 1
a1638 1
declare 50 mac {
d1642 1
a1642 1
declare 51 mac {
d1646 1
a1646 1
declare 52 mac {
d1650 1
a1650 1
declare 53 mac {
d1654 1
a1654 1
declare 54 mac {
d1658 1
a1658 1
declare 55 mac {
d1662 1
a1662 1
declare 56 mac {
d1666 1
a1666 1
declare 57 mac {
@


1.2.2.3
log
@* unix/configure.in: Added missing stub related definitions.

* unix/Makefile.in: Install tkDecls.h in addition to tk.h.

* generic/tkStubLib.c: Added flags to ensure we are using Tcl
stub macros.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.2.2.2 1999/03/12 03:12:44 stanton Exp $
a1415 5
# This slot is reserved for use by the clipping rectangle patch:
#  declare 81 win {
#      XSetClipRectangles(Display *display, GC gc, int clip_x_origin, \
#  	    int clip_y_origin, XRectangle rectangles[], int n, int ordering)
#  }
@


1.2.2.4
log
@* xlib/X11/Xlib.h:
* generic/tkInt.decls: Added XParseColor to xlib stub
tables. [Bug: 1574]
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.2.2.3 1999/03/14 19:26:02 stanton Exp $
a1420 4
declare 82 win {
    Status XParseColor (Display *display, Colormap map, \
          _Xconst char* spec, XColor *colorPtr)
}
a1685 4
} 
declare 58 mac {
    Status XParseColor (Display *display, Colormap map, \
          _Xconst char* spec, XColor *colorPtr)
@


1.2.2.5
log
@Added more X functions to the stubs table.
@
text
@d1 1
a1 1
	# tkInt.decls --
d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.2.2.4 1999/03/30 04:12:25 stanton Exp $
a1420 1

a1425 94
declare 83 win {
    GC XCreateGC(Display* display, Drawable d, \
	    unsigned long valuemask, XGCValues* values)
}

declare 84 win {
    void XFreeGC(Display* display, GC gc)
}

declare 85 win {
    Atom XInternAtom(Display* display,_Xconst char* atom_name, \
	    Bool only_if_exists)
}

declare 86 win {
    void XSetBackground(Display* display, GC gc, \
	    unsigned long foreground)
}

declare 87 win {
    void XSetForeground(Display* display, GC gc, \
	    unsigned long foreground)
}

declare 88 win {
    void XSetClipMask(Display* display, GC gc, Pixmap pixmap)
}

declare 89 win {
    void XSetClipOrigin(Display* display, GC gc, \
	    int clip_x_origin, int clip_y_origin)
}

declare 90 win {
    void XSetTSOrigin(Display* display, GC gc, \
	    int ts_x_origin, int ts_y_origin)
}

declare 91 win {
    void XChangeGC(Display * d, GC gc, unsigned long mask, XGCValues *values)
}

declare 92 win {
    void XSetFont(Display *display, GC gc, Font font)
}

declare 93 win {
    void XSetArcMode(Display *display, GC gc, int arc_mode)
}

declare 94 win {
    void XSetStipple(Display *display, GC gc, Pixmap stipple)
}

declare 95 win {
    void XSetFillRule(Display *display, GC gc, int fill_rule)
}

declare 96 win {
    void XSetFillStyle(Display *display, GC gc, int fill_style)
}

declare 97 win {
    void XSetFunction(Display *display, GC gc, int function)
}

declare 98 win {
    void XSetLineAttributes(Display *display, GC gc, \
	    unsigned int line_width, int line_style, \
	    int cap_style, int join_style)
}

declare 99 win {
    int _XInitImageFuncPtrs(XImage *image)
}

declare 100 win {
    XIC XCreateIC(void)
}

declare 101 win {
    XVisualInfo *XGetVisualInfo(Display* display, long vinfo_mask, \
	    XVisualInfo* vinfo_template, int* nitems_return)
}

declare 102 win {
    void XSetWMClientMachine(Display* display, Window w, XTextProperty* text_prop)
}

declare 103 win {
    Status XStringListToTextProperty(char** list, int count, \
	    XTextProperty* text_prop_return)
}

a1695 93
declare 59 mac {
    GC XCreateGC(Display* display, Drawable d, \
	    unsigned long valuemask, XGCValues* values)
}

declare 60 mac {
    void XFreeGC(Display* display, GC gc)
}

declare 61 mac {
    Atom XInternAtom(Display* display,_Xconst char* atom_name, \
	    Bool only_if_exists)
}

declare 62 mac {
    void XSetBackground(Display* display, GC gc, \
	    unsigned long foreground)
}

declare 63 mac {
    void XSetForeground(Display* display, GC gc, \
	    unsigned long foreground)
}

declare 64 mac {
    void XSetClipMask(Display* display, GC gc, Pixmap pixmap)
}

declare 65 mac {
    void XSetClipOrigin(Display* display, GC gc, \
	    int clip_x_origin, int clip_y_origin)
}

declare 66 mac {
    void XSetTSOrigin(Display* display, GC gc, \
	    int ts_x_origin, int ts_y_origin)
}

declare 67 mac {
    void XChangeGC(Display * d, GC gc, unsigned long mask, XGCValues *values)
}

declare 68 mac {
    void XSetFont(Display *display, GC gc, Font font)
}

declare 69 mac {
    void XSetArcMode(Display *display, GC gc, int arc_mode)
}

declare 70 mac {
    void XSetStipple(Display *display, GC gc, Pixmap stipple)
}

declare 71 mac {
    void XSetFillRule(Display *display, GC gc, int fill_rule)
}

declare 72 mac {
    void XSetFillStyle(Display *display, GC gc, int fill_style)
}

declare 73 mac {
    void XSetFunction(Display *display, GC gc, int function)
}

declare 74 mac {
    void XSetLineAttributes(Display *display, GC gc, \
	    unsigned int line_width, int line_style, \
	    int cap_style, int join_style)
}

declare 75 mac {
    int _XInitImageFuncPtrs(XImage *image)
}

declare 76 mac {
    XIC XCreateIC(void)
}

declare 77 mac {
    XVisualInfo *XGetVisualInfo(Display* display, long vinfo_mask, \
	    XVisualInfo* vinfo_template, int* nitems_return)
}

declare 78 mac {
    void XSetWMClientMachine(Display* display, Window w, XTextProperty* text_prop)
}

declare 79 mac {
    Status XStringListToTextProperty(char** list, int count, \
	    XTextProperty* text_prop_return)
}
@


1.1
log
@file tkInt.decls was initially added on branch dev-stubs-branch.
@
text
@d1 1577
@


1.1.4.1
log
@Added files new to 8.1, from 8.0.6 dev-stubs-branch.
@
text
@a0 1673
# tkInt.decls --
#
#	This file contains the declarations for all unsupported
#	functions that are exported by the Tk library.  This file
#	is used to generate the tkIntDecls.h, tkIntPlatDecls.h,
#	tkIntStub.c, and tkPlatStub.c files.
#
# Copyright (c) 1998-1999 by Scriptics Corporation.
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
# 
# RCS: @@(#) $Id: tkInt.decls,v 1.1.2.3 1999/03/07 00:15:43 redman Exp $

library tk

# Define the unsupported generic interfaces.

interface tkInt

# Declare each of the functions in the unsupported internal Tcl
# interface.  These interfaces are allowed to changed between versions.
# Use at your own risk.  Note that the position of functions should not
# be changed between versions to avoid gratuitous incompatibilities.

declare 0 generic {
    TkWindow * TkAllocWindow (TkDisplay *dispPtr, int screenNum, \
	    TkWindow *parentPtr)
}

declare 1 generic {
    void TkBezierPoints (double control[], int numSteps, double *coordPtr)
}

declare 2 generic {
    void TkBezierScreenPoints (Tk_Canvas canvas, double control[], \
	    int numSteps, XPoint *xPointPtr)
}

declare 3 generic {
    void TkBindDeadWindow (TkWindow *winPtr)
}

declare 4 generic {
    void TkBindEventProc (TkWindow *winPtr, XEvent *eventPtr)
}

declare 5 generic {
    void TkBindFree (TkMainInfo *mainPtr)
}

declare 6 generic {
    void TkBindInit (TkMainInfo *mainPtr)
}

declare 7 generic {
    void TkChangeEventWindow (XEvent *eventPtr, TkWindow *winPtr)
}

declare 8 generic {
    int TkClipInit (Tcl_Interp *interp, TkDisplay *dispPtr)
}

declare 9 generic {
    void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, \
	    int padX, int padY, int innerWidth, int innerHeight, \
	    int *xPtr, int *yPtr)
}

declare 10 generic {
    int TkCopyAndGlobalEval (Tcl_Interp *interp, char *script)
}

declare 11 generic {
    unsigned long TkCreateBindingProcedure (Tcl_Interp *interp, \
	    Tk_BindingTable bindingTable, \
	    ClientData object, char *eventString, \
	    TkBindEvalProc *evalProc, TkBindFreeProc *freeProc, \
	    ClientData clientData)
}

declare 12 generic {
    TkCursor * TkCreateCursorFromData (Tk_Window tkwin, \
	    char *source, char *mask, int width, int height, \
	    int xHot, int yHot, XColor fg, XColor bg)
}

declare 13 generic {
    int TkCreateFrame (ClientData clientData, \
	    Tcl_Interp *interp, int argc, char **argv, \
	    int toplevel, char *appName)
}

declare 14 generic {
    Tk_Window TkCreateMainWindow (Tcl_Interp *interp, \
	    char *screenName, char *baseName)
}

declare 15 generic {
    Time TkCurrentTime (TkDisplay *dispPtr)
}

declare 16 generic {
    void TkDeleteAllImages (TkMainInfo *mainPtr)
}

declare 17 generic {
    void TkDoConfigureNotify (TkWindow *winPtr)
}

declare 18 generic {
    void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, int width, \
	    Drawable drawable, int padding)
}

declare 19 generic {
    void TkEventDeadWindow (TkWindow *winPtr)
}

declare 20 generic {
    void TkFillPolygon (Tk_Canvas canvas, \
	    double *coordPtr, int numPoints, Display *display, \
	    Drawable drawable, GC gc, GC outlineGC)
}

declare 21 generic {
    int TkFindStateNum (Tcl_Interp *interp, \
	    CONST char *option, CONST TkStateMap *mapPtr, \
	    CONST char *strKey)
}

declare 22 generic {
    char * TkFindStateString (CONST TkStateMap *mapPtr, int numKey)
}

declare 23 generic {
    void TkFocusDeadWindow (TkWindow *winPtr)
}

declare 24 generic {
    int TkFocusFilterEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 25 generic {
    TkWindow * TkFocusKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 26 generic {
    void TkFontPkgInit (TkMainInfo *mainPtr)
}

declare 27 generic {
    void TkFontPkgFree (TkMainInfo *mainPtr)
}

declare 28 generic {
    void TkFreeBindingTags (TkWindow *winPtr)
}

# Name change only, TkFreeCursor in Tcl 8.0.x now TkpFreeCursor
declare 29 generic {
    void TkpFreeCursor (TkCursor *cursorPtr)
}

declare 30 generic {
    char * TkGetBitmapData (Tcl_Interp *interp, \
	    char *string, char *fileName, int *widthPtr, \
	    int *heightPtr, int *hotXPtr, int *hotYPtr)
}

declare 31 generic {
    void TkGetButtPoints (double p1[], double p2[], \
	    double width, int project, double m1[], double m2[])
}

declare 32 generic {
    TkCursor * TkGetCursorByName (Tcl_Interp *interp, \
	    Tk_Window tkwin, Tk_Uid string)
}

declare 33 generic {
    char * TkGetDefaultScreenName (Tcl_Interp *interp, char *screenName)
}

declare 34 generic {
    TkDisplay * TkGetDisplay (Display *display)
}

declare 35 generic {
    int TkGetDisplayOf (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], \
	    Tk_Window *tkwinPtr)
}

declare 36 generic {
    TkWindow * TkGetFocusWin (TkWindow *winPtr)
}

declare 37 generic {
    int TkGetInterpNames (Tcl_Interp *interp, Tk_Window tkwin)
}

declare 38 generic {
    int TkGetMiterPoints (double p1[], double p2[], double p3[], \
	    double width, double m1[],double m2[])
}

declare 39 generic {
    void TkGetPointerCoords (Tk_Window tkwin, int *xPtr, int *yPtr)
}

declare 40 generic {
    void TkGetServerInfo (Tcl_Interp *interp, Tk_Window tkwin)
}

declare 41 generic {
    void TkGrabDeadWindow (TkWindow *winPtr)
}

declare 42 generic {
    int TkGrabState (TkWindow *winPtr)
}

declare 43 generic {
    void TkIncludePoint (Tk_Item *itemPtr, double *pointPtr)
}

declare 44 generic {
    void TkInOutEvents (XEvent *eventPtr, TkWindow *sourcePtr, \
	    TkWindow *destPtr, int leaveType, int enterType, \
	    Tcl_QueuePosition position)
}

declare 45 generic {
    void TkInstallFrameMenu (Tk_Window tkwin)
}

declare 46 generic {
    char * TkKeysymToString (KeySym keysym)
}

declare 47 generic {
    int TkLineToArea (double end1Ptr[], double end2Ptr[], double rectPtr[])
}

declare 48 generic {
    double TkLineToPoint (double end1Ptr[], \
	    double end2Ptr[], double pointPtr[])
}

declare 49 generic {
    int TkMakeBezierCurve (Tk_Canvas canvas, \
	    double *pointPtr, int numPoints, int numSteps, \
	    XPoint xPoints[], double dblPoints[])
}

declare 50 generic {
    void TkMakeBezierPostscript (Tcl_Interp *interp, \
	    Tk_Canvas canvas, double *pointPtr, int numPoints)
}

declare 51 generic {
    void TkOptionClassChanged (TkWindow *winPtr)
}

declare 52 generic {
    void TkOptionDeadWindow (TkWindow *winPtr)
}

declare 53 generic {
    int TkOvalToArea (double *ovalPtr, double *rectPtr)
}

declare 54 generic {
    double TkOvalToPoint (double ovalPtr[], \
	    double width, int filled, double pointPtr[])
}

declare 55 generic {
    int TkpChangeFocus (TkWindow *winPtr, int force)
}

declare 56 generic {
    void TkpCloseDisplay (TkDisplay *dispPtr)
}

declare 57 generic {
    void TkpClaimFocus (TkWindow *topLevelPtr, int force)
}

declare 58 generic {
    void TkpDisplayWarning (char *msg, char *title)
}

declare 59 generic {
    void TkpGetAppName (Tcl_Interp *interp, Tcl_DString *name)
}

declare 60 generic {
    TkWindow * TkpGetOtherWindow (TkWindow *winPtr)
}

declare 61 generic {
    TkWindow * TkpGetWrapperWindow (TkWindow *winPtr)
}

declare 62 generic {
    int TkpInit (Tcl_Interp *interp)
}

declare 63 generic {
    void TkpInitializeMenuBindings (Tcl_Interp *interp, \
	    Tk_BindingTable bindingTable)
}

declare 64 generic {
    void TkpMakeContainer (Tk_Window tkwin)
}

declare 65 generic {
    void TkpMakeMenuWindow (Tk_Window tkwin, int transient)
}

declare 66 generic {
    Window TkpMakeWindow (TkWindow *winPtr, Window parent)
}

declare 67 generic {
    void TkpMenuNotifyToplevelCreate (Tcl_Interp *interp1, char *menuName)
}

declare 68 generic {
    TkDisplay * TkpOpenDisplay (char *display_name)
}

declare 69 generic {
    int TkPointerEvent (XEvent *eventPtr, TkWindow *winPtr)
}

declare 70 generic {
    int TkPolygonToArea (double *polyPtr, int numPoints, double *rectPtr)
}

declare 71 generic {
    double TkPolygonToPoint (double *polyPtr, int numPoints, double *pointPtr)
}

declare 72 generic {
    int TkPositionInTree (TkWindow *winPtr, TkWindow *treePtr)
}

declare 73 generic {
    void TkpRedirectKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 74 generic {
    void TkpSetMainMenubar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *menuName)
}

declare 75 generic {
    int TkpUseWindow (Tcl_Interp *interp, Tk_Window tkwin, char *string)
}

declare 76 generic {
    int TkpWindowWasRecentlyDeleted (Window win, TkDisplay *dispPtr)
}

declare 77 generic {
    void TkQueueEventForAllChildren (TkWindow *winPtr, XEvent *eventPtr)
}

declare 78 generic {
    int TkReadBitmapFile (Display* display, Drawable d, CONST char* filename, \
	    unsigned int* width_return, unsigned int* height_return, \
	    Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)
}

declare 79 generic {
    int TkScrollWindow (Tk_Window tkwin, GC gc, \
	    int x, int y, int width, int height, int dx, \
	    int dy, TkRegion damageRgn)
}

declare 80 generic {
    void TkSelDeadWindow (TkWindow *winPtr)
}

declare 81 generic {
    void TkSelEventProc (Tk_Window tkwin, XEvent *eventPtr)
}

declare 82 generic {
    void TkSelInit (Tk_Window tkwin)
}

declare 83 generic {
    void TkSelPropProc (XEvent *eventPtr)
}

declare 84 generic {
    void TkSetClassProcs (Tk_Window tkwin, \
	    TkClassProcs *procs, ClientData instanceData)
}

declare 85 generic {
    void TkSetWindowMenuBar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *oldMenuName, char *menuName)
}

declare 86 generic {
    KeySym TkStringToKeysym (char *name)
}

declare 87 generic {
    int TkThickPolyLineToArea (double *coordPtr, \
	    int numPoints, double width, int capStyle, \
	    int joinStyle, double *rectPtr)
}

declare 88 generic {
    void TkWmAddToColormapWindows (TkWindow *winPtr)
}

declare 89 generic {
    void TkWmDeadWindow (TkWindow *winPtr)
}

declare 90 generic {
    TkWindow * TkWmFocusToplevel (TkWindow *winPtr)
}

declare 91 generic {
    void TkWmMapWindow (TkWindow *winPtr)
}

declare 92 generic {
    void TkWmNewWindow (TkWindow *winPtr)
}

declare 93 generic {
    void TkWmProtocolEventProc (TkWindow *winPtr, XEvent *evenvPtr)
}

declare 94 generic {
    void TkWmRemoveFromColormapWindows (TkWindow *winPtr)
}

declare 95 generic {
    void TkWmRestackToplevel (TkWindow *winPtr, int aboveBelow, \
	    TkWindow *otherPtr)
}

declare 96 generic {
    void TkWmSetClass (TkWindow *winPtr)
}

declare 97 generic {
    void TkWmUnmapWindow (TkWindow *winPtr)
}

# new for 8.1

declare 98 generic {
    Tcl_Obj * TkDebugBitmap ( Tk_Window tkwin, char *name)
}

declare 99 generic {
    Tcl_Obj * TkDebugBorder ( Tk_Window tkwin, char *name)
}

declare 100 generic {
    Tcl_Obj * TkDebugCursor ( Tk_Window tkwin, char *name)
}

declare 101 generic {
    Tcl_Obj * TkDebugColor ( Tk_Window tkwin, char *name)
}

declare 102 generic {
    Tcl_Obj * TkDebugConfig (Tcl_Interp *interp, Tk_OptionTable table)
}

declare 103 generic {
    Tcl_Obj * TkDebugFont ( Tk_Window tkwin, char *name)
}

declare 104 generic {
    int  TkFindStateNumObj (Tcl_Interp *interp, \
	    Tcl_Obj *optionPtr, CONST TkStateMap *mapPtr, \
	    Tcl_Obj *keyPtr)
}

declare 105 generic {
    Tcl_HashTable *  TkGetBitmapPredefTable (void)
}

declare 106 generic {
    TkDisplay * TkGetDisplayList (void)
}

declare 107 generic {
    TkMainInfo * TkGetMainInfoList (void)
}

declare 108 generic {
    int  TkGetWindowFromObj (Tcl_Interp *interp, \
	    Tk_Window tkwin, Tcl_Obj *objPtr, \
	    Tk_Window *windowPtr)
}

declare 109 generic {
    char *  TkpGetString (TkWindow *winPtr, \
	    XEvent *eventPtr, Tcl_DString *dsPtr)
}

declare 110 generic {
    void  TkpGetSubFonts (Tcl_Interp *interp, Tk_Font tkfont)
}

declare 111 generic {
    Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, \
	    char *dbName, char *className)
}

declare 112 generic {
    void TkpMenuThreadInit (void)
}

##############################################################################

# Define the platform specific internal Tcl interface. These functions are
# only available on the designated platform.

interface tkIntPlat

#########################
# Unix specific functions

declare 0 unix {
    void TkCreateXEventSource (void)
}

declare 1 unix {
    void TkFreeWindowId (TkDisplay *dispPtr, Window w)
}

declare 2 unix {
    void TkInitXId (TkDisplay *dispPtr)
}

declare 3 unix {
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)}


declare 4 unix {
    void TkpSync (Display *display)
}

declare 5 unix {
    Window TkUnixContainerId (TkWindow *winPtr)
}

declare 6 unix {
    int TkUnixDoOneXEvent (Tcl_Time *timePtr)
}

declare 7 unix {
    void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar)
}
	


############################
# Windows specific functions

declare 0 win {
    char * TkAlignImageData (XImage *image, int alignment, int bitOrder)
}

declare 1 win {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
}

declare 2 win {
    TkRegion TkCreateRegion (void)
}

declare 3 win {
    void TkDestroyRegion (TkRegion rgn)
}

declare 4 win {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

declare 5 win {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 6 win {
    unsigned long TkpGetMS (void)
}

declare 7 win {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 8 win {
    void TkpPrintWindowId (char *buf, Window window)
}

declare 9 win {
    int TkpScanWindowId (Tcl_Interp *interp, char *string, int *idPtr)
}

declare 10 win {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 11 win {
    void TkpSetCursor (TkpCursor cursor)
}

declare 12 win {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 13 win {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 14 win {
    void TkSetPixmapColormap (Pixmap pixmap, Colormap colormap)
}

declare 15 win {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 16 win {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 17 win {
    void  TkWinCancelMouseTimer (void)
}

declare 18 win {
    void  TkWinClipboardRender (TkDisplay *dispPtr, UINT format)
}

declare 19 win {
    LRESULT  TkWinEmbeddedEventProc (HWND hwnd, UINT message, \
	    WPARAM wParam, LPARAM lParam)
}

declare 20 win {
    void  TkWinFillRect (HDC dc, int x, int y, int width, int height, \
	    int pixel)
}

declare 21 win {
    COLORREF  TkWinGetBorderPixels (Tk_Window tkwin, Tk_3DBorder border, \
	    int which)
}

declare 22 win {
    HDC  TkWinGetDrawableDC (Display *display, Drawable d, TkWinDCState* state)
}

declare 23 win {
    int  TkWinGetModifierState (void)
}

declare 24 win {
    HPALETTE  TkWinGetSystemPalette (void)
}

declare 25 win {
    HWND  TkWinGetWrapperWindow (Tk_Window tkwin)
}

declare 26 win {
    int  TkWinHandleMenuEvent (HWND *phwnd, \
	    UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, \
	    LRESULT *plResult)
}

declare 27 win {
    int  TkWinIndexOfColor (XColor *colorPtr)
}

declare 28 win {
    void  TkWinReleaseDrawableDC (Drawable d, HDC hdc, TkWinDCState* state)
}

declare 29 win {
    LRESULT  TkWinResendEvent (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)
}

declare 30 win {
    HPALETTE  TkWinSelectPalette (HDC dc, Colormap colormap)
}

declare 31 win {
    void  TkWinSetMenu (Tk_Window tkwin, HMENU hMenu)
}

declare 32 win {
    void  TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, int pos)
}

declare 33 win {
    void  TkWinWmCleanup (HINSTANCE hInstance)
}

declare 34 win {
    void  TkWinXCleanup (HINSTANCE hInstance)
}

declare 35 win {
    void   TkWinXInit (HINSTANCE hInstance)
}

# new for 8.1

declare 36 win {
    void TkWinSetForegroundWindow (TkWindow *winPtr)
}

declare 37 win {
    void TkWinDialogDebug (int debug)
}

declare 38 win {
    Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, \
	    char *dbName, char *className)
}

declare 39 win {
    int TkWinGetPlatformId(void)
}

########################
# Mac specific functions

declare 0 mac {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
}

declare 1 mac {
    TkRegion TkCreateRegion (void)
}

declare 2 mac {
    void TkDestroyRegion (TkRegion rgn)
}

declare 3 mac {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

declare 4 mac {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 5 mac {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
}

declare 6 mac {
    void TkpDefineNativeBitmaps (void)
}

declare 7 mac {
    unsigned long TkpGetMS (void)
}

declare 8 mac {
    Pixmap TkpGetNativeAppBitmap (Display *display, \
	    char *name, int *width, int *height)
}

declare 9 mac {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 10 mac {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 11 mac {
    void TkpSetCursor (TkpCursor cursor)
}

declare 12 mac {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 13 mac {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 14 mac {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 15 mac {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 16 mac {
    int  HandleWMEvent (EventRecord *theEvent)
}

declare 17 mac {
    void   TkAboutDlg (void)
}

declare 18 mac {
    void  TkCreateMacEventSource (void)
}

declare 19 mac {
    void   TkFontList (Tcl_Interp *interp, Display *display)
}

declare 20 mac {
    Window  TkGetTransientMaster (TkWindow *winPtr)
}

declare 21 mac {
    int  TkGenerateButtonEvent (int x, int y, \
	    Window window, unsigned int state)
}

declare 22 mac {
    int   TkGetCharPositions (XFontStruct *font_struct, char *string, \
	    int count, short *buffer)
}

declare 23 mac {
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
}

declare 24 mac {
    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
	    int width, int height, int flags)
}

declare 25 mac {
    unsigned int TkMacButtonKeyState (void)
}

declare 26 mac {
    void  TkMacClearMenubarActive (void)
}

declare 27 mac {
    int  TkMacConvertEvent (EventRecord *eventPtr)
}

declare 28 mac {
    int  TkMacDispatchMenuEvent (int menuID, int index)
}

declare 29 mac {
    void  TkMacInstallCursor (int resizeOverride)
}

declare 30 mac {
    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
}

declare 31 mac {
    void  TkMacHandleTearoffMenu (void)
}

declare 32 mac {
    void  tkMacInstallMWConsole (Tcl_Interp *interp)
}

declare 33 mac {
    void  TkMacInvalClipRgns (TkWindow *winPtr)
}

declare 34 mac {
    void  TkMacDoHLEvent (EventRecord *theEvent)
}

declare 35 mac {
    void   TkMacFontInfo (Font fontId, short *family, \
	    short *style, short *size)
}

declare 36 mac {
    Time  TkMacGenerateTime (void)
}

declare 37 mac {
    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
}

declare 38 mac {
    TkWindow *  TkMacGetScrollbarGrowWindow (TkWindow *winPtr)
}

declare 39 mac {
    Window   TkMacGetXWindow (WindowRef macWinPtr)
}

declare 40 mac {
    int  TkMacGrowToplevel (WindowRef whichWindow, Point start)
}

declare 41 mac {
    void   TkMacHandleMenuSelect (long mResult, int optionKeyPressed)
}

declare 42 mac {
    int  TkMacHaveAppearance (void)
}

declare 43 mac {
    void  TkMacInitAppleEvents (Tcl_Interp *interp)
}

declare 44 mac {
    void   TkMacInitMenus (Tcl_Interp  *interp)
}

declare 45 mac {
    void  TkMacInvalidateWindow (MacDrawable *macWin, int flag)
}

declare 46 mac {
    int  TkMacIsCharacterMissing (Tk_Font tkfont, unsigned int searchChar)
}

declare 47 mac {
    void  TkMacMakeRealWindowExist (TkWindow *winPtr)
}

declare 48 mac {
    BitMapPtr TkMacMakeStippleMap(Drawable d1, Drawable d2)
}

declare 49 mac {
    void  TkMacMenuClick (void)
}

declare 50 mac {
    void  TkMacRegisterOffScreenWindow (Window window, GWorldPtr portPtr)
}

declare 51 mac {
    int  TkMacResizable (TkWindow *winPtr)
}

declare 52 mac {
    void  TkMacSetEmbedRgn (TkWindow *winPtr, RgnHandle rgn)
}

declare 53 mac {
    void  TkMacSetHelpMenuItemCount (void)
}

declare 54 mac {
    void  TkMacSetScrollbarGrow (TkWindow *winPtr, int flag)
}

declare 55 mac {
    void  TkMacSetUpClippingRgn (Drawable drawable)
}

declare 56 mac {
    void  TkMacSetUpGraphicsPort (GC gc)
}

declare 57 mac {
    void   TkMacUpdateClipRgn (TkWindow *winPtr)
}

declare 58 mac {
    void  TkMacUnregisterMacWindow (GWorldPtr portPtr)
}

declare 59 mac {
    int  TkMacUseMenuID (short macID)
}

declare 60 mac {
    RgnHandle  TkMacVisableClipRgn (TkWindow *winPtr)
}

declare 61 mac {
    void  TkMacWinBounds (TkWindow *winPtr, Rect *geometry)
}

declare 62 mac {
    void  TkMacWindowOffset (WindowRef wRef, int *xOffset, int *yOffset)
}

declare 63 mac {
    void  TkResumeClipboard (void)
}

declare 64 mac {
    int   TkSetMacColor (unsigned long pixel, RGBColor *macColor)
}

declare 65 mac {
    void   TkSetWMName (TkWindow *winPtr, Tk_Uid titleUid)
}

declare 66 mac {
    void  TkSuspendClipboard (void)
}

declare 67 mac {
    int  TkWMGrowToplevel (WindowRef whichWindow, Point start)
}

declare 68 mac {
    int  TkMacZoomToplevel (WindowPtr whichWindow, Point where, short zoomPart)
}

declare 69 mac {
    Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, \
	    int rootX, int rootY, int *newX, int *newY)
}

declare 70 mac {
    MacDrawable * TkMacContainerId (TkWindow *winPtr)
}

declare 71 mac {
    MacDrawable * TkMacGetHostToplevel  (TkWindow *winPtr)
}


##############################################################################

# Define the platform specific internal Xlib interfaces. These functions are
# only available on the designated platform.

interface tkIntXlib

# X functions for Windows

declare 0 win {
    XModifierKeymap* XGetModifierMapping (Display* d)
}

declare 1 win {
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
	    int i4)

}

declare 2 win {
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}

declare 3 win {
    char *XGetAtomName (Display* d,Atom a)

}

declare 4 win {
    char *XKeysymToString (KeySym k)
}

declare 5 win {
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

}

declare 6 win {
    Cursor XCreatePixmapCursor (Display* d, Pixmap p1, Pixmap p2, \
	    XColor* x1, XColor* x2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 7 win {
    Cursor XCreateGlyphCursor (Display* d, Font f1, Font f2, \
	    unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)
}

declare 8 win {
    GContext XGContextFromGC (GC g)
}

declare 9 win {
    XHostAddress *XListHosts (Display* d, int* i, Bool* b)
}

# second parameter was of type KeyCode
declare 10 win {
    KeySym XKeycodeToKeysym (Display* d, unsigned int k, int i)
}

declare 11 win {
    KeySym XStringToKeysym (_Xconst char* c)
}

declare 12 win {
    Window XRootWindow (Display* d, int i)
}

declare 13 win {
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
}

declare 14 win {
    Status XIconifyWindow (Display* d, Window w, int i)
}

declare 15 win {
    Status XWithdrawWindow (Display* d, Window w, int i)
}

declare 16 win {
    Status XGetWMColormapWindows (Display* d, Window w, Window** wpp, int* ip)
}

declare 17 win {
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
}

declare 18 win {
    void XBell (Display* d, int i)
}

declare 19 win {
    void XChangeProperty (Display* d, Window w, Atom a1, Atom a2, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
}

declare 20 win {
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
}

declare 21 win {
    void XClearWindow (Display* d, Window w)
}

declare 22 win {
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
}

declare 23 win {
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
}

declare 24 win {
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}

declare 25 win {
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
}

declare 26 win {
    void XDefineCursor (Display* d, Window w, Cursor c)
}

declare 27 win {
    void XDeleteProperty (Display* d, Window w, Atom a)
}

declare 28 win {
    void XDestroyWindow (Display* d, Window w)
}

declare 29 win {
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 30 win {
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
}

declare 31 win {
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
	    unsigned int ui1, unsigned int ui2)
}

declare 32 win {
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 33 win {
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
	    int i1, int i2, int i3)
}

declare 34 win {
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
}

declare 35 win {
    void XForceScreenSaver (Display* d, int i)
}

declare 36 win {
    void XFreeColormap (Display* d, Colormap c)
}

declare 37 win {
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
}

declare 38 win {
    void XFreeCursor (Display* d, Cursor c)
}

declare 39 win {
    void XFreeModifiermap (XModifierKeymap* x)
}

declare 40 win {
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
}

declare 41 win {
    void XGetInputFocus (Display* d, Window* w, int* i)
}

declare 42 win {
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
}

declare 43 win {
    Status XGetWindowAttributes (Display* d, Window w, XWindowAttributes* x)
}

declare 44 win {
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
}

declare 45 win {
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
	    int i1, int i2, Window w2, Cursor c, Time t)
}

declare 46 win {
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
}

declare 47 win {
    Status XLookupColor (Display* d, Colormap c1, _Xconst char* c2, \
	    XColor* x1, XColor* x2)
}

declare 48 win {
    void XMapWindow (Display* d, Window w)
}

declare 49 win {
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 50 win {
    void XMoveWindow (Display* d, Window w, int i1, int i2)
}

declare 51 win {
    void XNextEvent (Display* d, XEvent* x)
}

declare 52 win {
    void XPutBackEvent (Display* d, XEvent* x)
}

declare 53 win {
    void XQueryColors (Display* d, Colormap c, XColor* x, int i)
}

declare 54 win {
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
}

declare 55 win {
    Status XQueryTree (Display* d, Window w1, Window* w2, Window* w3, \
	    Window** w4, unsigned int* ui)
}

declare 56 win {
    void XRaiseWindow (Display* d, Window w)
}

declare 57 win {
    void XRefreshKeyboardMapping (XMappingEvent* x)
}

declare 58 win {
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
	    unsigned int ui2)
}

declare 59 win {
    void XSelectInput (Display* d, Window w, long l)
}

declare 60 win {
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
}

declare 61 win {
    void XSetCommand (Display* d, Window w, char** c, int i)
}

declare 62 win {
    void XSetIconName (Display* d, Window w, _Xconst char* c)
}

declare 63 win {
    void XSetInputFocus (Display* d, Window w, int i, Time t)
}

declare 64 win {
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
}

declare 65 win {
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
}

declare 66 win {
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
}

declare 67 win {
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
}

declare 68 win {
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
}

declare 69 win {
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
}

declare 70 win {
    void XSetWindowColormap (Display* d, Window w, Colormap c)
}

declare 71 win {
    Bool XTranslateCoordinates (Display* d, Window w1, Window w2, int i1,\
	    int i2, int* i3, int* i4, Window* w3)
}

declare 72 win {
    void XUngrabKeyboard (Display* d, Time t)
}

declare 73 win {
    void XUngrabPointer (Display* d, Time t) 
}

declare 74 win {
    void XUnmapWindow (Display* d, Window w)
}

declare 75 win {
    void XWindowEvent (Display* d, Window w, long l, XEvent* x)
}

declare 76 win {
    void XDestroyIC (XIC x)
}

declare 77 win {
    Bool XFilterEvent (XEvent* x, Window w)
}

declare 78 win {
    int XmbLookupString (XIC xi, XKeyPressedEvent* xk, \
	    char* c, int i, KeySym* k, Status* s)
}

declare 79 win {
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
}

# X functions for Mac

declare 0 mac {
    XModifierKeymap* XGetModifierMapping (Display* d)
}

declare 1 mac {
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
	    int i4)

}

declare 2 mac {
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}

declare 3 mac {
    char *XGetAtomName (Display* d,Atom a)

}

declare 4 mac {
    char *XKeysymToString (KeySym k)
}

declare 5 mac {
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

}

declare 6 mac {
    GContext XGContextFromGC (GC g)
}

declare 7 mac {
    KeySym XKeycodeToKeysym (Display* d, KeyCode k, int i)
}

declare 8 mac {
    KeySym XStringToKeysym (_Xconst char* c)
}

declare 9 mac {
    Window XRootWindow (Display* d, int i)
}

declare 10 mac {
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
}

declare 11 mac {
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
}

declare 12 mac {
    void XBell (Display* d, int i)
}

declare 13 mac {
    void XChangeProperty (Display* d, Window w, Atom a, Atom a, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
}

declare 14 mac {
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
}

declare 15 mac {
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
}

declare 16 mac {
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
}

declare 17 mac {
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}

declare 18 mac {
    Pixmap XCreateBitmapFromData(Display* display, Drawable d, \
	    _Xconst char* data, unsigned int width,unsigned int height)
}

declare 19 mac {
    void XDefineCursor (Display* d, Window w, Cursor c)
}

declare 20 mac {
    void XDestroyWindow (Display* d, Window w)
}

declare 21 mac {
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 22 mac {
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
}

declare 23 mac {
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
	    unsigned int ui1, unsigned int ui2)
}

declare 24 mac {
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 25 mac {
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
	    int i1, int i2, int i3)
}

declare 26 mac {
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
}

declare 27 mac {
    void XFreeColormap (Display* d, Colormap c)
}

declare 28 mac {
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
}

declare 29 mac {
    void XFreeModifiermap (XModifierKeymap* x)
}

declare 30 mac {
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
}

declare 31 mac {
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
}

declare 32 mac {
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
}

declare 33 mac {
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
	    int i1, int i2, Window w2, Cursor c, Time t)
}

declare 34 mac {
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
}

declare 35 mac {
    void XMapWindow (Display* d, Window w)
}

declare 36 mac {
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 37 mac {
    void XMoveWindow (Display* d, Window w, int i1, int i2)
}

declare 38 mac {
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
}

declare 39 mac {
    void XRaiseWindow (Display* d, Window w)
}

declare 40 mac {
    void XRefreshKeyboardMapping (XMappingEvent* x)
}

declare 41 mac {
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
	    unsigned int ui2)
}

declare 42 mac {
    void XSelectInput (Display* d, Window w, long l)
}

declare 43 mac {
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
}

declare 44 mac {
    void XSetIconName (Display* d, Window w, _Xconst char* c)
}

declare 45 mac {
    void XSetInputFocus (Display* d, Window w, int i, Time t)
}

declare 46 mac {
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
}

declare 47 mac {
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
}

declare 48 mac {
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
}

declare 49 mac {
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
}

declare 50 mac {
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
}

declare 51 mac {
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
}

declare 52 mac {
    void XSetWindowColormap (Display* d, Window w, Colormap c)
}

declare 53 mac {
    void XUngrabKeyboard (Display* d, Time t)
}

declare 54 mac {
    void XUngrabPointer (Display* d, Time t) 
}

declare 55 mac {
    void XUnmapWindow (Display* d, Window w)
}

declare 56 mac {
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
}

@


1.1.2.1
log
@Changes for Tk Stubs implementation.
@
text
@a0 1709
# tkInt.decls --
#
#	This file contains the declarations for all unsupported
#	functions that are exported by the Tk library.  This file
#	is used to generate the tkIntDecls.h, tkIntPlatDecls.h,
#	tkIntStub.c, and tkPlatStub.c files.
#
# Copyright (c) 1998-1999 by Scriptics Corporation.
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
# 
# RCS: @@(#) $Id: tkInt.decls,v 1.1 1999/03/03 00:38:40 stanton Exp $

library tk

# Define the unsupported generic interfaces.

interface tkInt

# Declare each of the functions in the unsupported internal Tcl
# interface.  These interfaces are allowed to changed between versions.
# Use at your own risk.  Note that the position of functions should not
# be changed between versions to avoid gratuitous incompatibilities.

declare 0 generic {
    TkWindow * TkAllocWindow (TkDisplay *dispPtr, int screenNum, \
	    TkWindow *parentPtr)
}

declare 1 generic {
    void TkBezierPoints (double control[], int numSteps, double *coordPtr)
}

declare 2 generic {
    void TkBezierScreenPoints (Tk_Canvas canvas, double control[], \
	    int numSteps, XPoint *xPointPtr)
}

declare 3 generic {
    void TkBindDeadWindow (TkWindow *winPtr)
}

declare 4 generic {
    void TkBindEventProc (TkWindow *winPtr, XEvent *eventPtr)
}

declare 5 generic {
    void TkBindFree (TkMainInfo *mainPtr)
}

declare 6 generic {
    void TkBindInit (TkMainInfo *mainPtr)
}

declare 7 generic {
    void TkChangeEventWindow (XEvent *eventPtr, TkWindow *winPtr)
}

declare 8 generic {
    int TkClipInit (Tcl_Interp *interp, TkDisplay *dispPtr)
}

declare 9 generic {
    void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, \
	    int padX, int padY, int innerWidth, int innerHeight, \
	    int *xPtr, int *yPtr)
}

declare 10 generic {
    int TkCopyAndGlobalEval (Tcl_Interp *interp, char *script)
}

declare 11 generic {
    unsigned long TkCreateBindingProcedure (Tcl_Interp *interp, \
	    Tk_BindingTable bindingTable, \
	    ClientData object, char *eventString, \
	    TkBindEvalProc *evalProc, TkBindFreeProc *freeProc, \
	    ClientData clientData)
}

declare 12 generic {
    TkCursor * TkCreateCursorFromData (Tk_Window tkwin, \
	    char *source, char *mask, int width, int height, \
	    int xHot, int yHot, XColor fg, XColor bg)
}

declare 13 generic {
    int TkCreateFrame (ClientData clientData, \
	    Tcl_Interp *interp, int argc, char **argv, \
	    int toplevel, char *appName)
}

declare 14 generic {
    Tk_Window TkCreateMainWindow (Tcl_Interp *interp, \
	    char *screenName, char *baseName)
}

declare 15 generic {
    Time TkCurrentTime (TkDisplay *dispPtr)
}

declare 16 generic {
    void TkDeleteAllImages (TkMainInfo *mainPtr)
}

declare 17 generic {
    void TkDoConfigureNotify (TkWindow *winPtr)
}

declare 18 generic {
    void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, int width, \
	    Drawable drawable, int padding)
}

declare 19 generic {
    void TkEventDeadWindow (TkWindow *winPtr)
}

declare 20 generic {
    void TkFillPolygon (Tk_Canvas canvas, \
	    double *coordPtr, int numPoints, Display *display, \
	    Drawable drawable, GC gc, GC outlineGC)
}

declare 21 generic {
    int TkFindStateNum (Tcl_Interp *interp, \
	    CONST char *option, CONST TkStateMap *mapPtr, \
	    CONST char *strKey)
}

declare 22 generic {
    char * TkFindStateString (CONST TkStateMap *mapPtr, int numKey)
}

declare 23 generic {
    void TkFocusDeadWindow (TkWindow *winPtr)
}

declare 24 generic {
    int TkFocusFilterEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 25 generic {
    TkWindow * TkFocusKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 26 generic {
    void TkFontPkgInit (TkMainInfo *mainPtr)
}

declare 27 generic {
    void TkFontPkgFree (TkMainInfo *mainPtr)
}

declare 28 generic {
    void TkFreeBindingTags (TkWindow *winPtr)
}

declare 29 generic {
    void TkFreeCursor (TkCursor *cursorPtr)
}

declare 30 generic {
    char * TkGetBitmapData (Tcl_Interp *interp, \
	    char *string, char *fileName, int *widthPtr, \
	    int *heightPtr, int *hotXPtr, int *hotYPtr)
}

declare 31 generic {
    void TkGetButtPoints (double p1[], double p2[], \
	    double width, int project, double m1[], double m2[])
}

declare 32 generic {
    TkCursor * TkGetCursorByName (Tcl_Interp *interp, \
	    Tk_Window tkwin, Tk_Uid string)
}

declare 33 generic {
    char * TkGetDefaultScreenName (Tcl_Interp *interp, char *screenName)
}

declare 34 generic {
    TkDisplay * TkGetDisplay (Display *display)
}

declare 35 generic {
    int TkGetDisplayOf (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], \
	    Tk_Window *tkwinPtr)
}

declare 36 generic {
    TkWindow * TkGetFocusWin (TkWindow *winPtr)
}

declare 37 generic {
    int TkGetInterpNames (Tcl_Interp *interp, Tk_Window tkwin)
}

declare 38 generic {
    int TkGetMiterPoints (double p1[], double p2[], double p3[], \
	    double width, double m1[],double m2[])
}

declare 39 generic {
    void TkGetPointerCoords (Tk_Window tkwin, int *xPtr, int *yPtr)
}

declare 40 generic {
    void TkGetServerInfo (Tcl_Interp *interp, Tk_Window tkwin)
}

declare 41 generic {
    void TkGrabDeadWindow (TkWindow *winPtr)
}

declare 42 generic {
    int TkGrabState (TkWindow *winPtr)
}

declare 43 generic {
    void TkIncludePoint (Tk_Item *itemPtr, double *pointPtr)
}

declare 44 generic {
    void TkInOutEvents (XEvent *eventPtr, TkWindow *sourcePtr, \
	    TkWindow *destPtr, int leaveType, int enterType, \
	    Tcl_QueuePosition position)
}

declare 45 generic {
    void TkInstallFrameMenu (Tk_Window tkwin)
}

declare 46 generic {
    char * TkKeysymToString (KeySym keysym)
}

declare 47 generic {
    int TkLineToArea (TkDouble2 end1Ptr, TkDouble2 end2Ptr, TkDouble4 rectPtr)
}

declare 48 generic {
    double TkLineToPoint (double end1Ptr[], \
	    TkDouble2 end2Ptr, TkDouble2 pointPtr)
}

declare 49 generic {
    int TkMakeBezierCurve (Tk_Canvas canvas, \
	    double *pointPtr, int numPoints, int numSteps, \
	    XPoint xPoints[], double dblPoints[])
}

declare 50 generic {
    void TkMakeBezierPostscript (Tcl_Interp *interp, \
	    Tk_Canvas canvas, double *pointPtr, int numPoints)
}

declare 51 generic {
    void TkOptionClassChanged (TkWindow *winPtr)
}

declare 52 generic {
    void TkOptionDeadWindow (TkWindow *winPtr)
}

declare 53 generic {
    int TkOvalToArea (double *ovalPtr, double *rectPtr)
}

declare 54 generic {
    double TkOvalToPoint (TkDouble4 ovalPtr, \
	    double width, int filled, TkDouble2 pointPtr)
}

declare 55 generic {
    int TkpChangeFocus (TkWindow *winPtr, int force)
}

declare 56 generic {
    void TkpCloseDisplay (TkDisplay *dispPtr)
}

declare 57 generic {
    void TkpClaimFocus (TkWindow *topLevelPtr, int force)
}

declare 58 generic {
    void TkpDisplayWarning (char *msg, char *title)
}

declare 59 generic {
    void TkpGetAppName (Tcl_Interp *interp, Tcl_DString *name)
}

declare 60 generic {
    TkWindow * TkpGetOtherWindow (TkWindow *winPtr)
}

declare 61 generic {
    TkWindow * TkpGetWrapperWindow (TkWindow *winPtr)
}

declare 62 generic {
    int TkpInit (Tcl_Interp *interp)
}

declare 63 generic {
    void TkpInitializeMenuBindings (Tcl_Interp *interp, \
	    Tk_BindingTable bindingTable)
}

declare 64 generic {
    void TkpMakeContainer (Tk_Window tkwin)
}

declare 65 generic {
    void TkpMakeMenuWindow (Tk_Window tkwin, int transient)
}

declare 66 generic {
    Window TkpMakeWindow (TkWindow *winPtr, Window parent)
}

declare 67 generic {
    void TkpMenuNotifyToplevelCreate (Tcl_Interp *interp1, char *menuName)
}

declare 68 generic {
    TkDisplay * TkpOpenDisplay (char *display_name)
}

declare 69 generic {
    int TkPointerEvent (XEvent *eventPtr, TkWindow *winPtr)
}

declare 70 generic {
    int TkPolygonToArea (double *polyPtr, int numPoints, double *rectPtr)
}

declare 71 generic {
    double TkPolygonToPoint (double *polyPtr, int numPoints, double *pointPtr)
}

declare 72 generic {
    int TkPositionInTree (TkWindow *winPtr, TkWindow *treePtr)
}

declare 73 generic {
    void TkpRedirectKeyEvent (TkWindow *winPtr, XEvent *eventPtr)
}

declare 74 generic {
    void TkpSetMainMenubar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *menuName)
}

declare 75 generic {
    int TkpUseWindow (Tcl_Interp *interp, Tk_Window tkwin, char *string)
}

declare 76 generic {
    int TkpWindowWasRecentlyDeleted (Window win, TkDisplay *dispPtr)
}

declare 77 generic {
    void TkQueueEventForAllChildren (TkWindow *winPtr, XEvent *eventPtr)
}

declare 78 generic {
    int TkReadBitmapFile (Display* display, Drawable d, CONST char* filename, \
	    unsigned int* width_return, unsigned int* height_return, \
	    Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)
}

declare 79 generic {
    int TkScrollWindow (Tk_Window tkwin, GC gc, \
	    int x, int y, int width, int height, int dx, \
	    int dy, TkRegion damageRgn)
}

declare 80 generic {
    void TkSelDeadWindow (TkWindow *winPtr)
}

declare 81 generic {
    void TkSelEventProc (Tk_Window tkwin, XEvent *eventPtr)
}

declare 82 generic {
    void TkSelInit (Tk_Window tkwin)
}

declare 83 generic {
    void TkSelPropProc (XEvent *eventPtr)
}

declare 84 generic {
    void TkSetClassProcs (Tk_Window tkwin, \
	    TkClassProcs *procs, ClientData instanceData)
}

declare 85 generic {
    void TkSetWindowMenuBar (Tcl_Interp *interp, \
	    Tk_Window tkwin, char *oldMenuName, char *menuName)
}

declare 86 generic {
    KeySym TkStringToKeysym (char *name)
}

declare 87 generic {
    int TkThickPolyLineToArea (double *coordPtr, \
	    int numPoints, double width, int capStyle, \
	    int joinStyle, double *rectPtr)
}

declare 88 generic {
    void TkWmAddToColormapWindows (TkWindow *winPtr)
}

declare 89 generic {
    void TkWmDeadWindow (TkWindow *winPtr)
}

declare 90 generic {
    TkWindow * TkWmFocusToplevel (TkWindow *winPtr)
}

declare 91 generic {
    void TkWmMapWindow (TkWindow *winPtr)
}

declare 92 generic {
    void TkWmNewWindow (TkWindow *winPtr)
}

declare 93 generic {
    void TkWmProtocolEventProc (TkWindow *winPtr, XEvent *evenvPtr)
}

declare 94 generic {
    void TkWmRemoveFromColormapWindows (TkWindow *winPtr)
}

declare 95 generic {
    void TkWmRestackToplevel (TkWindow *winPtr, int aboveBelow, \
	    TkWindow *otherPtr)
}

declare 96 generic {
    void TkWmSetClass (TkWindow *winPtr)
}

declare 97 generic {
    void TkWmUnmapWindow (TkWindow *winPtr)
}


##############################################################################

# Define the platform specific internal Tcl interface. These functions are
# only available on the designated platform.

interface tkIntPlat

#########################
# Unix specific functions

declare 0 unix {
    void TkCreateXEventSource (void)
}

declare 1 unix {
    void TkFreeWindowId (TkDisplay *dispPtr, Window w)
}

declare 2 unix {
    void TkInitXId (TkDisplay *dispPtr)
}

declare 3 unix {
    TkWindow * TkpGetContainer (TkWindow *embeddedPtr)
}

declare 4 unix {
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)
}

declare 5 unix {
    void TkpSync (Display *display)
}

declare 6 unix {
    Window TkUnixContainerId (TkWindow *winPtr)
}

declare 7 unix {
    int TkUnixDoOneXEvent (Tcl_Time *timePtr)
}

declare 8 unix {
    void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar)
}
	


############################
# Windows specific functions

declare 0 win {
    char * TkAlignImageData (XImage *image, int alignment, int bitOrder)
}

declare 1 win {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
}

declare 2 win {
    TkRegion TkCreateRegion (void)
}

declare 3 win {
    void TkDestroyRegion (TkRegion rgn)
}

declare 4 win {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

declare 5 win {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 6 win {
    unsigned long TkpGetMS (void)
}

declare 7 win {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 8 win {
    void TkpPrintWindowId (char *buf, Window window)
}

declare 9 win {
    int TkpScanWindowId (Tcl_Interp *interp, char *string, int *idPtr)
}

declare 11 win {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 12 win {
    void TkpSetCursor (TkpCursor cursor)
}

declare 13 win {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 14 win {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 15 win {
    void TkSetPixmapColormap (Pixmap pixmap, Colormap colormap)
}

declare 16 win {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 17 win {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 18 win {
    void  TkWinCancelMouseTimer (void)
}

declare 20 win {
    void  TkWinClipboardRender (TkDisplay *dispPtr, UINT format)
}

declare 21 win {
    LRESULT  TkWinEmbeddedEventProc (HWND hwnd, UINT message, \
	    WPARAM wParam, LPARAM lParam)
}

declare 22 win {
    void  TkWinFillRect (HDC dc, int x, int y, int width, int height, \
	    int pixel)
}

declare 23 win {
    COLORREF  TkWinGetBorderPixels (Tk_Window tkwin, Tk_3DBorder border, \
	    int which)
}

declare 24 win {
    HDC  TkWinGetDrawableDC (Display *display, Drawable d, TkWinDCState* state)
}

declare 25 win {
    int  TkWinGetModifierState (void)
}

declare 26 win {
    HPALETTE  TkWinGetSystemPalette (void)
}

declare 27 win {
    HWND  TkWinGetWrapperWindow (Tk_Window tkwin)
}

declare 28 win {
    int  TkWinHandleMenuEvent (HWND *phwnd, \
	    UINT *pMessage, WPARAM *pwParam, LPARAM *plParam, \
	    LRESULT *plResult)
}

declare 29 win {
    int  TkWinIndexOfColor (XColor *colorPtr)
}

declare 30 win {
    void  TkWinPointerDeadWindow (TkWindow *winPtr)
}

declare 31 win {
    void  TkWinPointerEvent (HWND hwnd, int x, int y)
}

declare 32 win {
    void  TkWinPointerInit (void)
}

declare 33 win {
    LRESULT   TkWinReflectMessage (HWND hwnd, UINT message, \
	    WPARAM wParam, LPARAM lParam)
}

declare 34 win {
    void  TkWinReleaseDrawableDC (Drawable d, HDC hdc, TkWinDCState* state)
}

declare 35 win {
    LRESULT  TkWinResendEvent (WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)
}

declare 36 win {
    HPALETTE  TkWinSelectPalette (HDC dc, Colormap colormap)
}

declare 37 win {
    void  TkWinSetMenu (Tk_Window tkwin, HMENU hMenu)
}

declare 38 win {
    void  TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, int pos)
}

declare 39 win {
    void  TkWinUpdateCursor (TkWindow *winPtr)
}

declare 40 win {
    void  TkWinWmCleanup (HINSTANCE hInstance)
}

declare 41 win {
    HWND  TkWinWmFindEmbedAssociation (TkWindow *winPtr)
}

declare 42 win {
    void  TkWinWmStoreEmbedAssociation (TkWindow *winPtr, HWND hwnd)
}

declare 43 win {
    void  TkWinXCleanup (HINSTANCE hInstance)
}

declare 44 win {
    void   TkWinXInit (HINSTANCE hInstance)
}


########################
# Mac specific functions

declare 0 mac {
    void TkClipBox (TkRegion rgn, XRectangle* rect_return)
}

declare 1 mac {
    TkRegion TkCreateRegion (void)
}

declare 2 mac {
    void TkDestroyRegion (TkRegion rgn)
}

declare 3 mac {
    void TkGenerateActivateEvents (TkWindow *winPtr, int active)
}

declare 4 mac {
    void TkIntersectRegion (TkRegion sra, TkRegion srcb, TkRegion dr_return)
}

declare 5 mac {
    Pixmap TkpCreateNativeBitmap (Display *display, char * source)
}

declare 6 mac {
    void TkpDefineNativeBitmaps (void)
}

declare 7 mac {
    unsigned long TkpGetMS (void)
}

declare 8 mac {
    Pixmap TkpGetNativeAppBitmap (Display *display, \
	    char *name, int *width, int *height)
}

declare 9 mac {
    void TkPointerDeadWindow (TkWindow *winPtr)
}

declare 10 mac {
    void TkpSetCapture (TkWindow *winPtr)
}

declare 11 mac {
    void TkpSetCursor (TkpCursor cursor)
}

declare 13 mac {
    void TkpWmSetState (TkWindow *winPtr, int state)
}

declare 14 mac {
    int TkRectInRegion (TkRegion rgn, int x, int y, unsigned int width, \
	    unsigned int height)
}

declare 15 mac {
    void TkSetRegion (Display* display, GC gc, TkRegion rgn)
}

declare 16 mac {
    void TkUnionRectWithRegion (XRectangle* rect, \
	    TkRegion src, TkRegion dr_return)
}

declare 17 mac {
    int  HandleWMEvent (EventRecord *theEvent)
}

declare 18 mac {
    void   TkAboutDlg (void)
}

declare 19 mac {
    void  TkCreateMacEventSource (void)
}

declare 20 mac {
    void   TkFontList (Tcl_Interp *interp, Display *display)
}

declare 21 mac {
    Window  TkGetTransientMaster (TkWindow *winPtr)
}

declare 22 mac {
    int  TkGenerateButtonEvent (int x, int y, \
	    Window window, unsigned int state)
}

declare 23 mac {
    int   TkGetCharPositions (XFontStruct *font_struct, char *string, \
	    int count, short *buffer)
}

declare 24 mac {
    void  TkGenWMDestroyEvent (Tk_Window tkwin)
}

declare 25 mac {
    void  TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, \
	    int width, int height, int flags)
}

declare 26 mac {
    unsigned int TkMacButtonKeyState (void)
}

declare 27 mac {
    void  TkMacClearMenubarActive (void)
}

declare 28 mac {
    int  TkMacConvertEvent (EventRecord *eventPtr)
}

declare 29 mac {
    int  TkMacDispatchMenuEvent (int menuID, int index)
}

declare 30 mac {
    void  TkMacInstallCursor (int resizeOverride)
}

declare 31 mac {
    int  TkMacConvertTkEvent (EventRecord *eventPtr, Window window)
}

declare 32 mac {
    void  TkMacHandleTearoffMenu (void)
}

declare 33 mac {
    void  tkMacInstallMWConsole (Tcl_Interp *interp)
}

declare 34 mac {
    void  TkMacInvalClipRgns (TkWindow *winPtr)
}

declare 35 mac {
    void  TkMacDoHLEvent (EventRecord *theEvent)
}

declare 36 mac {
    void   TkMacFontInfo (Font fontId, short *family, \
	    short *style, short *size)
}

declare 37 mac {
    Time  TkMacGenerateTime (void)
}

declare 38 mac {
    GWorldPtr  TkMacGetDrawablePort (Drawable drawable)
}

declare 39 mac {
    TkWindow *  TkMacGetScrollbarGrowWindow (TkWindow *winPtr)
}

declare 40 mac {
    Window   TkMacGetXWindow (WindowRef macWinPtr)
}

declare 41 mac {
    int  TkMacGrowToplevel (WindowRef whichWindow, Point start)
}

declare 42 mac {
    void   TkMacHandleMenuSelect (long mResult, int optionKeyPressed)
}

declare 43 mac {
    int  TkMacHaveAppearance (void)
}

declare 44 mac {
    void  TkMacInitAppleEvents (Tcl_Interp *interp)
}

declare 45 mac {
    void   TkMacInitMenus (Tcl_Interp  *interp)
}

declare 46 mac {
    void  TkMacInvalidateWindow (MacDrawable *macWin, int flag)
}

declare 47 mac {
    int  TkMacIsCharacterMissing (Tk_Font tkfont, unsigned int searchChar)
}

declare 48 mac {
    void  TkMacMakeRealWindowExist (TkWindow *winPtr)
}

declare 49 mac {
    BitMapPtr TkMacMakeStippleMap(Drawable d1, Drawable d2)
}

declare 50 mac {
    void  TkMacMenuClick (void)
}

declare 51 mac {
    void  TkMacRegisterOffScreenWindow (Window window, GWorldPtr portPtr)
}

declare 52 mac {
    int  TkMacResizable (TkWindow *winPtr)
}

declare 53 mac {
    void  TkMacSetEmbedRgn (TkWindow *winPtr, RgnHandle rgn)
}

declare 54 mac {
    void  TkMacSetHelpMenuItemCount (void)
}

declare 55 mac {
    void  TkMacSetScrollbarGrow (TkWindow *winPtr, int flag)
}

declare 56 mac {
    void  TkMacSetUpClippingRgn (Drawable drawable)
}

declare 57 mac {
    void  TkMacSetUpGraphicsPort (GC gc)
}

declare 58 mac {
    void   TkMacUpdateClipRgn (TkWindow *winPtr)
}

declare 59 mac {
    void  TkMacUnregisterMacWindow (GWorldPtr portPtr)
}

declare 60 mac {
    int  TkMacUseMenuID (short macID)
}

declare 61 mac {
    RgnHandle  TkMacVisableClipRgn (TkWindow *winPtr)
}

declare 62 mac {
    void  TkMacWinBounds (TkWindow *winPtr, Rect *geometry)
}

declare 63 mac {
    void  TkMacWindowOffset (WindowRef wRef, int *xOffset, int *yOffset)
}

declare 64 mac {
    void  TkResumeClipboard (void)
}

declare 65 mac {
    int   TkSetMacColor (unsigned long pixel, RGBColor *macColor)
}

declare 66 mac {
    void   TkSetWMName (TkWindow *winPtr, Tk_Uid titleUid)
}

declare 67 mac {
    void  TkSuspendClipboard (void)
}

declare 68 mac {
    int  TkWMGrowToplevel (WindowRef whichWindow, Point start)
}

declare 69 mac {
    int  TkMacZoomToplevel (WindowPtr whichWindow, Point where, short zoomPart)
}

declare 70 mac {
    Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, \
	    int rootX, int rootY, int *newX, int *newY)
}

declare 71 mac {
    MacDrawable * TkMacContainerId (TkWindow *winPtr)
}

declare 72 mac {
    MacDrawable * TkMacGetHostToplevel  (TkWindow *winPtr)
}


##############################################################################

# Define the platform specific internal Xlib interfaces. These functions are
# only available on the designated platform.

interface tkIntXlib

# X functions for Windows

declare 0 win {
    XModifierKeymap* XGetModifierMapping (Display* d)
}

declare 1 win {
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
	    int i4)

}

declare 2 win {
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}

declare 3 win {
    char *XGetAtomName (Display* d,Atom a)

}

declare 4 win {
    char *XKeysymToString (KeySym k)
}

declare 5 win {
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

}

declare 6 win {
    Cursor XCreatePixmapCursor (Display* d, Pixmap p1, Pixmap p2, \
	    XColor* x1, XColor* x2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 7 win {
    Cursor XCreateGlyphCursor (Display* d, Font f1, Font f2, \
	    unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)
}

declare 8 win {
    GContext XGContextFromGC (GC g)
}

declare 9 win {
    XHostAddress *XListHosts (Display* d, int* i, Bool* b)
}

# second parameter was of type KeyCode
declare 10 win {
    KeySym XKeycodeToKeysym (Display* d, unsigned int k, int i)
}

declare 11 win {
    KeySym XStringToKeysym (_Xconst char* c)
}

declare 12 win {
    Window XRootWindow (Display* d, int i)
}

declare 13 win {
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
}

declare 14 win {
    Status XIconifyWindow (Display* d, Window w, int i)
}

declare 15 win {
    Status XWithdrawWindow (Display* d, Window w, int i)
}

declare 16 win {
    Status XGetWMColormapWindows (Display* d, Window w, Window** wpp, int* ip)
}

declare 17 win {
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
}

declare 18 win {
    void XBell (Display* d, int i)
}

declare 19 win {
    void XChangeProperty (Display* d, Window w, Atom a1, Atom a2, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
}

declare 20 win {
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
}

declare 21 win {
    void XClearWindow (Display* d, Window w)
}

declare 22 win {
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
}

declare 23 win {
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
}

declare 24 win {
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}

declare 25 win {
    void XDefineCursor (Display* d, Window w, Cursor c)
}

declare 26 win {
    void XDeleteProperty (Display* d, Window w, Atom a)
}

declare 27 win {
    void XDestroyWindow (Display* d, Window w)
}

declare 28 win {
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 29 win {
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
}

declare 30 win {
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
	    unsigned int ui1, unsigned int ui2)
}

declare 31 win {
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 32 win {
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
	    int i1, int i2, int i3)
}

declare 33 win {
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
}

declare 34 win {
    void XForceScreenSaver (Display* d, int i)
}

declare 35 win {
    void XFreeColormap (Display* d, Colormap c)
}

declare 36 win {
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
}

declare 37 win {
    void XFreeCursor (Display* d, Cursor c)
}

declare 38 win {
    void XFreeModifiermap (XModifierKeymap* x)
}

declare 39 win {
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
}

declare 40 win {
    void XGetInputFocus (Display* d, Window* w, int* i)
}

declare 41 win {
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
}

declare 42 win {
    Status XGetWindowAttributes (Display* d, Window w, XWindowAttributes* x)
}

declare 43 win {
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
}

declare 44 win {
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
	    int i1, int i2, Window w2, Cursor c, Time t)
}

declare 45 win {
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
}

declare 46 win {
    Status XLookupColor (Display* d, Colormap c1, _Xconst char* c2, \
	    XColor* x1, XColor* x2)
}

declare 47 win {
    void XMapWindow (Display* d, Window w)
}

declare 48 win {
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 49 win {
    void XMoveWindow (Display* d, Window w, int i1, int i2)
}

declare 50 win {
    void XNextEvent (Display* d, XEvent* x)
}

declare 51 win {
    void XPutBackEvent (Display* d, XEvent* x)
}

declare 52 win {
    void XQueryColors (Display* d, Colormap c, XColor* x, int i)
}

declare 53 win {
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
}

declare 54 win {
    Status XQueryTree (Display* d, Window w1, Window* w2, Window* w3, \
	    Window** w4, unsigned int* ui)
}

declare 55 win {
    void XRaiseWindow (Display* d, Window w)
}

declare 56 win {
    void XRefreshKeyboardMapping (XMappingEvent* x)
}

declare 57 win {
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
	    unsigned int ui2)
}

declare 58 win {
    void XSelectInput (Display* d, Window w, long l)
}

declare 59 win {
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
}

declare 60 win {
    void XSetCommand (Display* d, Window w, char** c, int i)
}

declare 61 win {
    void XSetIconName (Display* d, Window w, _Xconst char* c)
}

declare 62 win {
    void XSetInputFocus (Display* d, Window w, int i, Time t)
}

declare 63 win {
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
}

declare 64 win {
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
}

declare 65 win {
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
}

declare 66 win {
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
}

declare 67 win {
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
}

declare 68 win {
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
}

declare 69 win {
    void XSetWindowColormap (Display* d, Window w, Colormap c)
}

declare 70 win {
    Bool XTranslateCoordinates (Display* d, Window w1, Window w2, int i1,\
	    int i2, int* i3, int* i4, Window* w3)
}

declare 71 win {
    void XUngrabKeyboard (Display* d, Time t)
}

declare 72 win {
    void XUngrabPointer (Display* d, Time t) 
}

declare 73 win {
    void XUnmapWindow (Display* d, Window w)
}

declare 74 win {
    void XWindowEvent (Display* d, Window w, long l, XEvent* x)
}

declare 75 win {
    void XDestroyIC (XIC x)
}

declare 76 win {
    Bool XFilterEvent (XEvent* x, Window w)
}

declare 77 win {
    int XmbLookupString (XIC xi, XKeyPressedEvent* xk, \
	    char* c, int i, KeySym* k, Status* s)
}

declare 78 win {
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
}

# X functions for Mac

declare 78 mac {
    XModifierKeymap* XGetModifierMapping (Display* d)
}

declare 79 mac {
    XImage * XCreateImage (Display* d, Visual* v, unsigned int ui1, int i1, \
	    int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, \
	    int i4)

}

declare 80 mac {
    XImage *XGetImage (Display* d, Drawable dr, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}

declare 81 mac {
    char *XGetAtomName (Display* d,Atom a)

}

declare 82 mac {
    char *XKeysymToString (KeySym k)
}

declare 83 mac {
    Colormap XCreateColormap (Display* d, Window w, Visual* v, int i)

}

#  declare 84 mac {
#      Cursor XCreatePixmapCursor (Display* d, Pixmap p1, Pixmap p2, \
#  	    XColor* x1, XColor* x2, \
#  	    unsigned int ui1, unsigned int ui2)
#  }

#  declare 85 mac {
#      Cursor XCreateGlyphCursor (Display* d, Font f1, Font f2, \
#  	    unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)
#  }

declare 86 mac {
    GContext XGContextFromGC (GC g)
}

#  declare 87 mac {
#      XHostAddress *XListHosts (Display* d, int* i, Bool* b)
#  }

declare 88 mac {
    KeySym XKeycodeToKeysym (Display* d, KeyCode k, int i)
}

declare 89 mac {
    KeySym XStringToKeysym (_Xconst char* c)
}

declare 90 mac {
    Window XRootWindow (Display* d, int i)
}

declare 91 mac {
    XErrorHandler XSetErrorHandler  (XErrorHandler x)
}

#  declare 92 mac {
#      Status XIconifyWindow (Display* d, Window w, int i)
#  }

#  declare 93 mac {
#      Status XWithdrawWindow (Display* d, Window w, int i)
#  }

#  declare 94 mac {
#      Status XGetWMColormapWindows (Display* d, Window w, Window** wpp, int* ip)
#  }

declare 95 mac {
    Status XAllocColor (Display* d, Colormap c, XColor* xp)
}

declare 96 mac {
    void XBell (Display* d, int i)
}

declare 97 mac {
    void XChangeProperty (Display* d, Window w, Atom a, Atom a, int i1, \
	    int i2, _Xconst unsigned char* c, int i3)
}

declare 98 mac {
    void XChangeWindowAttributes (Display* d, Window w, unsigned long ul, \
	    XSetWindowAttributes* x)
}

#  declare 99 mac {
#      void XClearWindow (Display* d, Window w)
#  }

declare 100 mac {
    void XConfigureWindow (Display* d, Window w, unsigned int i, \
	    XWindowChanges* x)
}

declare 101 mac {
    void XCopyArea (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4)
}

declare 102 mac {
    void XCopyPlane (Display* d, Drawable dr1, Drawable dr2, GC g, int i1, \
	    int i2, unsigned int ui1, \
	    unsigned int ui2, int i3, int i4, unsigned long ul)
}

declare 103 mac {
    void XDefineCursor (Display* d, Window w, Cursor c)
}

#  declare 104 mac {
#      void XDeleteProperty (Display* d, Window w, Atom a)
#  }

declare 105 mac {
    void XDestroyWindow (Display* d, Window w)
}

declare 106 mac {
    void XDrawArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 107 mac {
    void XDrawLines (Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)
}

declare 108 mac {
    void XDrawRectangle (Display* d, Drawable dr, GC g, int i1, int i2,\
	    unsigned int ui1, unsigned int ui2)
}

declare 109 mac {
    void XFillArc (Display* d, Drawable dr, GC g, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2, int i3, int i4)
}

declare 110 mac {
    void XFillPolygon (Display* d, Drawable dr, GC g, XPoint* x, \
	    int i1, int i2, int i3)
}

declare 111 mac {
    void XFillRectangles (Display* d, Drawable dr, GC g, XRectangle* x, int i)
}

#  declare 112 mac {
#      void XForceScreenSaver (Display* d, int i)
#  }

declare 113 mac {
    void XFreeColormap (Display* d, Colormap c)
}

declare 114 mac {
    void XFreeColors (Display* d, Colormap c, \
	    unsigned long* ulp, int i, unsigned long ul)
}

#  declare 115 mac {
#      void XFreeCursor (Display* d, Cursor c)
#  }

declare 116 mac {
    void XFreeModifiermap (XModifierKeymap* x)
}

declare 117 mac {
    Status XGetGeometry (Display* d, Drawable dr, Window* w, int* i1, \
	    int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, \
	    unsigned int* ui4)
}

#  declare 118 mac {
#      void XGetInputFocus (Display* d, Window* w, int* i)
#  }

declare 119 mac {
    int XGetWindowProperty (Display* d, Window w, Atom a1, long l1, long l2, \
	    Bool b, Atom a2, Atom* ap, int* ip, unsigned long* ulp1, \
	    unsigned long* ulp2, unsigned char** cpp)
}

#  declare 120 mac {
#      Status XGetWindowAttributes (Display* d, Window w, XWindowAttributes* x)
#  }

declare 121 mac {
    int XGrabKeyboard (Display* d, Window w, Bool b, int i1, int i2, Time t)
}

declare 122 mac {
    int XGrabPointer (Display* d, Window w1, Bool b, unsigned int ui, \
	    int i1, int i2, Window w2, Cursor c, Time t)
}

declare 123 mac {
    KeyCode XKeysymToKeycode (Display* d, KeySym k)
}

#  declare 124 mac {
#      Status XLookupColor (Display* d, Colormap c1, _Xconst char* c2, \
#  	    XColor* x1, XColor* x2)
#  }

declare 125 mac {
    void XMapWindow (Display* d, Window w)
}

declare 126 mac {
    void XMoveResizeWindow (Display* d, Window w, int i1, int i2, \
	    unsigned int ui1, unsigned int ui2)
}

declare 127 mac {
    void XMoveWindow (Display* d, Window w, int i1, int i2)
}

#  declare 128 mac {
#      void XNextEvent (Display* d, XEvent* x)
#  }

#  declare 129 mac {
#      void XPutBackEvent (Display* d, XEvent* x)
#  }

#  declare 130 mac {
#      void XQueryColors (Display* d, Colormap c, XColor* x, int i)
#  }

declare 131 mac {
    Bool XQueryPointer (Display* d, Window w1, Window* w2, Window* w3, \
	    int* i1, int* i2, int* i3, int* i4, unsigned int* ui)
}

#  declare 132 mac {
#      Status XQueryTree (Display* d, Window w1, Window* w2, Window* w3, \
#  	    Window** w4, unsigned int* ui)
#  }

declare 133 mac {
    void XRaiseWindow (Display* d, Window w)
}

declare 134 mac {
    void XRefreshKeyboardMapping (XMappingEvent* x)
}

declare 135 mac {
    void XResizeWindow (Display* d, Window w, unsigned int ui1, \
	    unsigned int ui2)
}

declare 136 mac {
    void XSelectInput (Display* d, Window w, long l)
}

declare 137 mac {
    Status XSendEvent (Display* d, Window w, Bool b, long l, XEvent* x)
}

#  declare 138 mac {
#      void XSetCommand (Display* d, Window w, char** c, int i)
#  }

declare 139 mac {
    void XSetIconName (Display* d, Window w, _Xconst char* c)
}

declare 140 mac {
    void XSetInputFocus (Display* d, Window w, int i, Time t)
}

declare 141 mac {
    void XSetSelectionOwner (Display* d, Atom a, Window w, Time t)
}

declare 142 mac {
    void XSetWindowBackground (Display* d, Window w, unsigned long ul)
}

declare 143 mac {
    void XSetWindowBackgroundPixmap (Display* d, Window w, Pixmap p)
}

declare 144 mac {
    void XSetWindowBorder (Display* d, Window w, unsigned long ul)
}

declare 145 mac {
    void XSetWindowBorderPixmap (Display* d, Window w, Pixmap p)
}

declare 146 mac {
    void XSetWindowBorderWidth (Display* d, Window w, unsigned int ui)
}

declare 147 mac {
    void XSetWindowColormap (Display* d, Window w, Colormap c)
}

#  declare 148 mac {
#      Bool XTranslateCoordinates (Display* d, Window w1, Window w2, int i1,\
#  	    int i2, int* i3, int* i4, Window* w3)
#  }

declare 149 mac {
    void XUngrabKeyboard (Display* d, Time t)
}

declare 150 mac {
    void XUngrabPointer (Display* d, Time t) 
}

declare 151 mac {
    void XUnmapWindow (Display* d, Window w)
}

#  declare 152 mac {
#      void XWindowEvent (Display* d, Window w, long l, XEvent* x)
#  }

#  declare 153 mac {
#      void XDestroyIC (XIC x)
#  }

#  declare 154 mac {
#      Bool XFilterEvent (XEvent* x, Window w)
#  }

#  declare 155 mac {
#      int XmbLookupString (XIC xi, XKeyPressedEvent* xk, \
#  	    char* c, int i, KeySym* k, Status* s)
#  }

declare 156 mac {
    void TkPutImage (unsigned long *colors, \
	    int ncolors, Display* display, Drawable d, \
	    GC gc, XImage* image, int src_x, int src_y, \
	    int dest_x, int dest_y, unsigned int width, \
	    unsigned int height)
}

@


1.1.2.2
log
@Fixed problem in UNIX sections, regenerated files
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.1.2.1 1999/03/06 00:08:03 redman Exp $
d483 2
a484 1
    int TkpCmapStressed (Tk_Window tkwin, Colormap colormap)}
d486 3
d490 1
a490 1
declare 4 unix {
d494 1
a494 1
declare 5 unix {
d498 1
a498 1
declare 6 unix {
d502 1
a502 1
declare 7 unix {
@


1.1.2.3
log
@Stubs changes, now wish works on Windows.
@
text
@d12 1
a12 1
# RCS: @@(#) $Id: tkInt.decls,v 1.1.2.2 1999/03/06 01:54:58 redman Exp $
d547 1
a547 1
declare 10 win {
d551 1
a551 1
declare 11 win {
d555 1
a555 1
declare 12 win {
d559 1
a559 1
declare 13 win {
d564 1
a564 1
declare 14 win {
d568 1
a568 1
declare 15 win {
d572 1
a572 1
declare 16 win {
d577 1
a577 1
declare 17 win {
d581 1
a581 1
declare 18 win {
d585 1
a585 1
declare 19 win {
d590 1
a590 1
declare 20 win {
d595 1
a595 1
declare 21 win {
d600 1
a600 1
declare 22 win {
d604 1
a604 1
declare 23 win {
d608 1
a608 1
declare 24 win {
d612 1
a612 1
declare 25 win {
d616 1
a616 1
declare 26 win {
d622 1
a622 1
declare 27 win {
d626 18
a643 1
declare 28 win {
d647 1
a647 1
declare 29 win {
d651 1
a651 1
declare 30 win {
d655 1
a655 1
declare 31 win {
d659 1
a659 1
declare 32 win {
d663 5
a667 1
declare 33 win {
d671 9
a679 1
declare 34 win {
d683 1
a683 1
declare 35 win {
d740 1
a740 1
declare 12 mac {
d744 1
a744 1
declare 13 mac {
d749 1
a749 1
declare 14 mac {
d753 1
a753 1
declare 15 mac {
d758 1
a758 1
declare 16 mac {
d762 1
a762 1
declare 17 mac {
d766 1
a766 1
declare 18 mac {
d770 1
a770 1
declare 19 mac {
d774 1
a774 1
declare 20 mac {
d778 1
a778 1
declare 21 mac {
d783 1
a783 1
declare 22 mac {
d788 1
a788 1
declare 23 mac {
d792 1
a792 1
declare 24 mac {
d797 1
a797 1
declare 25 mac {
d801 1
a801 1
declare 26 mac {
d805 1
a805 1
declare 27 mac {
d809 1
a809 1
declare 28 mac {
d813 1
a813 1
declare 29 mac {
d817 1
a817 1
declare 30 mac {
d821 1
a821 1
declare 31 mac {
d825 1
a825 1
declare 32 mac {
d829 1
a829 1
declare 33 mac {
d833 1
a833 1
declare 34 mac {
d837 1
a837 1
declare 35 mac {
d842 1
a842 1
declare 36 mac {
d846 1
a846 1
declare 37 mac {
d850 1
a850 1
declare 38 mac {
d854 1
a854 1
declare 39 mac {
d858 1
a858 1
declare 40 mac {
d862 1
a862 1
declare 41 mac {
d866 1
a866 1
declare 42 mac {
d870 1
a870 1
declare 43 mac {
d874 1
a874 1
declare 44 mac {
d878 1
a878 1
declare 45 mac {
d882 1
a882 1
declare 46 mac {
d886 1
a886 1
declare 47 mac {
d890 1
a890 1
declare 48 mac {
d894 1
a894 1
declare 49 mac {
d898 1
a898 1
declare 50 mac {
d902 1
a902 1
declare 51 mac {
d906 1
a906 1
declare 52 mac {
d910 1
a910 1
declare 53 mac {
d914 1
a914 1
declare 54 mac {
d918 1
a918 1
declare 55 mac {
d922 1
a922 1
declare 56 mac {
d926 1
a926 1
declare 57 mac {
d930 1
a930 1
declare 58 mac {
d934 1
a934 1
declare 59 mac {
d938 1
a938 1
declare 60 mac {
d942 1
a942 1
declare 61 mac {
d946 1
a946 1
declare 62 mac {
d950 1
a950 1
declare 63 mac {
d954 1
a954 1
declare 64 mac {
d958 1
a958 1
declare 65 mac {
d962 1
a962 1
declare 66 mac {
d966 1
a966 1
declare 67 mac {
d970 1
a970 1
declare 68 mac {
d974 1
a974 1
declare 69 mac {
d979 1
a979 1
declare 70 mac {
d983 1
a983 1
declare 71 mac {
d1353 1
a1353 1
declare 0 mac {
d1357 1
a1357 1
declare 1 mac {
d1364 1
a1364 1
declare 2 mac {
d1369 1
a1369 1
declare 3 mac {
d1374 1
a1374 1
declare 4 mac {
d1378 1
a1378 1
declare 5 mac {
d1383 12
a1394 1
declare 6 mac {
d1398 5
a1402 1
declare 7 mac {
d1406 1
a1406 1
declare 8 mac {
d1410 1
a1410 1
declare 9 mac {
d1414 1
a1414 1
declare 10 mac {
d1418 13
a1430 1
declare 11 mac {
d1434 1
a1434 1
declare 12 mac {
d1438 1
a1438 1
declare 13 mac {
d1443 1
a1443 1
declare 14 mac {
d1448 5
a1452 1
declare 15 mac {
d1457 1
a1457 1
declare 16 mac {
d1463 1
a1463 1
declare 17 mac {
d1469 1
a1469 1
declare 18 mac {
d1473 5
a1477 1
declare 19 mac {
d1481 1
a1481 1
declare 20 mac {
d1486 1
a1486 1
declare 21 mac {
d1490 1
a1490 1
declare 22 mac {
d1495 1
a1495 1
declare 23 mac {
d1500 1
a1500 1
declare 24 mac {
d1505 1
a1505 1
declare 25 mac {
d1509 5
a1513 1
declare 26 mac {
d1517 1
a1517 1
declare 27 mac {
d1522 5
a1526 1
declare 28 mac {
d1530 1
a1530 1
declare 29 mac {
d1536 5
a1540 1
declare 30 mac {
d1546 5
a1550 1
declare 31 mac {
d1554 1
a1554 1
declare 32 mac {
d1559 1
a1559 1
declare 33 mac {
d1563 6
a1568 1
declare 34 mac {
d1572 1
a1572 1
declare 35 mac {
d1577 1
a1577 1
declare 36 mac {
d1581 13
a1593 1
declare 37 mac {
d1598 6
a1603 1
declare 38 mac {
d1607 1
a1607 1
declare 39 mac {
d1611 1
a1611 1
declare 40 mac {
d1616 1
a1616 1
declare 41 mac {
d1620 1
a1620 1
declare 42 mac {
d1624 5
a1628 1
declare 43 mac {
d1632 1
a1632 1
declare 44 mac {
d1636 1
a1636 1
declare 45 mac {
d1640 1
a1640 1
declare 46 mac {
d1644 1
a1644 1
declare 47 mac {
d1648 1
a1648 1
declare 48 mac {
d1652 1
a1652 1
declare 49 mac {
d1656 1
a1656 1
declare 50 mac {
d1660 1
a1660 1
declare 51 mac {
d1664 6
a1669 1
declare 52 mac {
d1673 1
a1673 1
declare 53 mac {
d1677 1
a1677 1
declare 54 mac {
d1681 18
a1698 1
declare 55 mac {
@


