2019-01-24 08:43:03 +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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Game.Rulesets.Osu;
|
2019-03-24 16:02:36 +00:00
|
|
|
using osu.Game.Screens.Edit.Components.Timelines.Summary;
|
|
|
|
using osuTK;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
2020-04-23 08:07:55 +00:00
|
|
|
namespace osu.Game.Tests.Visual.Editing
|
2018-04-13 09:19:50 +00:00
|
|
|
{
|
|
|
|
[TestFixture]
|
2019-05-14 19:37:25 +00:00
|
|
|
public class TestSceneEditorSummaryTimeline : EditorClockTestScene
|
2018-04-13 09:19:50 +00:00
|
|
|
{
|
|
|
|
[BackgroundDependencyLoader]
|
2018-05-23 08:37:39 +00:00
|
|
|
private void load()
|
2018-04-13 09:19:50 +00:00
|
|
|
{
|
2019-05-31 05:40:53 +00:00
|
|
|
Beatmap.Value = CreateWorkingBeatmap(new OsuRuleset().RulesetInfo);
|
2018-04-13 09:19:50 +00:00
|
|
|
|
2018-05-23 08:37:39 +00:00
|
|
|
Add(new SummaryTimeline
|
2018-04-13 09:19:50 +00:00
|
|
|
{
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
Size = new Vector2(500, 50)
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|