summaryrefslogtreecommitdiffstats
path: root/generic/tkScale.c
Commit message (Collapse)AuthorAgeFilesLines
* SetOptions.3: minor doc fixjan.nijtmans2012-06-191-3/+3
| | | | make various other tables CONST (All backported from Tk 8.6)
* make some more internal tables CONSTjan.nijtmans2012-04-181-2/+2
|
* Purge RCS Keywords.dgp2011-06-081-2/+0
|
* * generic/tkScale.c: Revised variable writing logic to accountdgp2006-06-141-5/+12
| | | | | for [scale]'s design that it deals with its value as a formatted string, and not as a double. [Bug 891141].
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-4/+4
| | | | | | | | | | | | | | | | | | | | | 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)
* * Updates to handle change in type of part2 argument ofdgp2002-03-201-3/+3
| | | | Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
* * Updates to handle change in type of tablePtrdgp2002-01-171-2/+2
| | | | | argument of Tcl_GetIndexFromObj(Struct) from (char **) to (CONST char **). [TIP 27] [Patch 504705]
* * tests/config.test: added config-14.1 to test namespace importhobbs2001-08-291-21/+9
| | | | | | | | | | | | | | evaluation of widgets. * generic/tkButton.c (ButtonCreate): * generic/tkFrame.c (CreateFrame): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (Tk_ScaleObjCmd): * generic/tkMessage.c (Tk_MessageObjCmd): * generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd): * generic/tkSquare.c (SquareObjCmd): redid the handling of optionTables in widgets to allow them to be imported into other namespaces. [Bug #456632]
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-6/+5
| | | | | | | | | 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/tkCanvas.c (CanvasEventProc:2451): corrected casthobbs2000-04-141-118/+313
| | | | | | | | | | | | | * generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK * tests/scale.test: * generic/tkScale.c: * generic/tkScale.h: * unix/tkUnixScale.c: * mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue) to tkScale.c. Caused an associated variable to be immediately set [Bug: 4833]
* * generic/tkRectOval.c (ConfigureRectOval):hobbs2000-02-011-6/+7
| | | | | | | | | | | | | * generic/tkCanvLine.c (ConfigureLine): * generic/tkCanvPoly.c (ConfigurePoly): * generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for negative dash values [Bug: 4104] * generic/tkScale.c (TkRoundToResolution): fixed incorrect assumption that (N+1)*delta = N*delta + delta with floating point math [Bug: 3689, 4099] (DestroyScale) Fixed check for cancelling TkpDisplayScale (was REDRAW_ALL, is now REDRAW_PENDING)
* * generic/tkScale.c:hobbs1999-12-221-3/+4
| | | | | | * generic/tkScale.h: * mac/tkMacScale.c: * unix/tkUnixScale.c: fixed potential segv from patch in 3897
* * generic/tk.h:hobbs1999-12-211-11/+12
| | | | | | | | | | | | | | | | | * 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.
* Merged 8-1-0 into mainline.rjohnson1999-04-211-1/+1
|
* Rearranged parens for Tcl style conventions.rjohnson1999-04-201-3/+3
|
* Improved patch for scale widget.rjohnson1999-04-191-4/+6
|
* Fixed bug 1768 - core dump in scale widget.rjohnson1999-04-171-2/+3
|
* Fixed bug 1840rjohnson1999-04-171-2/+2
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-354/+458
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1143