2009-11-26 10:38:37 +00:00
|
|
|
#ifndef COLOUR_H
|
|
|
|
#define COLOUR_H
|
|
|
|
|
2009-11-26 23:38:32 +00:00
|
|
|
#include <gdkmm/color.h>
|
|
|
|
|
2009-11-26 10:38:37 +00:00
|
|
|
struct Colour
|
|
|
|
{
|
2009-11-26 23:38:32 +00:00
|
|
|
Gdk::Color colour;
|
2009-11-26 10:38:37 +00:00
|
|
|
float r;
|
|
|
|
float g;
|
|
|
|
float b;
|
|
|
|
|
|
|
|
Colour();
|
|
|
|
Colour(std::string Code);
|
|
|
|
std::string ToCode() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COLOUR_H
|