mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-27 19:51:32 +01:00
Any type starting with playlist is now a reserved word, and uses the current playlist name. This will allow multiple playlist graphics to be used, like playlist1, playlist2, etc.
This commit is contained in:
parent
21bf07f502
commit
28a77d8c2f
@ -284,7 +284,7 @@ void ReloadableMedia::reloadTexture()
|
|||||||
basename = selectedItem->score;
|
basename = selectedItem->score;
|
||||||
defined = true;
|
defined = true;
|
||||||
}
|
}
|
||||||
else if(typeLC == "playlist")
|
else if(typeLC.rfind( "playlist", 0 ) == 0)
|
||||||
{
|
{
|
||||||
basename = page.getPlaylistName();
|
basename = page.getPlaylistName();
|
||||||
defined = true;
|
defined = true;
|
||||||
|
|||||||
@ -289,7 +289,7 @@ void ReloadableScrollingText::reloadTexture( )
|
|||||||
else // item is a collection
|
else // item is a collection
|
||||||
(void)config_.getProperty("collections." + selectedItem->name + ".genre", text );
|
(void)config_.getProperty("collections." + selectedItem->name + ".genre", text );
|
||||||
}
|
}
|
||||||
else if (type_ == "playlist")
|
else if (type_.rfind( "playlist", 0 ) == 0)
|
||||||
{
|
{
|
||||||
text = playlistName;
|
text = playlistName;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -175,7 +175,7 @@ void ReloadableText::ReloadTexture()
|
|||||||
{
|
{
|
||||||
text = selectedItem->genre;
|
text = selectedItem->genre;
|
||||||
}
|
}
|
||||||
else if (type_ == "playlist")
|
else if (type_.rfind( "playlist", 0 ) == 0)
|
||||||
{
|
{
|
||||||
text = playlistName;
|
text = playlistName;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
std::string retrofe_version_major = "0";
|
std::string retrofe_version_major = "0";
|
||||||
std::string retrofe_version_minor = "9";
|
std::string retrofe_version_minor = "9";
|
||||||
std::string retrofe_version_build = "1";
|
std::string retrofe_version_build = "2";
|
||||||
|
|
||||||
|
|
||||||
std::string Version::getString( )
|
std::string Version::getString( )
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user