feat: Add tab style option (Normal & Combat) (#5858)

This commit is contained in:
apa420
2025-03-11 15:16:33 +00:00
committed by GitHub
parent 108a437841
commit 59e93d41d3
5 changed files with 59 additions and 9 deletions
+9
View File
@@ -92,6 +92,11 @@ enum StreamerModeSetting {
DetectStreamingSoftware = 2,
};
enum class TabStyle : std::uint8_t {
Normal,
Compact,
};
/// Settings which are availlable for reading and writing on the gui thread.
// These settings are still accessed concurrently in the code but it is bad practice.
class Settings
@@ -182,6 +187,10 @@ public:
FloatSetting boldScale = {"/appearance/boldScale", 63};
BoolSetting showTabCloseButton = {"/appearance/showTabCloseButton", true};
BoolSetting showTabLive = {"/appearance/showTabLiveButton", true};
EnumStringSetting<TabStyle> tabStyle = {
"/appearance/tabStyle",
TabStyle::Normal,
};
BoolSetting hidePreferencesButton = {"/appearance/hidePreferencesButton",
false};
BoolSetting hideUserButton = {"/appearance/hideUserButton", false};