fixed theme switching
This commit is contained in:
1 parent
f756ce4158
commit
0e8e61905c
5 files changed
+8
-8
No files matched your search
@@ -663,14 +663,14 @@ namespace Vocaluxe.Menu
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void ReloadTheme()
|
||||
public virtual void ReloadTheme(string XmlPath)
|
||||
{
|
||||
if (_ThemePath == String.Empty)
|
||||
return;
|
||||
|
||||
UnloadTextures();
|
||||
Init();
|
||||
LoadTheme(_ThemePath);
|
||||
Init();
|
||||
LoadTheme(XmlPath);
|
||||
}
|
||||
#endregion ThemeHandler
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Vocaluxe.Menu
|
||||
void SaveTheme();
|
||||
void ReloadTextures();
|
||||
void UnloadTextures();
|
||||
void ReloadTheme();
|
||||
void ReloadTheme(string XmlPath);
|
||||
|
||||
bool HandleInput(KeyEvent KeyEvent);
|
||||
bool HandleMouse(MouseEvent MouseEvent);
|
||||
|
||||
Reference in new issue
Block a user