34 void initColors(); |
34 void initColors(); |
35 uchar luma (QColor& col); |
35 uchar luma (QColor& col); |
36 |
36 |
37 // Safely gets a color with the given number or null if no such color. |
37 // Safely gets a color with the given number or null if no such color. |
38 LDColor* getColor (short colnum); |
38 LDColor* getColor (short colnum); |
39 void setColor( short colnum, LDColor* col ); |
39 void setColor (short colnum, LDColor* col); |
40 |
40 |
41 // Main and edge color identifiers |
41 // Main and edge color identifiers |
42 static const short maincolor = 16; |
42 static const short maincolor = 16; |
43 static const short edgecolor = 24; |
43 static const short edgecolor = 24; |
44 |
44 |