Rename LoadTextures to LoadSkin

(Its also Colors, not only textures!)
This commit is contained in:
Flamefire committed 2014-10-18 10:42:35 +02:00
1 parent 9a699f4cb5
commit d8cce13211
25 files changed
+176 -181

No files matched your search

+4 -9
View File
@@ -25,17 +25,16 @@ namespace VocaluxeLib.PartyModes
{
private readonly string _Folder;
public int ID { get; private set; }
protected SScreenSongOptions _ScreenSongOptions = new SScreenSongOptions { Selection = new SSelectionOptions(), Sorting = new SSortingOptions() };
protected SScreenSongOptions _ScreenSongOptions = new SScreenSongOptions {Selection = new SSelectionOptions(), Sorting = new SSortingOptions()};
protected readonly Dictionary<string, CMenuParty> _Screens = new Dictionary<string, CMenuParty>();
protected CPartyMode(int id,string folder)
protected CPartyMode(int id, string folder)
{
ID = id;
_Folder = folder;
}
#region Implementation
public virtual bool Init()
{
return false;
@@ -51,21 +50,17 @@ namespace VocaluxeLib.PartyModes
}
}
public void ReloadTextures()
public void ReloadSkin()
{
foreach (CMenuParty menu in _Screens.Values)
{
menu.ReloadTextures();
}
menu.ReloadSkin();
}
public void ReloadTheme()
{
string xmlPath = CBase.Themes.GetThemeScreensPath(ID);
foreach (CMenuParty menu in _Screens.Values)
{
menu.ReloadTheme(xmlPath);
}
}
public void AddScreen(CMenuParty screen, string screenName)
+2 -2
View File
@@ -43,11 +43,11 @@ namespace VocaluxeLib.PartyModes
public override void ReloadTheme(string xmlPath) {}
public override void ReloadTextures() {}
public override void ReloadSkin() {}
public override void SaveTheme() {}
public override void UnloadTextures() {}
public override void UnloadSkin() {}
public override bool HandleInput(SKeyEvent keyEvent)
{
+2 -2
View File
@@ -85,8 +85,8 @@ namespace VocaluxeLib.PartyModes
int ID { get; }
bool Init();
void LoadTheme();
void ReloadTextures();
void LoadTheme();
void ReloadSkin();
void ReloadTheme();
void AddScreen(CMenuParty screen, string screenName);