summaryrefslogtreecommitdiffstats
path: root/generic/tk.h
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bump version to 8.5a2.dgp2004-03-261-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure:
* Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-7/+3
|
* update patchlevel to 8.5a1hobbs2004-03-021-3/+3
|
* removed the note about having to update makefile.vc when the version changes.davygrvy2003-12-231-2/+1
|
* TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-061-3/+24
| | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* * README: Bumped version number ofdgp2003-03-041-8/+8
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* * README: Bumped to 8.4.2.hobbs2003-02-151-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* * generic/tk.h: Added reminder comment to editdgp2002-10-091-1/+3
| | | | macosx/Wish.pbproj/project.pbxproj when version number changes.
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-271-3/+3
| | | | | | | | | | | * generic/tk.h: of CVS snapshots with release 8.4.0. * unix/README: * unix/configure.in: * unix/tk.spec * win/configure.in: * unix/configure: autoconf * win/configure:
* * generic/tk.h: Moved RC_INVOKED down so that tcl.h is stillandreas_kupries2002-09-141-13/+13
| | | | | | | | included when running the resource compiler. <tcl.h> excludes the unnecessary parts on its own. This reenables the Windows build. It failed because the non-inclusion of tcl.h caused the resource compiler to miss some vital macro definitions (TCL_FINAL_RELEASE, STRINGIFY, ...).
* * generic/tk.h:das2002-09-121-16/+11
| | | | | | | | | | | | | | | | | | * mac/tkMacApplication.r: * mac/tkMacLibrary.r: * mac/tkMacResource.r: * macosx/tkAboutDlg.r: * macosx/tkMacOSXApplication.r: * macosx/tkMacOSXLibrary.r: * macosx/tkMacOSXResource.r: unified use of the two equivalent resource compiler header inclusion defines RC_INVOKED and RESOURCE_INCLUDED, now use RC_INVOKED throughout. * macosx/tkMacOSXAppInit.c: improved detection of Wish startup by the finder (by checking if stdin is /dev/null), in which case we want to bring up the Tk console window. * macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.
* Bumped version number to 8.4.0hobbs2002-09-021-4/+4
|
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * README: Bumped version number to 8.4b3 to distinguishmacosx_8_4_merge_2002_08_20_trunkdgp2002-08-201-3/+6
| | | | | | | | | | | | | | * generic/tk.h: HEAD from the 8.4b2 release. * unix/configure.in: * win/configure.in: * unix/tk.spec: * unix/configure: autoconf * win/configure: * generic/tk.h: Added compile-time check that the tcl.h header file #included by Tk 8.4 is one from Tcl 8.4. This is needed to be sure that new #defines like CONST84 are available. [Bug 597432].
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-6/+6
| | | | | | | | | | | | | | | | | | | | | 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)
* * Bumped HEAD to version 8.4b2 in order to distinguish it fromdgp2002-07-141-3/+3
| | | | | the 8.4b1 release. Also extended LOCALES to cover all message catalogs.
* Tk patchlevel bumped to 8.4b1 in preparation for release.dkf2002-06-221-4/+4
|
* Added TIP#48 style engine implementationdkf2002-06-181-2/+77
| | | | Frederic Bonnet to supply docs+tests as soon as possible.
* Trims to support the removal of RESOURCE_INCLUDED from rcdavygrvy2002-06-181-3/+3
| | | | | | | | | | scripts from Tcl's accepted FR #565088. * generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED as the RC tool defines this already by default. * win/rc/tk.rc: * win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish2002-06-141-4/+24
| | | | | | | | (patch from Neil McKay). * Add CirculateRequest, Create, MapRequest, ResizeRequest, and ConfigureRequest event types; * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER, TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
* Changed some _Old and _OLD to more descriptive terms.dkf2002-06-141-5/+5
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-1/+30
|
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-061-3/+3
| | | | easier for now.
* Geometry manager changes to support TIP#18.pspjuth2001-09-261-3/+19
|
* *Bumped up patchlevel to 8.4a4 to distinguishdgp2001-08-081-3/+3
| | | | | CVS snapshots from the 8.4a3 release. This does not necessarily mean there will be an 8.4a4 release. [Bug 448938].
* * doc/TkInitStubs.3:hobbs2001-05-221-2/+2
| | | | | | * generic/tk.h: * generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST changes to Tcl_PkgRequireEx.
* * generic/tk.h:hobbs2001-04-021-4/+4
| | | | | | | | * unix/configure.in (TK_PATCH_LEVEL): * unix/configure: * unix/tk.spec: * win/configure.in (TK_PATCH_LEVEL): * win/configure: updated patchlevel to 8.4a3
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-1/+46
| | | | | | | | | 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.
* * generic/tkCmds.c (Tk_WinfoObjCmd): Added check forericm2000-10-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. * generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event. * generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls. * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration. * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
* * generic/tkTest.c: Fixed tests to use updated API.ericm2000-09-291-4/+4
| | | | | | | | | | | * doc/SetOptions.3: * generic/tk.h: * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc and Tk_CustomOptionGetProc; these now take a pointer to the start of the widget record, and an integer offset to the slot for the option value, instead of just a pointer to the slot. This allows more sophisticated options to do interesting things based on other data in the widget record.
* * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,ericm2000-09-171-2/+36
| | | | | | | | | | | | | | | | | | | | | | | used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM. * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options. * tests/config.test: Added tests for custom option type. * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option. * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified.
* * doc/HWNDToWindow.3:ericm2000-09-071-7/+1
| | | | | | | | | | | | | | | | * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows. * generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly.
* * README:hobbs2000-09-061-3/+3
| | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: updated to patchlevel 8.4a2
* * win/makefile.vc (install-libraries):ericm2000-09-021-2/+8
| | | | | | | | | * win/Makefile.in (install-libraries): * unix/Makefile.in (install-libraries): Added tkPlatDecls.h to list of header files to install. * generic/tk.h: Added #include "tkPlatDecls.h", which declares the platform specific component of the public Tk stubs API's.
* * generic/tkInt.h: Removed Tk_AfterCmd function prototype; theericm2000-08-031-2/+1
| | | | | | | | function does not exist (since 7.4p3). * generic/tk.h: Removed Tk_AfterCmd => Tcl_AfterCmd #define; nothing in the core uses it, and Tcl_AfterCmd doesn't exist anymore anyway.
* * generic/tk.h: added typdef for Tk_ClientMessageProchobbs2000-06-031-2/+4
| | | | | | | | | | | * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler declarations. * generic/tkEvent.c (Tk_HandleEvent): Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to allow adding event handlers that invoke for ClientMessage events. This is necessary to support unix dnd protocols.
* * generic/tk.h: added comments ot Tk_FakeWin structurehobbs2000-05-291-21/+21
|
* * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK withericm2000-05-171-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_OPTION_RELIEF. * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK. * tests/button.test: Added tests for -overrelief; removed tests for -relief link. * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK. * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK. * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF. * library/button.tcl: Added binding support for -overrelief. * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL. * generic/tkButton.c: Added -overrelief option; removed Enter/Leave EventProc masks and handlers. * generic/tk.h: Added TK_RELIEF_NULL definition, removed TK_RELIEF_LINK. * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF): * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF): * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default value for the -overrelief option.
* * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):ericm2000-05-131-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry): * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry): Added code for drawing compound buttons. * tests/button.test: Added configuration tests for -repeatdelay, -repeatinterval, -compound. * library/button.tcl: Added support for -repeatedelay, -repeatinterval options. * generic/tkOldConfig.c: Changed handling of link relief so that proper error messages are used. * generic/tkButton.h: Added -compound, -repeatdelay, -repeatinterval options. * generic/tkButton.c: Added event watchers for enter/leave events, for link relief support. * generic/tk3d.c: Changed handling of link relief so that proper error messages are used. * generic/tk.h: Changed values of TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.
* * doc/button.n: Added documentation for link relief.ericm2000-05-101-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].
* * README:hobbs2000-05-031-5/+5
| | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * mac/README: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/aclocal.m4: * win/configure.in: * win/makefile.vc: updated patchlevel to 8.4a1
* * README:hobbs2000-04-191-7/+8
| | | | | | | | | | | | | * generic/tk.h: * unix/configure.in: * unix/tk.spec: * win/configure.in: bumped to version 8.3.1 * library/msgbox.tcl (tkMessageBox): changed to use grid in some places, realign icon to anchor nw. * mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it was accidentally bumped forward).
* * generic/tkDecls.h:hobbs2000-02-081-65/+14
| | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tk.h: moved new public functions created in dash patch to the stubs interface [Bug: 4062] * generic/tk.h: * doc/CrtImgType.3: * doc/CrtPhImgFmt.3: * generic/tk.h: * generic/tkImgGIF.c: * generic/tkImgPhoto.c: * generic/tkStubImg.c (new file): * generic/tkTest.c: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: improved support for moving from the old style image C API to the new obj'ified one with new Tk_InitImageArgs command and stub'ing of image code. See docs for how to make the transition. [Bug: 4060]
* * generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevelhobbs2000-02-081-5/+5
|
* * changes: updated changes file to reflect 8.3b2 modshobbs2000-01-141-3/+3
| | | | | | | * README: * generic/tk.h: * unix/configure.in: * win/configure.in: updated to patchlevel 8.3b2
* * generic/tk.h:hobbs1999-12-211-4/+5
| | | | | | | | | | | | | | | | | * README: updated for patch level 8.3b1 * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897] * generic/tk3d.c: added extra calculations to ensure that thin frames get refreshed too [Bug: 3596] * generic/tkCanvText.c: * generic/tkEntry.c: * generic/tkFont.c: * generic/tkImgPPM.c: removed extranneous vars that were set but never used.
* * generic/tkStubInit.c:hobbs1999-12-141-5/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * generic/tk.h:hobbs1999-11-231-1/+2
| | | | | | | * generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT as equiv for TK_CONFIG_DONT_SET_DEFAULT * generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the item specs
* * generic/tk.h:hobbs1999-10-291-5/+42
| | | | | | | | | | | | | | | * generic/tkCmds.c: * generic/tkImage.c: * generic/tkImgBmap.c: * generic/tkImgGIF.c: * generic/tkImgPPM.c: * generic/tkImgPhoto.c: * generic/tkInt.h: * generic/tkTest.c: * generic/tkWindow.c: * tests/imgPhoto.test: added Img patch (Nijtmans) with docs, headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to Tcl_Obj API, adds alpha channel (images are now 32 bpp)
* 1999-09-24 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-10-011-12/+12
| | | | | | | | | | | | | * */README: * win/makefile.vc: * */configure.in: * generic/tk.h: * library/tk.tcl: up'd to 8.3a1 * unix/Makefile.in: changed 'mkdir' to 'mkdir -p' * library/dialog.tcl: changed {Times 18} to {Times 12} for dialog font.