1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 09:22:54 +08:00

Relocate enums

This commit is contained in:
Drew DeVault 2017-01-30 10:07:11 -05:00
parent fb431fd44e
commit b32cbdbec2

View File

@ -14,36 +14,6 @@ namespace osu.Game.Screens.Select
{ {
public class FilterControl : Container public class FilterControl : Container
{ {
public enum SortMode
{
Arist,
BPM,
Creator,
DateAdded,
Difficulty,
Length,
RankAchieved,
Title
}
public enum GroupMode
{
NoGrouping,
Arist,
BPM,
Creator,
DateAdded,
Difficulty,
Length,
RankAchieved,
Title,
Collections,
Favorites,
MyMaps,
RankedStatus,
RecentlyPlayed
}
public Action FilterChanged; public Action FilterChanged;
public string Search => searchTextBox.Text; public string Search => searchTextBox.Text;
@ -261,5 +231,35 @@ namespace osu.Game.Screens.Select
sortEllipsis.Colour = colours.GreenLight; sortEllipsis.Colour = colours.GreenLight;
} }
} }
public enum SortMode
{
Arist,
BPM,
Creator,
DateAdded,
Difficulty,
Length,
RankAchieved,
Title
}
public enum GroupMode
{
NoGrouping,
Arist,
BPM,
Creator,
DateAdded,
Difficulty,
Length,
RankAchieved,
Title,
Collections,
Favorites,
MyMaps,
RankedStatus,
RecentlyPlayed
}
} }
} }