Mozilla2:GFXColor: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
== The Class ==
== 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 ===
  struct RGBA {
  struct RGBA {
     double r, g, b, a;
     double r, g, b, a;
569

edits