Tk Source Code

Check-in [86db63ba]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add double buffering to frames and toplevels.

Theoretically only needed when drawing background with images, but simpler to do always. Incidentally fixes minor bug in labelframes with redrawing of focus rings, but nobody really used those on labelframes so it was never reported...

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tip-262
Files: files | file ages | folders
SHA3-256: 86db63badc83fbf4052faee929a92942d48e8d0dc5a705a7ed7ac63e64b91aa7
User & Date: dkf 2019-05-17 20:06:39
Original Comment: Add double buffering to frames and toplevels. Theoretically only needed when drawing backgrounds, but simpler to do always.
Context
2019-05-17
20:37
Ugh; misread the code. The highlight ring is drawn first and always on the real window. Because of backgroundless frames. check-in: 0807e606 user: dkf tags: tip-262
20:06
Add double buffering to frames and toplevels.

Theoretically only needed when drawing background with images, but simpler to do always. Incidentally fixes minor bug in labelframes with redrawing of focus rings, but nobody really used those on labelframes so it was never reported... check-in: 86db63ba user: dkf tags: tip-262

2019-05-16
22:22
Fix some tests. Add some test cases. check-in: 42f90406 user: dkf tags: tip-262
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to generic/tkFrame.c.

Changes to generic/tkInt.h.

Changes to macosx/tkMacOSXDraw.c.

Changes to unix/tkUnixDraw.c.

Changes to win/tkWinDraw.c.