summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
Commit message (Collapse)AuthorAgeFilesLines
* ttk improvements (e.g. regarding TCL_UNUSED)jan.nijtmans2023-12-181-21/+32
|
* Merge 8.6jan.nijtmans2023-12-141-2/+2
|\
| * Add Tk_Window parameter to TtkSelectImage(). Not used yetjan.nijtmans2023-12-141-2/+2
| |
* | Fix -underline behavior in ttk::label, broken by TIP #660 changes.jan.nijtmans2023-06-231-7/+7
| |
* | (partial) fix for [a9929f112a]: Bugs in the implementation of TIP 577 ↵jan.nijtmans2023-06-211-3/+5
| | | | | | | | ("Enhanced index values for Tk")
* | Last set (hopefully) in preparation of TIP 660apnadkarni2023-04-181-1/+1
| |
* | Reduce the number of ttk C warningsjan.nijtmans2023-03-021-0/+3
| |
* | Simplify code by making better use of common parts between Text and cText ↵fvogel2022-12-301-82/+9
| | | | | | | | elements.
* | Another approach to fix [8bee4b2009]: Instead of the Text element used in ↵fvogel2022-12-301-0/+117
| | | | | | | | other widgets, use a collapsing Text element. Test progressbar-3.3 passes.
* | Fix [6ee162c3d9]: Style configuring Treeview -rowheight 0 crashes. Also, ↵fvogel2022-12-121-1/+1
|\ \ | |/ | | | | document -indent treeview styling option.
| * Better fix for [6ee162c3d9]: Style configuring Treeview -rowheight 0 ↵fvogel2022-12-051-1/+1
| | | | | | | | crashes. And use parenthesis around macro variables.
* | TIP #628 for Tk: Shared 8.7/9.0 build environmentjan.nijtmans2022-06-251-1/+1
| |
* | Merge 8.6jan.nijtmans2021-12-201-1/+1
|\ \ | |/
| * Change default initialization for ttk:label -anchor to "w"jan.nijtmans2021-12-201-1/+1
| |
* | Merge 8.7jan.nijtmans2020-10-231-7/+12
|\ \
| * \ Merge 8.6. More usage of TCL_UNUSED macrojan.nijtmans2020-10-151-7/+12
| |\ \ | | |/
| | * Some code cleanup, backported from 8.7 (mainly usage of exact types and ↵jan.nijtmans2020-03-301-24/+35
| | | | | | | | | | | | type-casts).
* | | Make default underline -1 (again) when compiled with Tcl 8 headersjan.nijtmans2020-09-141-0/+8
| | |
* | | Merge trunkjan.nijtmans2020-08-201-1/+1
|\ \ \ | |/ /
* | | No need to #include "default.h" in ttk widgets (and in ↵jan.nijtmans2020-07-021-2/+1
| | | | | | | | | | | | tkUnixMenu.c/tkMenubutton.c)
* | | Don't use constants like DEF_BUTTON_UNDERLINE any more, since the default ↵jan.nijtmans2020-07-021-14/+14
| | | | | | | | | | | | underline should always be no underline anyway.
* | | Implementation complete, appears to function as expectedjan.nijtmans2020-06-161-2/+7
| | |
* | | More progress, implementing enhanced "-underline"jan.nijtmans2020-06-121-3/+2
| | |
* | | Merge trunk. Add new option type TK_OPTION_INDEX. Start implementing ↵jan.nijtmans2020-06-111-7/+9
|/ / | | | | | | extended index handling for -underline.
* | Merge trunkjan.nijtmans2020-02-071-2/+2
|\ \
| * | Use Ttk_ButtonDefaultState/Ttk_Compound (enums) in stead of "int" in many ↵jan.nijtmans2020-02-071-2/+2
| | | | | | | | | | | | internal places, because that's the actual type.
* | | Merge 8.7jan.nijtmans2020-02-061-6/+6
|\ \ \ | |/ /
| * | Add many 'const' modifiers, allowing the C-compiler to put many ↵jan.nijtmans2020-02-061-6/+6
| | | | | | | | | | | | configuration-tables in static read-only memory. Mainly for Ttk (because Tk already did this a long time ago).
* | | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too.jan.nijtmans2019-12-201-16/+27
|/ /
* | Merge 8.7jan.nijtmans2019-01-131-1/+1
|\ \
| * \ Merge 8.6jan.nijtmans2019-01-101-1/+1
| |\ \ | | |/
| | *-. Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-081-3/+2
| | |\ \
| | | | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-081-1/+1
| | | | |\ | | | |/ / | | | | / | | | |/ | | |/| | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
| | * | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-311-4/+4
| | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
| | * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-201-4/+4
| | |/ | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | | Experiment: let's see if we can deprecate Tk_Offset() in favor of offsetof()jan.nijtmans2018-10-061-26/+26
|/ /
* | Header include reform: Since "tkInt.h" already contains header files like ↵jan.nijtmans2018-09-061-2/+1
| | | | | | | | | | <stdlib.h>, <string.h> and <ctype.h>, we don't have to include those in every separate C-file. Just depend on tkInt.h to provide it. This mainly affects ttk, since most other files already adhered to this.
* | Fix XOffsetRegion/XUnionRegion prototypes (not currently used). Remove ↵jan.nijtmans2016-05-191-7/+7
|/ | | | unneccessary white-space.
* Silence some compiler warningsdgp2015-02-121-0/+2
|
* Squash problem with native AIX cc not allowing direct macro redefinition.jan.nijtmans2014-02-031-0/+3
|
* [Bug 3567453]: Clip regions must be cleared with XSetClipMask and notdkf2012-09-131-2/+2
| | | TkSetRegion on X11.
* [Bug 3566594]: Fix clipping problem in classic X11; clip regions were leaking indkf2012-09-111-6/+6
| | | reused GCs.
* partly backport from 8.6jan.nijtmans2012-08-091-0/+4
|
* Fix text clipping when working with the Xft-based renderer.dkf2012-06-121-1/+12
|
* [Bug 3294450]: Do clipping of ttk text elements correctly.dkf2012-06-111-7/+15
|
* Purge RCS Keywords.dgp2011-06-081-2/+1
|
* Major backport of 8.6 Ttk for 8.5.9. Most changes were only beinghobbs2010-08-261-5/+4
| | | | | | | | | | | | | | committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify)
* Avoid passing width or height <= 0 to Tk_RedrawImage,jenglish2008-05-231-1/+7
| | | | as this leads to a panic on Windows [Bug 1967576]
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/ttk/ttkElements.c, macosx/ttkMacOSXTheme.c:jenglish2007-11-191-60/+12
| | | | | | | | | | | | Add "fill" element: like "background" but only erases parcel. * generic/ttk/ttkFrame.c: Use fill element in Labelframe Label sublayout. Also improved default labelmargins for -labelanchor w*, e*. * generic/ttk/ttkLabel.c: no longer need Labelframe hack. * library/ttk/aquaTheme.tcl: ImageTextElement no longer needed. TextElement no longer needs '-background' option.