moved menu and party mode files to the new lib

This commit is contained in:
Alexander Eckart committed 2012-12-14 21:47:28 +01:00
1 parent 69420d6977
commit d6c97568c9
35 files changed
+74 -70

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Vocaluxe.PartyModes
{
public class CPartyModeNone : CPartyMode
{
//just a dummy for normal game mode
public CPartyModeNone()
{
_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 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;
}
}
}