2021-05-12 07:32:18 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2021-05-12 07:32:18 +08:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
using osu.Game.Overlays.Settings;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Edit.Verify
|
|
|
|
{
|
2021-05-12 15:53:49 +08:00
|
|
|
internal partial class InterpretationSection : EditorRoundedScreenSettingsSection
|
2021-05-12 07:32:18 +08:00
|
|
|
{
|
2021-05-13 12:45:10 +08:00
|
|
|
protected override string HeaderText => "Interpretation";
|
2021-05-12 07:32:18 +08:00
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
2021-05-13 12:53:27 +08:00
|
|
|
private void load(VerifyScreen verify)
|
2021-05-12 07:32:18 +08:00
|
|
|
{
|
2021-05-13 12:51:41 +08:00
|
|
|
Flow.Add(new SettingsEnumDropdown<DifficultyRating>
|
2021-05-12 07:32:18 +08:00
|
|
|
{
|
|
|
|
Anchor = Anchor.CentreLeft,
|
|
|
|
Origin = Anchor.CentreLeft,
|
2021-05-13 12:51:41 +08:00
|
|
|
TooltipText = "Affects checks that depend on difficulty level",
|
|
|
|
Current = verify.InterpretedDifficulty.GetBoundCopy()
|
|
|
|
});
|
2021-05-12 07:32:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|