mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:27:43 +08:00
28 lines
756 B
C#
28 lines
756 B
C#
// 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 osu.Framework.Allocation;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Skinning;
|
|
using osuTK;
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
|
|
{
|
|
public partial class LegacyBarLine : Sprite
|
|
{
|
|
[BackgroundDependencyLoader]
|
|
private void load(ISkinSource skin)
|
|
{
|
|
Texture = skin.GetTexture("taiko-barline");
|
|
|
|
Anchor = Anchor.Centre;
|
|
Origin = Anchor.Centre;
|
|
|
|
RelativeSizeAxes = Axes.Both;
|
|
Size = new Vector2(1, 0.88f);
|
|
FillMode = FillMode.Fill;
|
|
}
|
|
}
|
|
}
|