mirror of https://github.com/ppy/osu
34 lines
998 B
C#
34 lines
998 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.Graphics;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Framework.Graphics.Shapes;
|
|
using osuTK.Graphics;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
|
{
|
|
public class DefaultFollowCircle : CompositeDrawable
|
|
{
|
|
public DefaultFollowCircle()
|
|
{
|
|
RelativeSizeAxes = Axes.Both;
|
|
|
|
InternalChild = new CircularContainer
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
Masking = true,
|
|
BorderThickness = 5,
|
|
BorderColour = Color4.Orange,
|
|
Blending = BlendingParameters.Additive,
|
|
Child = new Box
|
|
{
|
|
Colour = Color4.Orange,
|
|
RelativeSizeAxes = Axes.Both,
|
|
Alpha = 0.2f,
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|