Re-namespace and split out timeline parts from the SummaryTimeline

This commit is contained in:
smoogipoo
2017-09-26 15:44:40 +09:00
parent d86e81f07c
commit a1f88a17b1
7 changed files with 221 additions and 0 deletions

View File

@ -0,0 +1,24 @@
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
{
/// <summary>
/// Represents a singular point on a <see cref="Timeline"/>.
/// </summary>
internal class PointVisualisation : Box
{
protected PointVisualisation(double startTime)
{
Origin = Anchor.TopCentre;
RelativeSizeAxes = Axes.Y;
Width = 1;
EdgeSmoothness = new Vector2(1, 0);
RelativePositionAxes = Axes.X;
X = (float)startTime;
}
}
}