Added constructors with STheme*-structs, LoadTextures() will be LoadTheme later and set all needed values from theme-struct to object.
This commit is contained in:
1 parent
912cfac8c5
commit
e936fe4126
12 files changed
+132
No files matched your search
@@ -307,6 +307,24 @@ namespace VocaluxeLib.Menu
|
||||
Selected = false;
|
||||
}
|
||||
|
||||
public CPlaylist(SThemePlaylist theme, int partyModeID)
|
||||
{
|
||||
_PartyModeID = partyModeID;
|
||||
_Theme = new SThemePlaylist(theme);
|
||||
|
||||
CompleteRect = new SRectF();
|
||||
_PlaylistElements = new List<CPlaylistElement>();
|
||||
_PlaylistElementContents = new List<CPlaylistElementContent>();
|
||||
|
||||
_Interactions = new CObjectInteractions();
|
||||
_ChangeOrderElement = new CPlaylistElement();
|
||||
|
||||
Visible = false;
|
||||
Selected = false;
|
||||
|
||||
LoadTextures();
|
||||
}
|
||||
|
||||
public void Init()
|
||||
{
|
||||
_Interactions.Clear();
|
||||
|
||||
Reference in new issue
Block a user