]> git.saurik.com Git - wxWidgets.git/commitdiff
Add data members for RGBValue and HSVValue
authorRobin Dunn <robin@alldunn.com>
Fri, 14 Oct 2011 01:38:07 +0000 (01:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 14 Oct 2011 01:38:07 +0000 (01:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/image.h

index c47face205f06fcb64ff18faf9a6cdffdce76a6d..aa83b98a7fca7d4c32190007b1cb070de2bd8d65 100644 (file)
@@ -456,6 +456,10 @@ public:
             between HSV color space and RGB color space.
         */
         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.
         */
         HSVValue(double h=0.0, double s=0.0, double v=0.0);
+
+        double hue;
+        double saturation;
+        double value;        
     };
 
     /**