1 #ifndef GRAPHIC_H 2 #define GRAPHIC_H 3 4 #include <glib.h> /* defines inline for better portability */ 5 6 typedef unsigned int Uint; 7 8 typedef struct 9 { 10 unsigned short r,v,b; 11 } 12 Color; 13 14 extern const Color BLACK; 15 extern const Color WHITE; 16 extern const Color RED; 17 extern const Color BLUE; 18 extern const Color GREEN; 19 extern const Color YELLOW; 20 extern const Color ORANGE; 21 extern const Color VIOLET; 22 23 #endif /*GRAPHIC_H*/ 24