mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add StatusIcon
This commit is contained in:
26
osu.Game/Users/Drawables/StatusIcon.cs
Normal file
26
osu.Game/Users/Drawables/StatusIcon.cs
Normal file
@ -0,0 +1,26 @@
|
||||
// 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;
|
||||
|
||||
namespace osu.Game.Users.Drawables
|
||||
{
|
||||
public partial class StatusIcon : CircularContainer
|
||||
{
|
||||
public StatusIcon()
|
||||
{
|
||||
Size = new Vector2(25);
|
||||
BorderThickness = 4;
|
||||
BorderColour = Colour;
|
||||
Masking = true;
|
||||
Child = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = Colour4.White.Opacity(0)
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user