Added constructors to STheme* for copying.
This commit is contained in:
1 parent
cea276090d
commit
9cca49745a
13 files changed
+246
-25
No files matched your search
@@ -39,6 +39,13 @@ namespace VocaluxeLib.Menu
|
||||
public string Value;
|
||||
[XmlElement("Type")]
|
||||
public ESettingType Type;
|
||||
|
||||
public SScreenSetting(SScreenSetting theme)
|
||||
{
|
||||
Name = theme.Name;
|
||||
Value = theme.Value;
|
||||
Type = theme.Type;
|
||||
}
|
||||
}
|
||||
|
||||
// ReSharper disable ClassNeverInstantiated.Global
|
||||
@@ -125,7 +132,7 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
public SScreenSetting GetTheme()
|
||||
{
|
||||
return _Theme;
|
||||
return new SScreenSetting(_Theme);
|
||||
}
|
||||
|
||||
#region Private
|
||||
|
||||
Reference in new issue
Block a user