working on something

This commit is contained in:
Rasmus Karlsson
2017-07-02 12:36:50 +02:00
parent f2ef14422b
commit 3c2ee99731
9 changed files with 116 additions and 99 deletions
+5 -1
View File
@@ -3,6 +3,7 @@
#include <QBrush>
#include <QColor>
#include <boost/signals2.hpp>
#include <pajlada/settings/setting.hpp>
namespace chatterino {
@@ -75,6 +76,9 @@ public:
boost::signals2::signal<void()> updated;
private:
pajlada::Settings::Setting<std::string> themeName;
pajlada::Settings::Setting<double> themeHue;
void setColors(double hue, double multiplier);
double middleLookupTable[360] = {};
@@ -83,7 +87,7 @@ private:
void fillLookupTableValues(double (&array)[360], double from, double to, double fromValue,
double toValue);
bool lightTheme;
bool lightTheme = false;
};
} // namespace chatterino