[Webkit-unassigned] [Bug 28108] Tint of checkboxes/radio buttons/etc. not correctly updated on Chromium/Mac
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 10 13:08:54 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28108
Avi Drissman <avi at drissman.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |avi at drissman.com
--- Comment #6 from Avi Drissman <avi at drissman.com> 2009-08-10 13:08:51 PDT ---
(In reply to comment #4)
> 2) The explicit tinting by color/NSControlTint seems a bit specific. Isn't
> there a better way to do this (e.g. setDrawingModeForFocusState: or something
> like that)
John:
Apparently the answer to drawing active or not _is_ to use the tinting... see
http://developer.apple.com/documentation/Cocoa/Conceptual/ControlCell/SystemTintAware.html
for details.
But you can't hard-code NSBlueControlTint. Bad idea. Use [NSColor
currentControlTint] instead.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list