--- a/src/colors.h Mon Jul 15 13:52:46 2013 +0300 +++ b/src/colors.h Mon Jul 15 14:43:29 2013 +0300 @@ -24,8 +24,7 @@ #define MAX_COLORS 512 -class LDColor -{ +class LDColor { public: str name, hexcode; QColor faceColor, edgeColor; @@ -34,9 +33,13 @@ void initColors(); void parseLDConfig(); -uchar luma( QColor& col ); +uchar luma (QColor& col); // Safely gets a color with the given number or null if no such color. -LDColor* getColor( short colnum ); +LDColor* getColor (short colnum); -#endif // COLORS_H +// Main and edge color identifiers +static const short maincolor = 16; +static const short edgecolor = 24; + +#endif // COLORS_H \ No newline at end of file