aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r--Game/Code/Classes/UThemes.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/Game/Code/Classes/UThemes.pas b/Game/Code/Classes/UThemes.pas
index 414da72f..47c1abf1 100644
--- a/Game/Code/Classes/UThemes.pas
+++ b/Game/Code/Classes/UThemes.pas
@@ -131,6 +131,9 @@ type
DInt: real;
Tex: string;
Typ: string;
+
+ Visible: Boolean;
+
//Reflection Mod
Reflection: boolean;
Reflectionspacing: Real;
@@ -1530,6 +1533,8 @@ begin
ThemeButton.DColB := Color[C].RGB.B;
end;
+ ThemeButton.Visible := (ThemeIni.ReadInteger(Name, 'Visible', 1) = 1);
+
//Fade Mod
ThemeButton.SelectH := ThemeIni.ReadInteger (Name, 'SelectH', ThemeButton.H);
ThemeButton.SelectW := ThemeIni.ReadInteger (Name, 'SelectW', ThemeButton.W);