add settings for some colors

This commit is contained in:
ouwou committed 2022-01-21 00:41:35 -05:00
1 parent b6b215ee6f
commit 0ce509f80e
3 files changed
+50 -14

No files matched your search

+6
View File
@@ -52,6 +52,9 @@ void SettingsManager::ReadSettings() {
SMSTR("style", "expandercolor", ChannelsExpanderColor);
SMSTR("style", "linkcolor", LinkColor);
SMSTR("style", "nsfwchannelcolor", NSFWChannelColor);
SMSTR("style", "channelcolor", ChannelColor);
SMSTR("style", "mentionbadgecolor", MentionBadgeColor);
SMSTR("style", "mentionbadgetextcolor", MentionBadgeTextColor);
#undef SMBOOL
#undef SMSTR
@@ -100,6 +103,9 @@ void SettingsManager::Close() {
SMSTR("style", "expandercolor", ChannelsExpanderColor);
SMSTR("style", "linkcolor", LinkColor);
SMSTR("style", "nsfwchannelcolor", NSFWChannelColor);
SMSTR("style", "channelcolor", ChannelColor);
SMSTR("style", "mentionbadgecolor", MentionBadgeColor);
SMSTR("style", "mentionbadgetextcolor", MentionBadgeTextColor);
#undef SMSTR
#undef SMBOOL