Historic messages behaviour

"Crossed and Greyed" -> default (and is current default)
"Crossed" -> just crossed
"Greyed" -> just greyed
"No change" -> no change in appearance
This commit is contained in:
hemirt
2019-01-27 22:15:59 +01:00
parent 498fb3717e
commit 441f6189a1
6 changed files with 39 additions and 8 deletions
+3 -1
View File
@@ -263,7 +263,9 @@ void GeneralPage::initLayout(SettingsLayout &layout)
layout.addTitle2("Misc");
layout.addCheckbox("Show twitch whispers inline", s.inlineWhispers);
layout.addCheckbox("Grey out historic messages", s.greyOutHistoricMessages);
layout.addDropdown("Historic messages appearance",
{"Crossed and Greyed", "Crossed", "Greyed", "No change"},
s.historicMessagesAppearance);
/*
layout.addTitle2("Cache");
+5 -3
View File
@@ -182,9 +182,11 @@ void LookPage::addMessageTab(LayoutCreator<QVBoxLayout> layout)
layout.append(
this->createCheckBox("Compact emotes", getSettings()->compactEmotes));
layout.append(this->createCheckBox("Grey out historic messages",
getSettings()->greyOutHistoricMessages));
/// greyOutHistoricMessages setting changed by hemirt from checkbox to
/// historicMessagesBehaviour dropdown QString option
// layout.append(this->createCheckBox("Grey out historic messages",
// getSettings()->greyOutHistoricMessages));
///
// --
layout.emplace<Line>(false);