2012-01-23 16:53:57 -06:00
|
|
|
#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;
|
2012-01-23 16:53:57 -06:00
|
|
|
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)
|
2012-01-23 16:53:57 -06:00
|
|
|
{
|
|
|
|
}
|
|
|
|
Colour()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|