summaryrefslogtreecommitdiffstats
path: root/win/tkWinButton.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove spaces before tabsjan.nijtmans2024-11-051-4/+3
|\
* | More progressjan.nijtmans2024-10-031-46/+53
| |
* | butPtr->wrapLengthObj et al cannot be NULL (since the TK_OPTION_NULL_OK flag ↵jan.nijtmans2024-08-111-1/+2
|\ \ | |/ | | | | is not set)
| * Backport part of [29ba539501]: many PIXEL options don't keep their ↵jan.nijtmans2024-08-111-1/+2
| |\ | | | | | | | | | | | | configured value. Merge 8.6
| | * Same cleanup as in commit [520afa7b]. Thanks Jan!csaba2024-08-091-4/+4
| | |
* | | Fix [29ba539501]: many PIXEL options don't keep their configured valuejan.nijtmans2024-08-111-8/+8
|\ \ \ | |/ / |/| |
| * | Make "entry" work. No test failures any more. Many renamings of fields (*Ptr ↵jan.nijtmans2024-07-111-8/+8
| | | | | | | | | | | | -> *Obj)
* | | Remove unused variable, fix shadowed variable.jan.nijtmans2024-08-091-4/+3
| | |
* | | Fix for ticket [f569b9410c]: Improve the look of the focus indicator on Windows.csaba2024-08-091-13/+7
|\ \ \ | |/ / |/| / | |/
| * Proposed fix for ticket [f569b9410c]: Improve the look of the focus ↵csaba2024-08-071-13/+7
| | | | | | | | indicator on Windows.
| * Consistancy in the usage of "Copyright". On MacOS, always use the UTF-8 ↵jan.nijtmans2024-05-091-1/+1
| | | | | | | | copyright-sign
* | Fix indentingjan.nijtmans2024-06-101-8/+8
| |
* | Better solution for [4d0a6f32b7], which doesn't cache ↵jan.nijtmans2024-06-101-7/+15
| | | | | | | | padX/padY/borderWidth/hightlightWidth any more: If scaling changes, it needs to be re-calculated, which wasn't taken into account. Done for 'button' and 'message'
* | Tcl_Alloc -> ckalloc. Remove unnecessary type-casts.jan.nijtmans2024-02-141-2/+2
| |
* | Made sure that a C++ compiler won't raise warnings related to the ↵csaba2023-10-251-3/+2
| | | | | | | | invocations of strstr(). Thanks Jan!
* | Eliminate some clumsy type-castsjan.nijtmans2023-10-241-7/+6
| |
* | Keep the variables tk::scalingPct and tk::svgFmt in sync with [tk scaling].csaba2023-08-291-3/+3
| |
* | Fix [2d66e1ce88] - crash running bind.testapnadkarni2023-08-131-1/+1
| |
* | Improvements related to scaling and appearance in the built-in themes alt,csaba2023-08-121-13/+4
| | | | | | clam, and default.
* | Visual improvements by using smoother SVG gradients.csaba2023-05-171-4/+4
| |
* | Optimized a few SVG gradients.csaba2023-03-201-4/+4
| |
* | More -Wconversion C warning fixesjan.nijtmans2023-03-061-3/+3
| |
* | -1 -> TCL_INDEX_NONEjan.nijtmans2023-03-031-1/+1
| |
* | Hopefully final unification and cleanup of the SVG data used for drawing ↵csaba2023-02-241-9/+2
| | | | | | | | indicators
* | Merged branch better-indicators into trunk; a couple of additional visual ↵csaba2023-02-181-2/+3
| | | | | | | | improvements
* | Code optimization and cleanup related to the indicator imagescsaba2023-02-141-15/+11
| |
* | Improved the SVG data of a few images used for drawing (ttk::)checkbutton ↵csaba2023-02-111-11/+11
| | | | | | | | and (ttk::)radiobutton indicators
* | Merged branch scaling-aware-classic-simple into trunkcsaba2023-02-081-136/+324
|\ \
| * | Unify static data initializers, do it all the same way.jan.nijtmans2023-02-071-5/+5
| | |
| * | Made the indicators of the Tk core checkbuttons and radiobuttons on Windows ↵csaba2023-02-061-135/+323
| | | | | | | | | | | | and the ones of the ttk::checkbutton and ttk::radiobutton widgets of the winnative theme scaling-aware
* | | Merge 8.6 (more TCL_UNUSED usage)jan.nijtmans2023-02-071-5/+4
|\ \ \ | |/ / |/| / | |/
* | Merge core-8-6-branch: Eradicate uses of sprintf because it triggers ↵fvogel2023-01-181-1/+1
|\ \ | |/ | | | | deprecation warning on macOS Ventura. Resolve conflicts. Remove sprintf calls specific to the main branch.
| * Factorise definition of snprintf in tkWinInt.h (MSVC before 2015 didn't know ↵fvogel2023-01-141-8/+0
| | | | | | | | snprintf).
| * Eradicate uses of sprintf because it triggers deprecation warning on macOS ↵fvogel2023-01-101-1/+9
| | | | | | | | Ventura. Only a single instance left in TkpPrintWindowId() (tkWinWindow.c).
| * Eliminate "register" keyword. Use more TCL_UNUSED()jan.nijtmans2021-03-231-11/+11
| |
* | (c) -> ©jan.nijtmans2020-12-091-1/+1
| |
* | Fix [220811] and [220808]: Docs missing for ↵jan.nijtmans2020-04-021-1/+1
| | | | | | | | Tk_TranslateWinEvent/Tk_PointerEvent API. Moved functions to tkWinInt.h as MODULE_SCOPE. (Stub entry still kept, as long as not -DTK_NO_DEPRECATED)
* | Implement TIP #557: C++ support for Tcljan.nijtmans2020-02-281-4/+5
|\ \
| * | WIP: Add support for C++jan.nijtmans2019-12-121-3/+4
|/ /
* | Merge 8.6jan.nijtmans2019-09-241-4/+4
|\ \ | |/
| * Don't use "class" as (internal) struct field name or local variable name. ↵jan.nijtmans2019-09-241-4/+4
| | | | | | | | Make it "c_class" (just as X11 does as well), in order to prevent conflict with C++ compilers.
* | Merge 8.6. jan.nijtmans2019-09-231-4/+4
|\ \ | |/ | | 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-4/+4
| |
* | Merge 8.6jan.nijtmans2019-09-201-1/+1
|\ \ | |/
| * One missing use of TCL_INDEX_NONE in stead of -1. jan.nijtmans2019-09-201-1/+1
| | | | | | Use some more type-casts, making compiling Tk less sensitive to the use of -DUNICODE or not.
* | Merge 8.6jan.nijtmans2019-09-191-4/+4
|\ \ | |/
| * *A() to *W() Win32 API changes, actually the same because Tk is already ↵jan.nijtmans2019-09-191-4/+4
| | | | | | | | compiled in UNICODE mode.
| * TCHAR -> WCHAR conversions, since our TCHAR is actually WCHAR when compiling ↵jan.nijtmans2019-09-161-4/+4
| | | | | | | | everything in UNICODE mode on Windows.
* | More removals of "register" keyword.jan.nijtmans2019-08-161-3/+3
| |
* | Use WCHAR in stead of TCHAR (almost) everywhere, since we now only support ↵jan.nijtmans2019-07-301-4/+4
| | | | | | | | compiling Tcl in UNICODE mode anyway.