Mozilla2:GFXColor: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 1: Line 1:
== Color 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.


=== 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]

Revision as of 03:46, 11 April 2005

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.

The API

gfxColor.h