1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 09:47:22 +08:00

53 lines
1.7 KiB
C#
Raw Normal View History

// 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.
2018-04-13 18:19:50 +09:00
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.Sprites;
2018-11-20 16:51:59 +09:00
using osuTK.Graphics;
2018-04-13 18:19:50 +09:00
2018-11-06 18:28:22 +09:00
namespace osu.Game.Screens.Edit.Design
2018-04-13 18:19:50 +09:00
{
2018-11-07 13:04:17 +09:00
public class DesignScreen : EditorScreen
2018-04-13 18:19:50 +09:00
{
2018-11-07 13:04:17 +09:00
public DesignScreen()
2018-04-13 18:19:50 +09:00
{
Add(new Container
{
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
Alpha = 0.35f
},
new Container
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
Alpha = 0.5f
},
new Container
{
AutoSizeAxes = Axes.Both,
Padding = new MarginPadding(20),
Child = new OsuSpriteText { Text = "Design screen" }
}
}
}
}
});
}
}
}