1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Split out more classes

This commit is contained in:
Dean Herbert 2019-10-20 23:42:13 +09:00
parent 7dc65ec964
commit 0fbba9a5e5
3 changed files with 27 additions and 15 deletions

View File

@ -16,6 +16,7 @@ namespace osu.Game.Tests.Visual.Editor
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(ControlPointTable),
typeof(ControlPointSettings),
typeof(RowAttribute)
};

View File

@ -0,0 +1,26 @@
// 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;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
namespace osu.Game.Screens.Edit.Timing
{
public class ControlPointSettings : CompositeDrawable
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
RelativeSizeAxes = Axes.Both;
InternalChild = new Box
{
Colour = colours.Gray3,
RelativeSizeAxes = Axes.Both,
};
}
}
}

View File

@ -64,20 +64,5 @@ namespace osu.Game.Screens.Edit.Timing
};
}
}
public class ControlPointSettings : CompositeDrawable
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
RelativeSizeAxes = Axes.Both;
InternalChild = new Box
{
Colour = colours.Gray3,
RelativeSizeAxes = Axes.Both,
};
}
}
}
}