The-Powder-Toy/src/interface/Colour.h

25 lines
415 B
C
Raw Normal View History

#ifndef COLOUR_H
#define COLOUR_H
namespace ui
{
class Colour
{
public:
2012-03-05 11:10:18 -06:00
unsigned char Red, Green, Blue, Alpha;
Colour(unsigned char red, unsigned char green, unsigned char blue):
2012-03-05 11:10:18 -06:00
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