Rename LoadTextures to LoadSkin
(Its also Colors, not only textures!)
This commit is contained in:
1 parent
9a699f4cb5
commit
d8cce13211
25 files changed
+176
-181
No files matched your search
@@ -161,19 +161,19 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
return _SongMenu.LoadTheme(xmlPath, elementName, xmlReader);
|
||||
}
|
||||
|
||||
public void UnloadTextures()
|
||||
public void UnloadSkin()
|
||||
{
|
||||
_SongMenu.UnloadTextures();
|
||||
_SongMenu.UnloadSkin();
|
||||
}
|
||||
|
||||
public void LoadTextures()
|
||||
public void LoadSkin()
|
||||
{
|
||||
_SongMenu.LoadTextures();
|
||||
_SongMenu.LoadSkin();
|
||||
}
|
||||
|
||||
public void ReloadTextures()
|
||||
public void ReloadSkin()
|
||||
{
|
||||
_SongMenu.ReloadTextures();
|
||||
_SongMenu.ReloadSkin();
|
||||
}
|
||||
|
||||
public void MoveElement(int stepX, int stepY)
|
||||
|
||||
@@ -168,7 +168,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
_PartyModeID = partyModeID;
|
||||
_Theme = theme;
|
||||
|
||||
LoadTextures();
|
||||
LoadSkin();
|
||||
}
|
||||
|
||||
#region Theme
|
||||
@@ -231,7 +231,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
{
|
||||
_Theme.Name = elementName;
|
||||
|
||||
LoadTextures();
|
||||
LoadSkin();
|
||||
Init();
|
||||
}
|
||||
|
||||
@@ -321,19 +321,19 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
_PreviewNr = _SelectionNr;
|
||||
}
|
||||
|
||||
public virtual void UnloadTextures() {}
|
||||
public virtual void UnloadSkin() {}
|
||||
|
||||
public virtual void LoadTextures()
|
||||
public virtual void LoadSkin()
|
||||
{
|
||||
Init();
|
||||
|
||||
_Theme.Color.Get(_PartyModeID, out _ColorInternal);
|
||||
}
|
||||
|
||||
public void ReloadTextures()
|
||||
public void ReloadSkin()
|
||||
{
|
||||
UnloadTextures();
|
||||
LoadTextures();
|
||||
UnloadSkin();
|
||||
LoadSkin();
|
||||
}
|
||||
|
||||
public bool EnterSelectedCategory()
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
_Theme.SongMenuTileBoard.StaticTextBG = _TextBG.GetTheme();
|
||||
_Theme.SongMenuTileBoard.StaticVideoIcon = _VideoIcon.GetTheme();
|
||||
|
||||
LoadTextures();
|
||||
LoadSkin();
|
||||
Init();
|
||||
}
|
||||
|
||||
@@ -610,9 +610,9 @@ namespace VocaluxeLib.Menu.SongMenu
|
||||
_Offset = offset;
|
||||
}
|
||||
|
||||
public override void LoadTextures()
|
||||
public override void LoadSkin()
|
||||
{
|
||||
base.LoadTextures();
|
||||
base.LoadSkin();
|
||||
|
||||
_Artist = new CText(_Theme.SongMenuTileBoard.TextArtist, _PartyModeID);
|
||||
_Title = new CText(_Theme.SongMenuTileBoard.TextTitle, _PartyModeID);
|
||||
|
||||
Reference in new issue
Block a user