Closed Bug 329646 Opened 18 years ago Closed 13 years ago

use luminance for converting cursors to black & white

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Biesinger, Unassigned)

Details

from Bug 308536.

it might also make sense to move the conversion to crossplatform code as other platforms might also only support b&w cursors (beos, for example)

 ------- Bug 308536 Comment #4 From Boris Zbarsky  2005-12-29 22:31 PST  [reply] -------

Would it make more sense to look at the luminance instead of the average?


------- Bug 308536 Comment #5 From Christian Biesinger (:bi) (reviews slower than usual) 2005-12-30 02:49 PST [reply] -------

hmm, it may... do we have an easy way to get that?


------- Bug 308536 Comment #6 From Boris Zbarsky 2005-12-30 08:49 PST [reply] -------

http://lxr.mozilla.org/seamonkey/source/layout/base/nsCSSColorUtils.h#64 and
the corresponding cpp has some code.  Maybe it should move to nsColor?
Product: Core → Core Graveyard
As far as I know, we no longer support any platform or widget library that lacks support for color cursors.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.