Info text for CTRL+S if Medley is not possible
"No Medley for this song!" will be displayed at middle top screen border.
This commit is contained in:
1 parent
a103fc4cf5
commit
f408cafca8
1 file changed
+9
-1
@@ -963,7 +963,12 @@ namespace Vocaluxe.Screens
|
|||||||
_SongMenu.Update(_Sso);
|
_SongMenu.Update(_Sso);
|
||||||
_SongMenu.OnShow();
|
_SongMenu.OnShow();
|
||||||
|
|
||||||
_Texts[_TextShortInfoTop].Text = CBase.Language.Translate("TR_SCREENSONG_SORTING").Replace("%s", CBase.Language.Translate(_Sso.Sorting.SongSorting.ToString()));
|
_ShowInfoText(CBase.Language.Translate("TR_SCREENSONG_SORTING").Replace("%s", CBase.Language.Translate(_Sso.Sorting.SongSorting.ToString())));
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _ShowInfoText(String text)
|
||||||
|
{
|
||||||
|
_Texts[_TextShortInfoTop].Text = text;
|
||||||
_Statics[_StaticShortInfoTop].Visible = true;
|
_Statics[_StaticShortInfoTop].Visible = true;
|
||||||
_Texts[_TextShortInfoTop].Visible = true;
|
_Texts[_TextShortInfoTop].Visible = true;
|
||||||
_TimerShortInfoText.Stop();
|
_TimerShortInfoText.Stop();
|
||||||
@@ -1035,7 +1040,10 @@ namespace Vocaluxe.Screens
|
|||||||
if (CSongs.IsInCategory && (songNr >= 0))
|
if (CSongs.IsInCategory && (songNr >= 0))
|
||||||
{
|
{
|
||||||
if (!CSongs.VisibleSongs[songNr].IsGameModeAvailable(EGameMode.TR_GAMEMODE_MEDLEY))
|
if (!CSongs.VisibleSongs[songNr].IsGameModeAvailable(EGameMode.TR_GAMEMODE_MEDLEY))
|
||||||
|
{
|
||||||
|
_ShowInfoText(CBase.Language.Translate("TR_SCREENSONG_NOMEDLEY"));
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CGame.Reset();
|
CGame.Reset();
|
||||||
CGame.ClearSongs();
|
CGame.ClearSongs();
|
||||||
|
|||||||
Reference in new issue
Block a user