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
+2 -1
View File
@@ -16,6 +16,7 @@ Settings::Settings()
, portable(false)
, wordTypeMask(messages::Word::Default)
, theme(this->settingsItems, "theme", "dark")
, themeHue(this->settingsItems, "themeHue", 0)
, selectedUser(this->settingsItems, "selectedUser", "")
, emoteScale(this->settingsItems, "emoteScale", 1.0)
, mouseScrollMultiplier(this->settingsItems, "mouseScrollMultiplier", 1.0)
@@ -45,7 +46,7 @@ Settings::Settings()
, enableGifAnimations(this->settingsItems, "enableGifAnimations", true)
, enableGifs(this->settingsItems, "enableGifs", true)
, inlineWhispers(this->settingsItems, "inlineWhispers", true)
, windowTopMost(this->settingsItems, "windowTopMost", true)
, windowTopMost(this->settingsItems, "windowTopMost", false)
, hideTabX(this->settingsItems, "hideTabX", false)
{
this->showTimestamps.valueChanged.connect(