custom theme multiplier support (#825)

This commit is contained in:
hemirt
2018-10-25 21:52:12 +02:00
committed by fourtf
parent c176d836af
commit c13a88e3b6
3 changed files with 36 additions and 3 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ public:
BoolSetting showTitle = {"/appearance/splitheader/showTitle", false};
BoolSetting showGame = {"/appearance/splitheader/showGame", false};
BoolSetting showUptime = {"/appearance/splitheader/showUptime", false};
FloatSetting customThemeMultiplier = {"/appearance/customThemeMultiplier",
-0.5f};
// BoolSetting useCustomWindowFrame = {"/appearance/useCustomWindowFrame",
// false};
+3
View File
@@ -28,6 +28,9 @@ namespace detail {
{
return -0.8;
}
else if (themeName == "Custom") {
return getSettings()->customThemeMultiplier.getValue();
}
return -0.8;
}