Basic direct panel, minor cleanups

This commit is contained in:
DrabWeb
2017-05-17 16:37:34 -03:00
parent 9ba356f2c6
commit 5fb445e3fe
5 changed files with 264 additions and 8 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
@ -66,6 +67,13 @@ namespace osu.Game.Overlays
},
},
},
new DirectPanel
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Style = DirectPanelStyle.Grid,
Width = 300,
}
};
filter.Search.Exit = Hide;