mirror of
https://github.com/osukey/osukey.git
synced 2025-05-26 07:57:32 +09:00
DirectSortCritera -> DirectSortCriteria
This commit is contained in:
parent
8006fab3c7
commit
3ed740676f
@ -13,12 +13,12 @@ using osu.Game.Overlays.SearchableList;
|
|||||||
|
|
||||||
namespace osu.Game.Overlays.Direct
|
namespace osu.Game.Overlays.Direct
|
||||||
{
|
{
|
||||||
public class FilterControl : SearchableListFilterControl<DirectSortCritera, RankStatus>
|
public class FilterControl : SearchableListFilterControl<DirectSortCriteria, RankStatus>
|
||||||
{
|
{
|
||||||
private FillFlowContainer<RulesetToggleButton> modeButtons;
|
private FillFlowContainer<RulesetToggleButton> modeButtons;
|
||||||
|
|
||||||
protected override Color4 BackgroundColour => OsuColour.FromHex(@"384552");
|
protected override Color4 BackgroundColour => OsuColour.FromHex(@"384552");
|
||||||
protected override DirectSortCritera DefaultTab => DirectSortCritera.Title;
|
protected override DirectSortCriteria DefaultTab => DirectSortCriteria.Title;
|
||||||
protected override Drawable CreateSupplementaryControls()
|
protected override Drawable CreateSupplementaryControls()
|
||||||
{
|
{
|
||||||
modeButtons = new FillFlowContainer<RulesetToggleButton>
|
modeButtons = new FillFlowContainer<RulesetToggleButton>
|
||||||
@ -94,7 +94,7 @@ namespace osu.Game.Overlays.Direct
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DirectSortCritera
|
public enum DirectSortCriteria
|
||||||
{
|
{
|
||||||
Title,
|
Title,
|
||||||
Artist,
|
Artist,
|
||||||
|
@ -16,7 +16,7 @@ using osu.Game.Overlays.Direct;
|
|||||||
using osu.Game.Overlays.SearchableList;
|
using osu.Game.Overlays.SearchableList;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
|
||||||
namespace osu.Game.Overlays
|
namespace osu.Game.Overlaysi
|
||||||
{
|
{
|
||||||
public class DirectOverlay : SearchableListOverlay<DirectTab, DirectSortCritera, RankStatus>
|
public class DirectOverlay : SearchableListOverlay<DirectTab, DirectSortCritera, RankStatus>
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ namespace osu.Game.Overlays
|
|||||||
private readonly OsuSpriteText resultCountsText;
|
private readonly OsuSpriteText resultCountsText;
|
||||||
private readonly FillFlowContainer<DirectPanel> panels;
|
private readonly FillFlowContainer<DirectPanel> panels;
|
||||||
|
|
||||||
protected override Color4 BackgroundColour => OsuColour.FromHex(@"485e74");
|
protected override Color4 BackgroundColour => OsuColour.FromHexi(@"485e74");
|
||||||
protected override Color4 TrianglesColourLight => OsuColour.FromHex(@"465b71");
|
protected override Color4 TrianglesColourLight => OsuColour.FromHex(@"465b71");
|
||||||
protected override Color4 TrianglesColourDark => OsuColour.FromHex(@"3f5265");
|
protected override Color4 TrianglesColourDark => OsuColour.FromHex(@"3f5265");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user