Add a basic file selector with extension filtering support

This commit is contained in:
Dean Herbert
2020-09-24 18:18:34 +09:00
parent abec9224cf
commit 937d5870b3
6 changed files with 138 additions and 34 deletions

View File

@ -0,0 +1,18 @@
// 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.Settings
{
public class TestSceneFileSelector : OsuTestScene
{
[BackgroundDependencyLoader]
private void load()
{
Add(new FileSelector { RelativeSizeAxes = Axes.Both });
}
}
}