Add new display for difficulty row attribute

This commit is contained in:
Dean Herbert
2021-04-19 15:57:27 +09:00
parent d3cebfb6fb
commit 3aad0a8b9c
4 changed files with 95 additions and 4 deletions

View File

@ -15,14 +15,16 @@ namespace osu.Game.Screens.Edit.Timing
{
public class RowAttribute : CompositeDrawable
{
private readonly ControlPoint point;
protected readonly ControlPoint Point;
private readonly string label;
protected FillFlowContainer Content { get; private set; }
public RowAttribute(ControlPoint point, string label)
{
this.point = point;
Point = point;
this.label = label;
}
@ -65,7 +67,7 @@ namespace osu.Game.Screens.Edit.Timing
{
new Box
{
Colour = point.GetRepresentingColour(colours),
Colour = Point.GetRepresentingColour(colours),
RelativeSizeAxes = Axes.Both,
},
new OsuSpriteText