Remove unneeded constructors.

This commit is contained in:
Florian Küpper committed 2014-09-15 19:44:19 +02:00
1 parent 9ab0ea5f34
commit 4f8c482645
12 files changed
+48 -220

No files matched your search

+2 -12
View File
@@ -48,16 +48,6 @@ namespace VocaluxeLib.Menu
[XmlElement("Skin")]
public string TextureName;
public SThemeColor Color;
public SThemeBackground(SThemeBackground theme)
{
Name = theme.Name;
Type = theme.Type;
SlideShowTextures = theme.SlideShowTextures;
VideoName = theme.VideoName;
TextureName = theme.TextureName;
Color = new SThemeColor(theme.Color);
}
}
public class CBackground : IMenuElement
@@ -93,7 +83,7 @@ namespace VocaluxeLib.Menu
public CBackground(SThemeBackground theme, int partyModeID)
{
_Theme = new SThemeBackground(theme);
_Theme = theme;
_PartyModeID = partyModeID;
LoadTextures();
@@ -274,7 +264,7 @@ namespace VocaluxeLib.Menu
public SThemeBackground GetTheme()
{
return new SThemeBackground(_Theme);
return _Theme;
}
#endregion public