Whoops wrong project.

This commit is contained in:
smoogipooo
2017-05-10 17:34:43 +09:00
parent 11c47454ad
commit 2867606913
4 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,27 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Mania.Timing
{
public class DrawableTimingSection : Container
{
private readonly TimingSection section;
public DrawableTimingSection(TimingSection section)
{
this.section = section;
RelativePositionAxes = Axes.Y;
Y = -(float)section.StartTime;
RelativeSizeAxes = Axes.Both;
Height = (float)section.Duration;
RelativeCoordinateSpace = new Vector2(1, Height);
}
}
}

View File

@ -0,0 +1,15 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps.Timing;
namespace osu.Game.Rulesets.Mania.Timing
{
public class TimingSection
{
public double StartTime;
public double Duration;
public double BeatLength;
public TimeSignatures TimeSignature;
}
}