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

+7 -7
View File
@@ -114,7 +114,7 @@ namespace VocaluxeLib.Menu
_PartyModeID = partyModeID;
_Theme = theme;
LoadTextures();
LoadSkin();
}
public bool LoadTheme(string xmlPath, string elementName, CXMLReader xmlReader)
@@ -158,7 +158,7 @@ namespace VocaluxeLib.Menu
if (_ThemeLoaded)
{
_Theme.Name = elementName;
LoadTextures();
LoadSkin();
}
return _ThemeLoaded;
}
@@ -191,9 +191,9 @@ namespace VocaluxeLib.Menu
CBase.Drawing.DrawRect(new SColorF(1f, 1f, 1f, 0.5f), rect);
}
public void UnloadTextures() {}
public void UnloadSkin() {}
public void LoadTextures()
public void LoadSkin()
{
_Theme.Color.Get(_PartyModeID, out Color);
@@ -206,10 +206,10 @@ namespace VocaluxeLib.Menu
}
}
public void ReloadTextures()
public void ReloadSkin()
{
UnloadTextures();
LoadTextures();
UnloadSkin();
LoadSkin();
}
public SThemeStatic GetTheme()