added color normalizer for dark theme

This commit is contained in:
fourtf
2017-01-18 01:04:54 +01:00
parent 670d25342d
commit fa049cf420
5 changed files with 153 additions and 6 deletions
+8
View File
@@ -64,12 +64,20 @@ public:
return instance;
}
void normalizeColor(QColor &color);
void setColors(float hue, float multiplyer);
private:
ColorScheme()
{
}
qreal m_middleLookupTable[360] = {};
qreal m_minLookupTable[360] = {};
void fillLookupTableValues(qreal (&array)[360], qreal from, qreal to,
qreal fromValue, qreal toValue);
};
#endif // COLORSCHEME_H