Remove unneeded constructors.
This commit is contained in:
1 parent
9ab0ea5f34
commit
4f8c482645
12 files changed
+48
-220
No files matched your search
@@ -35,14 +35,6 @@ namespace VocaluxeLib.Menu
|
||||
public SThemeColor Color;
|
||||
[XmlElement("SColor")]
|
||||
public SThemeColor SColor;
|
||||
|
||||
public SThemeLyrics(SThemeLyrics theme)
|
||||
{
|
||||
Name = theme.Name;
|
||||
Rect = new SRectF(theme.Rect);
|
||||
Color = new SThemeColor(theme.Color);
|
||||
SColor = new SThemeColor(theme.SColor);
|
||||
}
|
||||
}
|
||||
|
||||
public class CLyric : IMenuElement
|
||||
@@ -131,7 +123,7 @@ namespace VocaluxeLib.Menu
|
||||
public CLyric(SThemeLyrics theme, int partyModeID)
|
||||
{
|
||||
_PartyModeID = partyModeID;
|
||||
_Theme = new SThemeLyrics(theme);
|
||||
_Theme = theme;
|
||||
|
||||
_Line = new CSongLine();
|
||||
_Text = new CText(_PartyModeID);
|
||||
@@ -526,7 +518,7 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
public SThemeLyrics GetTheme()
|
||||
{
|
||||
return new SThemeLyrics(_Theme);
|
||||
return _Theme;
|
||||
}
|
||||
|
||||
#region ThemeEdit
|
||||
|
||||
Reference in new issue
Block a user