summaryrefslogtreecommitdiffstats
path: root/win/tkWinColor.c
Commit message (Collapse)AuthorAgeFilesLines
* More -Wconversion C warning fixesjan.nijtmans2023-03-061-4/+4
|
* Merge 8.6jan.nijtmans2022-03-021-16/+8
|\
| * Code cleanup (more TCL_UNUSED, more type-casts, eol-spacing)jan.nijtmans2022-03-021-20/+20
| |
* | (c) -> ©jan.nijtmans2020-12-091-2/+2
| |
* | Revert from 'SystemPlaceHolderTextColor' to 'SystemPlaceHolderText' on ↵fvogel2020-07-141-1/+1
| | | | | | | | Windows, and deal with all ttk widgets having -placeholderforeground option to let them use the adequate platform default color for platform-specific themes.
* | Bring Windows documentation up-to-date with respect to the new color ↵fvogel2020-07-141-1/+1
| | | | | | | | systemPlaceholderTextColor.
* | Correctly use a system placeholder color on Windows.fvogel2020-07-141-0/+1
| |
* | WIP: Add support for C++jan.nijtmans2019-12-121-9/+17
| |
* | Merge 8.6. jan.nijtmans2019-09-231-1/+1
|\ \ | |/ | | Don't use TCL_Z_MODIFIER on Windows, because it only works when Tk 8.7 is compiled with Tcl 8.7, not with Tcl 8.6
| * Use more explicit *W()-forms of the Win32 API, instead of relying on -DUNICODEjan.nijtmans2019-09-231-1/+1
| |
* | More removals of "register" keyword.jan.nijtmans2019-08-161-1/+1
| |
* | Fix PTR2INT/PTR2UINT, so they no longer are restricted to the "int" range.jan.nijtmans2018-10-221-2/+2
|/ | | | Make TCL_Z_MODIFIER available in Tk (even when compiled with Tcl 8.6), and use it. More size_t/clientData related improvements
* Use size_t in stead of int for some internal refCount variables. On 32-bit ↵jan.nijtmans2015-07-081-6/+8
| | | | systems, this doubles the range (as size_t is unsigned), on 64-bit system much more than that.
* Fix [http://core.tcl.tk/tcl/info/651e828a52|651e828a52]: Wrong Windows ↵jan.nijtmans2014-02-041-10/+1
|\ | | | | | | | | version reported for Windows 8.1. Remove some dead code (since Win95/98/ME is no longer supported)
* \ Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-2/+4
|\ \ | |/ | | | | needed for Cygwin
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-051-2/+4
| |\
| | * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-12/+14
| | | | | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
* | | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-1/+1
|\ \ \ | |/ /
| * | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-1/+1
| |\ \ | | |/
| | * proposed fix for bug-3486474jan.nijtmans2012-02-101-1/+1
| | |
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-9/+9
| |\ \ | | |/
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-27/+27
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-7/+6
| | | | | | | | | using useful casts internally.
* | | Fix various 64-bit gcc(-4.5.2) warnings: cast from pointer to integer of ↵nijtmans2010-11-291-7/+7
| | | | | | | | | | | | different size
* | | Revise Tcl_Panic() calls ending with a newline removing the newline, because ↵nijtmans2010-11-191-4/+4
| | | | | | | | | | | | Tcl_Panic() outputs a final newline already
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-061-8/+2
| | |
* | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* | | remove unused "dataKey" variablenijtmans2010-02-191-7/+2
| | |
* | | tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-161-30/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 some unnessary type castsnijtmans2009-01-281-4/+4
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Add "const" to many internalnijtmans2008-10-171-2/+2
|/ / | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-28/+28
| |
* | More fixes (mostly getting rid of excess spaces)dkf2005-12-021-2/+2
| |
* | Fix problems in last commitdkf2005-12-021-2/+2
| |
* | ANSIficationdkf2005-12-021-111/+112
| |
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-4/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* * generic/tkFileFilter.c (AddClause): Cast to match function prototype.mo2000-07-061-3/+1
| | | | | | | | | | | | | | | * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
* * win/tkWinColor.c (FindSystemColor): correct calculation ofhobbs2000-04-171-14/+15
| | | | colors when shifting value. [Bug: 4919]
* * win/tkWinInt.h: change extern to EXTERN for TkWinChildProchobbs2000-03-021-7/+10
| | | | | | | | declaration with extra #defs. [Bug: 4240] * tests/color.test: * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-13/+12
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+615