2019-10-08 13:23:13 +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.
|
|
|
|
|
|
2019-10-09 15:06:16 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Framework.Bindables;
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2019-10-11 17:46:05 +08:00
|
|
|
|
using osu.Game.Beatmaps.ControlPoints;
|
2019-10-09 15:06:16 +08:00
|
|
|
|
|
2019-10-08 13:23:13 +08:00
|
|
|
|
namespace osu.Game.Screens.Edit.Timing
|
|
|
|
|
{
|
2022-05-24 15:15:24 +08:00
|
|
|
|
public partial class TimingScreen : EditorScreenWithTimeline
|
2019-10-08 13:23:13 +08:00
|
|
|
|
{
|
2019-10-11 17:46:05 +08:00
|
|
|
|
[Cached]
|
2022-05-31 14:00:30 +08:00
|
|
|
|
public readonly Bindable<ControlPointGroup> SelectedGroup = new Bindable<ControlPointGroup>();
|
2019-10-11 17:46:05 +08:00
|
|
|
|
|
2020-09-24 16:03:54 +08:00
|
|
|
|
public TimingScreen()
|
|
|
|
|
: base(EditorScreenMode.Timing)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-24 15:15:24 +08:00
|
|
|
|
protected override Drawable CreateMainContent() => new GridContainer
|
2019-10-09 15:06:16 +08:00
|
|
|
|
{
|
2022-05-24 15:15:24 +08:00
|
|
|
|
RelativeSizeAxes = Axes.Both,
|
|
|
|
|
ColumnDimensions = new[]
|
2019-10-09 15:06:16 +08:00
|
|
|
|
{
|
2022-05-24 15:15:24 +08:00
|
|
|
|
new Dimension(),
|
|
|
|
|
new Dimension(GridSizeMode.Absolute, 350),
|
|
|
|
|
},
|
|
|
|
|
Content = new[]
|
|
|
|
|
{
|
|
|
|
|
new Drawable[]
|
2019-10-09 15:06:16 +08:00
|
|
|
|
{
|
2022-05-24 15:15:24 +08:00
|
|
|
|
new ControlPointList(),
|
|
|
|
|
new ControlPointSettings(),
|
2019-10-09 15:06:16 +08:00
|
|
|
|
},
|
2022-05-24 15:15:24 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
2019-10-08 13:23:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|