feat: Add tab style option (Normal & Combat) (#5858)
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user