45 lines
1.4 KiB
C#
45 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using Vocaluxe.Menu;
|
|
|
|
namespace Vocaluxe.PartyModes
|
|
{
|
|
public class PartyModeChallenge : CPartyMode
|
|
{
|
|
public PartyModeChallenge()
|
|
{
|
|
_ScreenSongOptions.Selection.RandomOnly = false;
|
|
_ScreenSongOptions.Selection.PartyMode = false;
|
|
_ScreenSongOptions.Selection.CategoryChangeAllowed = true;
|
|
_ScreenSongOptions.Selection.NumJokers = null;
|
|
|
|
_ScreenSongOptions.Sorting.SearchString = String.Empty;
|
|
_ScreenSongOptions.Sorting.SearchStringVisible = false;
|
|
}
|
|
|
|
public override CMenuParty GetNextPartyScreen()
|
|
{
|
|
CMenuParty Screen = null;
|
|
_Screens.TryGetValue("PartyScreenChallengeMain", out Screen);
|
|
return Screen;
|
|
}
|
|
|
|
public override ScreenSongOptions GetScreenSongOptions()
|
|
{
|
|
_ScreenSongOptions.Sorting.SongSorting = _Base.Config.GetSongSorting();
|
|
_ScreenSongOptions.Sorting.Tabs = _Base.Config.GetTabs();
|
|
_ScreenSongOptions.Sorting.IgnoreArticles = _Base.Config.GetIgnoreArticles();
|
|
|
|
return _ScreenSongOptions;
|
|
}
|
|
|
|
public override void SetSearchString(string SearchString, bool Visible)
|
|
{
|
|
_ScreenSongOptions.Sorting.SearchString = SearchString;
|
|
_ScreenSongOptions.Sorting.SearchStringVisible = Visible;
|
|
}
|
|
|
|
}
|
|
} |