Implement a common Interface for all MenuElements
Also remove CSongMenu and replace it with a factory class
This commit is contained in:
1 parent
9479f3b3ff
commit
ae7a7fd390
52 files changed
+1043
-1855
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user