Implement a common Interface for all MenuElements

Also remove CSongMenu and replace it with a factory class
This commit is contained in:
Flamefire committed 2014-10-19 17:17:39 +02:00
1 parent 9479f3b3ff
commit ae7a7fd390
52 files changed
+1043 -1855

No files matched your search

+6 -1
View File
@@ -44,7 +44,7 @@ namespace VocaluxeLib.Menu
public SThemeColor Color;
}
public class CBackground : IMenuElement
public class CBackground : CMenuElementBase, IMenuElement, IThemeable
{
private readonly int _PartyModeID;
private SThemeBackground _Theme;
@@ -56,6 +56,11 @@ namespace VocaluxeLib.Menu
private CVideoStream _VideoStream;
public bool Selectable
{
get { return false; }
}
public SColorF Color;
public bool ThemeLoaded
{