added settings for theme and theme hue

This commit is contained in:
fourtf
2017-02-02 01:23:26 +01:00
parent 0343371443
commit 43cf7620ae
10 changed files with 105 additions and 5 deletions
+8 -1
View File
@@ -3,6 +3,7 @@
#include <QBrush>
#include <QColor>
#include <boost/signals2.hpp>
namespace chatterino {
@@ -68,15 +69,21 @@ public:
return instance;
}
void init();
void normalizeColor(QColor &color);
void setColors(float hue, float multiplyer);
void update();
boost::signals2::signal<void()> updated;
private:
ColorScheme()
: updated()
{
}
void setColors(float hue, float multiplyer);
qreal middleLookupTable[360] = {};
qreal minLookupTable[360] = {};