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
@@ -35,6 +35,14 @@ 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
|
||||
@@ -499,7 +507,7 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
public SThemeLyrics GetTheme()
|
||||
{
|
||||
return _Theme;
|
||||
return new SThemeLyrics(_Theme);
|
||||
}
|
||||
|
||||
#region ThemeEdit
|
||||
|
||||
Reference in new issue
Block a user