Add data members for RGBValue and HSVValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -456,6 +456,10 @@ public:
|
|||||||
between HSV color space and RGB color space.
|
between HSV color space and RGB color space.
|
||||||
*/
|
*/
|
||||||
RGBValue(unsigned char r=0, unsigned char g=0, unsigned char b=0);
|
RGBValue(unsigned char r=0, unsigned char g=0, unsigned char b=0);
|
||||||
|
|
||||||
|
unsigned char red;
|
||||||
|
unsigned char green;
|
||||||
|
unsigned char blue;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -472,6 +476,10 @@ public:
|
|||||||
between HSV color space and RGB color space.
|
between HSV color space and RGB color space.
|
||||||
*/
|
*/
|
||||||
HSVValue(double h=0.0, double s=0.0, double v=0.0);
|
HSVValue(double h=0.0, double s=0.0, double v=0.0);
|
||||||
|
|
||||||
|
double hue;
|
||||||
|
double saturation;
|
||||||
|
double value;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user