Struct ColorHSV copied to color.h

dev-ui
Programerus 2012-06-20 20:07:54 +03:00
parent f244921ba9
commit 81468f8dc9
1 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,8 @@
// TODO
namespace Gfx {
struct Color
{
@ -27,6 +29,13 @@ struct Color
};
struct ColorHSV
{
float h,s,v;
};
long RetColor(float intensity);
long RetColor(Color intensity);
Color RetColor(long intensity);
@ -34,3 +43,5 @@ Color RetColor(long intensity);
void RGB2HSV(Color src, ColorHSV &dest);
void HSV2RGB(ColorHSV src, Color &dest);
};