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:
Florian Küpper committed 2014-09-10 20:44:39 +02:00
1 parent 912cfac8c5
commit e936fe4126
12 files changed
+132

No files matched your search

+11
View File
@@ -121,6 +121,17 @@ namespace VocaluxeLib.Menu
ReflectionHeight = 0f;
}
public CEqualizer(SThemeEqualizer theme, int partyModeID)
{
_PartyModeID = partyModeID;
_Theme = new SThemeEqualizer(theme);
Visible = true;
ScreenHandles = false;
LoadTextures();
}
public bool LoadTheme(string xmlPath, string elementName, CXMLReader xmlReader, int skinIndex)
{
string item = xmlPath + "/" + elementName;