2018-03-19 18:46:26 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2018-03-20 19:09:55 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2018-03-19 18:46:26 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Framework.Graphics;
|
2018-03-19 19:21:03 +08:00
|
|
|
|
using osu.Game.Screens.Edit.Screens.Compose;
|
2018-03-19 19:14:46 +08:00
|
|
|
|
using OpenTK;
|
2018-03-19 18:46:26 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
|
|
|
{
|
2018-03-20 19:10:27 +08:00
|
|
|
|
public class TestCaseBeatDivisorControl : OsuTestCase
|
2018-03-19 18:46:26 +08:00
|
|
|
|
{
|
2018-03-20 19:09:55 +08:00
|
|
|
|
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(BindableBeatDivisor) };
|
|
|
|
|
|
2018-03-19 18:46:26 +08:00
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
|
|
|
|
{
|
2018-03-20 19:10:27 +08:00
|
|
|
|
Child = new BeatDivisorControl(new BindableBeatDivisor())
|
2018-03-19 18:46:26 +08:00
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre,
|
2018-03-19 18:49:46 +08:00
|
|
|
|
Origin = Anchor.Centre,
|
2018-03-22 15:11:56 +08:00
|
|
|
|
Size = new Vector2(90, 90)
|
2018-03-19 18:46:26 +08:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|