Mozilla2:GFXColor: Difference between revisions

m
No edit summary
 
Line 5: Line 5:
     RGBA() { }
     RGBA() { }
     RGBA(const RGBA& c) : r(c.r), g(c.g), b(c.b), a(c.a) {}
     RGBA(const RGBA& c) : r(c.r), g(c.g), b(c.b), a(c.a) {}
     RGBA(double _r, double _g, double _b, double _a=1.0) : r(_r), g(_g), b(_b), a(_a) {}
     RGBA(double _r, double _g, double _b, double _a=1.0) :
        r(_r), g(_g), b(_b), a(_a) {}
     RGBA(unsigned long c) {
     RGBA(unsigned long c) {
         a = (c & 0xff) / 255.0;
         a = (c & 0xff) / 255.0;
569

edits