Add control sections and hook up bindable control groups

This commit is contained in:
Dean Herbert
2019-10-21 00:06:38 +09:00
parent 0fbba9a5e5
commit 80bf68c108
3 changed files with 131 additions and 6 deletions

View File

@ -1,6 +1,7 @@
// 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 System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
@ -16,7 +17,7 @@ namespace osu.Game.Screens.Edit.Timing
public class TimingScreen : EditorScreenWithTimeline
{
[Cached]
private readonly Bindable<ControlPoint> controlPoint = new Bindable<ControlPoint>();
private Bindable<IEnumerable<ControlPoint>> selectedPoints = new Bindable<IEnumerable<ControlPoint>>();
protected override Drawable CreateMainContent() => new GridContainer
{