summaryrefslogtreecommitdiffstats
path: root/win/tkWinScrlbr.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵nijtmans@users.sourceforge.net2013-01-111-1/+1
|\ | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵nijtmans@users.sourceforge.net2013-01-111-1/+1
| |\ | | | | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵nijtmans@users.sourceforge.net2013-01-111-1/+1
| | | | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases.
| * | Backport of ::tk::mac::useCompatibilityMetrics handling and scrollbar ↵nijtmans@users.sourceforge.net2012-10-231-17/+3
| | | | | | | | | | | | metrics handling from trunk
* | | Purge RCS Keywordsdgp@users.sourceforge.net2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| | |
| * | Backport of fix for [Bug 2112563]donal.k.fellows@manchester.ac.uk2008-10-051-5/+5
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedonal.k.fellows@manchester.ac.uk2011-03-121-1/+1
| | | | | | | | | using useful casts internally.
* | | Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of ↵nijtmans2010-11-291-3/+3
| | | | | | | | | | | | different size
* | | [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish@flightlab.com2010-06-191-64/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-2/+2
| | | | | | | | | | | | | | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* | | CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-171-12/+2
| | |
* | | tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-161-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tkArgv.c make defaultTable const tkScrollbar.c Store default for "-with" in static non-const memory tkWinInt.h make tkWinProcs const, and 5 tkWinX.c procs MODULE_SCOPE tkWinColor.c make sysColors const tkWinKey.c make keymap const tkWinScrlbr.c Simplify copying of "-with" default value. tkUnixWm.c make TkSetTransientFor static tests/textImage.test textImage-1.13 depends on hash-order
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-3/+3
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | TIP 337dgp@users.sourceforge.net2008-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: Updated callers of Tcl_BackgroundError() * generic/tkCanvas.c: to use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c:
* | | Convert %g to Tcl_PrintDouble to avoid locale trouble. [Bug 2112563]donal.k.fellows@manchester.ac.uk2008-10-031-2/+2
|/ /
* | Add in missing function definitions to support plain MSVC6 and usepatthoyts@users.sourceforge.net2007-12-141-4/+4
| | | | | | | | | | INT_PTR rather than LONG_PTR which isn'tr defined in the msvc6 headers.
* | merge stable branch onto HEADdgp@users.sourceforge.net2007-12-131-1/+1
| |
* | * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr andhobbs2007-12-051-14/+1
| | | | | | | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c:
* | More fixes (mostly getting rid of excess spaces)donal.k.fellows@manchester.ac.uk2005-12-021-2/+2
| |
* | ANSIficationdonal.k.fellows@manchester.ac.uk2005-12-021-184/+188
| |
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* * win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL tohobbs2003-02-211-1/+7
| | | | | "disable" scrollbar when on Windows when there is nothing to scroll. This is Windows style, and fixes [Bug #624116].
* TIP #47 "Modifying Tk to Allow Writing X Window managers"jenglish@flightlab.com2002-06-141-2/+2
| | | | | | | | (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.
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-3/+4
| | | | | | | | | 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.
* * win/tkWinButton.c:hobbs2000-11-031-1/+14
| | | | | | | * win/tkWinDialog.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: fixed up code for Win64 support. This mostly remains in _WIN64 #ifdef's, until updated compilers are standard.
* * win/tkWinDialog.c: added unicode-aware open/save file dialogshobbs2000-03-311-6/+2
| | | | | | | | | | | | | | | | | | | | | | | * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]
* * win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProchobbs2000-01-131-10/+12
| | | | to avoid crash when building statically
* * Merged 8.1 branch into the main trunkstanton1999-04-161-2/+6
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+745