Mozilla2:GFXColor: Difference between revisions

m
no edit summary
mNo edit summary
 
Line 1: Line 1:
== gfxColor Class ==
== gfxColor Class ==
We should be using RGBA colors all over the tree.  It needs to be able to accept packed uint32 colors (nscolor) that we currently use as well as accept strings of hex colors or named colors.
We should be using RGBA colors all over the tree.  It needs to be able to accept packed uint32 colors (nscolor) that we currently use as well as accept strings of hex colors or named colors.
''Why should color parsing be done here, rather than in the code that gets the string?''--[[User:Biesi|Biesi]] 16:58, 25 Jun 2005 (PDT)


=== The API ===
=== The API ===
[http://lxr.mozilla.org/mozilla/source/gfx/thebes/public/gfxColor.h gfxColor.h]
[http://lxr.mozilla.org/mozilla/source/gfx/thebes/public/gfxColor.h gfxColor.h]
Confirmed users
195

edits