mirror of
https://github.com/ppy/osu
synced 2025-02-25 23:21:26 +00:00
Add NewsOverlay class
This commit is contained in:
parent
d55f9404da
commit
e3d52d8d71
23
osu.Game/Overlays/NewsOverlay.cs
Normal file
23
osu.Game/Overlays/NewsOverlay.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Game.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays
|
||||
{
|
||||
public class NewsOverlay : FullscreenOverlay
|
||||
{
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = colours.PurpleLightAlternative
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user