The-Powder-Toy/src/interface/Colour.h
2012-03-05 17:10:18 +00:00

25 lines
415 B
C++

#ifndef COLOUR_H
#define COLOUR_H
namespace ui
{
class Colour
{
public:
unsigned char Red, Green, Blue, Alpha;
Colour(unsigned char red, unsigned char green, unsigned char blue):
Red(red), Green(green), Blue(blue), Alpha(255)
{
}
Colour(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha):
Red(red), Green(green), Blue(blue), Alpha(alpha)
{
}
Colour()
{
}
};
}
#endif