29 QColor faceColor, edgeColor; |
29 QColor faceColor, edgeColor; |
30 int index; |
30 int index; |
31 }; |
31 }; |
32 |
32 |
33 void initColors(); |
33 void initColors(); |
34 int luma (QColor& col); |
34 int luma (const QColor& col); |
35 |
35 |
36 // Safely gets a color with the given number or null if no such color. |
36 // Safely gets a color with the given number or null if no such color. |
37 LDColor* getColor (int colnum); |
37 LDColor* getColor (int colnum); |
38 void setColor (int colnum, LDColor* col); |
38 void setColor (int colnum, LDColor* col); |
39 |
39 |