cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17526 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,12 +14,18 @@
|
|||||||
|
|
||||||
class RGBColor {
|
class RGBColor {
|
||||||
public:
|
public:
|
||||||
RGBColor(uint8 r, uint8 g, uint8 b, uint8 a = 255);
|
RGBColor(uint8 r,
|
||||||
RGBColor(int r, int g, int b, int a = 255);
|
uint8 g,
|
||||||
RGBColor(const rgb_color &col);
|
uint8 b,
|
||||||
RGBColor(uint16 col);
|
uint8 a = 255);
|
||||||
RGBColor(uint8 col);
|
RGBColor(int r,
|
||||||
RGBColor(const RGBColor &col);
|
int g,
|
||||||
|
int b,
|
||||||
|
int a = 255);
|
||||||
|
RGBColor(const rgb_color& color);
|
||||||
|
RGBColor(uint16 color);
|
||||||
|
RGBColor(uint8 color);
|
||||||
|
RGBColor(const RGBColor& color);
|
||||||
RGBColor();
|
RGBColor();
|
||||||
|
|
||||||
uint8 GetColor8() const;
|
uint8 GetColor8() const;
|
||||||
@@ -27,15 +33,22 @@ class RGBColor {
|
|||||||
uint16 GetColor16() const;
|
uint16 GetColor16() const;
|
||||||
rgb_color GetColor32() const;
|
rgb_color GetColor32() const;
|
||||||
|
|
||||||
void SetColor(uint8 r, uint8 g, uint8 b, uint8 a = 255);
|
void SetColor(uint8 r,
|
||||||
void SetColor(int r, int g, int b, int a = 255);
|
uint8 g,
|
||||||
|
uint8 b,
|
||||||
|
uint8 a = 255);
|
||||||
|
void SetColor(int r,
|
||||||
|
int g,
|
||||||
|
int b,
|
||||||
|
int a = 255);
|
||||||
void SetColor(uint16 color16);
|
void SetColor(uint16 color16);
|
||||||
void SetColor(uint8 color8);
|
void SetColor(uint8 color8);
|
||||||
void SetColor(const rgb_color& color);
|
void SetColor(const rgb_color& color);
|
||||||
void SetColor(const RGBColor &col);
|
void SetColor(const RGBColor& color);
|
||||||
|
|
||||||
const RGBColor& operator=(const RGBColor& color);
|
const RGBColor& operator=(const RGBColor& color);
|
||||||
const RGBColor& operator=(const rgb_color& color);
|
const RGBColor& operator=(const rgb_color& color);
|
||||||
|
|
||||||
bool operator==(const rgb_color& color) const;
|
bool operator==(const rgb_color& color) const;
|
||||||
bool operator==(const RGBColor& color) const;
|
bool operator==(const RGBColor& color) const;
|
||||||
bool operator!=(const rgb_color& color) const;
|
bool operator!=(const rgb_color& color) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user