src/colors.h

changeset 406
5371baa17346
parent 381
241f65769a57
child 421
7d26db0be944
equal deleted inserted replaced
405:b8c813906ac0 406:5371baa17346
30 QColor faceColor, edgeColor; 30 QColor faceColor, edgeColor;
31 short index; 31 short index;
32 }; 32 };
33 33
34 void initColors(); 34 void initColors();
35 void parseLDConfig();
36 uchar luma (QColor& col); 35 uchar luma (QColor& col);
37 36
38 // 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.
39 LDColor* getColor (short colnum); 38 LDColor* getColor (short colnum);
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

mercurial