src/Colors.h

changeset 702
8e3058cb9281
parent 641
425b169a82aa
equal deleted inserted replaced
701:25b7b4aa9916 702:8e3058cb9281
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

mercurial