Added Classes for categorizing, filtering and sorting
This commit is contained in:
1 parent
d2f8af880e
commit
c377ec0eef
17 files changed
+566
-411
No files matched your search
@@ -248,7 +248,7 @@ namespace Vocaluxe.Menu
|
||||
void ResetPartySongSung();
|
||||
void ResetPartySongSung(int CatIndex);
|
||||
|
||||
void SortSongs(ESongSorting Sorting, EOffOn Tabs, EOffOn IgnoreArticles, String SearchString, bool ShowDuetSongs);
|
||||
void SortSongs(ESongSorting Sorting, EOffOn Tabs, EOffOn IgnoreArticles, String SearchString, EDuetOptions DuetOptions);
|
||||
|
||||
void NextCategory();
|
||||
void PrevCategory();
|
||||
@@ -667,6 +667,13 @@ namespace Vocaluxe.Menu
|
||||
//TR_CONFIG_BOOK //for playlists
|
||||
}
|
||||
|
||||
public enum EDuetOptions
|
||||
{
|
||||
All,
|
||||
Duets,
|
||||
NoDuets
|
||||
}
|
||||
|
||||
public enum ESongSorting
|
||||
{
|
||||
TR_CONFIG_NONE,
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Vocaluxe.PartyModes
|
||||
|
||||
_ScreenSongOptions.Sorting.SearchString = String.Empty;
|
||||
_ScreenSongOptions.Sorting.SearchActive = false;
|
||||
_ScreenSongOptions.Sorting.ShowDuetSongs = true;
|
||||
_ScreenSongOptions.Sorting.DuetOptions = EDuetOptions.All;
|
||||
}
|
||||
|
||||
public override ScreenSongOptions GetScreenSongOptions()
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Vocaluxe.PartyModes
|
||||
public EOffOn IgnoreArticles;
|
||||
public string SearchString;
|
||||
public bool SearchActive;
|
||||
public bool ShowDuetSongs;
|
||||
public EDuetOptions DuetOptions;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user