Tk Source Code

Check-in [c6bfa3e2]
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:Fixed a typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-0d63621b6c
Files: files | file ages | folders
SHA3-256: c6bfa3e233b7679726aa4ac5b79a0e15298dd908b02567113e97836bf3ae2ae4
User & Date: culler 2019-03-12 16:24:32
Context
2019-03-13
13:30
Make the GroupBox render correctly on High Sierra. check-in: 640ed77b user: culler tags: bug-0d63621b6c
2019-03-12
16:24
Fixed a typo. check-in: c6bfa3e2 user: culler tags: bug-0d63621b6c
16:08
Added a drawing procedure for notebook tabs in Dark Mode. check-in: 44331942 user: culler tags: bug-0d63621b6c
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/ttkMacOSXTheme.c.

394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
	}
    } else {
	
	/*
	 * This is the selected tab; paint it.  If it is first, cover up
	 * the separator line drawn by the second one.
	 */
	if ((state && TTK_STATE_FIRST_TAB) && !(state && TTK_STATE_LAST_TAB)) {
	    bounds.size.width += 1;
	}

	if (!(state & TTK_STATE_BACKGROUND)) {
	    selectedGradient = CGGradientCreateWithColorComponents(
		deviceRGB.CGColorSpace, darkSelectedGradient, NULL, 2);
	    CGPoint end = {bounds.origin.x, bounds.origin.y + bounds.size.height};






|







394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
	}
    } else {
	
	/*
	 * This is the selected tab; paint it.  If it is first, cover up
	 * the separator line drawn by the second one.
	 */
	if ((state & TTK_STATE_FIRST_TAB) && !(state & TTK_STATE_LAST_TAB)) {
	    bounds.size.width += 1;
	}

	if (!(state & TTK_STATE_BACKGROUND)) {
	    selectedGradient = CGGradientCreateWithColorComponents(
		deviceRGB.CGColorSpace, darkSelectedGradient, NULL, 2);
	    CGPoint end = {bounds.origin.x, bounds.origin.y + bounds.size.height};