src/colors.h

changeset 421
7d26db0be944
parent 406
5371baa17346
child 455
c5d14d112034
equal deleted inserted replaced
420:8d6af951b611 421:7d26db0be944
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

mercurial