Added constructors to STheme* for copying.

This commit is contained in:
Florian Küpper committed 2014-09-10 11:17:36 +02:00
1 parent cea276090d
commit 9cca49745a
13 files changed
+246 -25

No files matched your search

+8 -1
View File
@@ -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