mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Very basic implementation of the graph
This commit is contained in:
@ -1,26 +1,35 @@
|
||||
using System;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using System;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
|
||||
namespace osu.Desktop.VisualTests
|
||||
{
|
||||
public class TestCaseSongProgressBar : TestCase
|
||||
{
|
||||
public override string Name => @"SongProgressBar";
|
||||
|
||||
public override string Description => @"Tests the song progress bar";
|
||||
|
||||
public override void Reset()
|
||||
{
|
||||
base.Reset();
|
||||
|
||||
Add(new SongProgressBar
|
||||
namespace osu.Desktop.VisualTests
|
||||
{
|
||||
public class TestCaseSongProgressBar : TestCase
|
||||
{
|
||||
public override string Name => @"SongProgressBar";
|
||||
|
||||
public override string Description => @"Tests the song progress bar";
|
||||
|
||||
public override void Reset()
|
||||
{
|
||||
base.Reset();
|
||||
|
||||
Add(new Box
|
||||
{
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
RelativeSizeAxes = Axes.X
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
ColourInfo = ColourInfo.GradientVertical(Color4.WhiteSmoke, Color4.Gray),
|
||||
RelativeSizeAxes = Framework.Graphics.Axes.Both,
|
||||
});
|
||||
Add(new SongProgressBar
|
||||
{
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
RelativeSizeAxes = Axes.X
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user