Mozilla2:GFXColor: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 3: Line 3:


=== The API ===
=== The API ===
[http://www.pavlov.net/projects/thebes/public/Color.h Color.h]
[http://lxr.mozilla.org/mozilla/source/gfx/thebes/public/gfxColor.h gfxColor.h]

Revision as of 03:45, 11 April 2005

Color 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