1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 22:27:25 +08:00
osu-lazer/osu.Game/Overlays/Toolbar.cs

40 lines
1009 B
C#
Raw Normal View History

2016-09-30 17:45:27 +08:00
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Drawables;
using OpenTK;
using OpenTK.Graphics;
namespace osu.Game.Overlays
{
public class Toolbar : Container
{
const float height = 50;
public override void Load()
{
base.Load();
Depth = float.MaxValue;
SizeMode = InheritMode.X;
Size = new Vector2(1, height);
Children = new Drawable[]
{
new Box
{
SizeMode = InheritMode.XY,
Colour = new Color4(0.1f, 0.1f, 0.1f, 0.9f)
}
};
}
}
}