2021-03-28 15:36:22 +00: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.
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
2021-04-07 12:38:43 +00:00
|
|
|
using osu.Framework.Bindables;
|
2021-03-28 15:36:22 +00:00
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2021-04-10 11:04:39 +00:00
|
|
|
using osu.Game.Rulesets.Edit.Checks.Components;
|
2021-03-28 15:36:22 +00:00
|
|
|
|
|
|
|
namespace osu.Game.Screens.Edit.Verify
|
|
|
|
{
|
2021-04-19 04:57:46 +00:00
|
|
|
public class VerifyScreen : RoundedContentEditorScreen
|
2021-03-28 15:36:22 +00:00
|
|
|
{
|
2021-04-10 11:04:39 +00:00
|
|
|
[Cached]
|
|
|
|
private Bindable<Issue> selectedIssue = new Bindable<Issue>();
|
|
|
|
|
2021-03-28 15:36:22 +00:00
|
|
|
public VerifyScreen()
|
|
|
|
: base(EditorScreenMode.Verify)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2021-04-07 12:38:43 +00:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load()
|
|
|
|
{
|
2021-05-11 23:22:32 +00:00
|
|
|
IssueList issueList;
|
|
|
|
|
2021-04-07 12:38:43 +00:00
|
|
|
Child = new Container
|
2021-03-28 15:36:22 +00:00
|
|
|
{
|
2021-04-07 12:38:43 +00:00
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
Child = new GridContainer
|
2021-03-28 15:36:22 +00:00
|
|
|
{
|
2021-04-07 12:38:43 +00:00
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
ColumnDimensions = new[]
|
|
|
|
{
|
|
|
|
new Dimension(),
|
|
|
|
new Dimension(GridSizeMode.Absolute, 200),
|
|
|
|
},
|
|
|
|
Content = new[]
|
|
|
|
{
|
|
|
|
new Drawable[]
|
|
|
|
{
|
2021-05-11 23:22:32 +00:00
|
|
|
issueList = new IssueList(),
|
|
|
|
new IssueSettings(issueList),
|
2021-04-07 12:38:43 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
2021-03-28 15:36:22 +00:00
|
|
|
}
|
|
|
|
}
|