2021-07-06 06:20:58 +08:00
|
|
|
|
// 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 System.IO;
|
2024-08-27 21:59:42 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2021-07-06 06:20:58 +08:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2024-08-27 21:59:42 +08:00
|
|
|
|
using osu.Game.Overlays;
|
2021-07-06 06:20:58 +08:00
|
|
|
|
|
2024-09-27 12:57:05 +08:00
|
|
|
|
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
2021-07-06 06:20:58 +08:00
|
|
|
|
{
|
|
|
|
|
internal partial class OsuDirectorySelectorParentDirectory : OsuDirectorySelectorDirectory
|
|
|
|
|
{
|
|
|
|
|
protected override IconUsage? Icon => FontAwesome.Solid.Folder;
|
|
|
|
|
|
|
|
|
|
public OsuDirectorySelectorParentDirectory(DirectoryInfo directory)
|
|
|
|
|
: base(directory, "..")
|
|
|
|
|
{
|
|
|
|
|
}
|
2024-08-27 21:59:42 +08:00
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OverlayColourProvider colourProvider)
|
|
|
|
|
{
|
|
|
|
|
Colour = colourProvider.Content1;
|
|
|
|
|
}
|
2021-07-06 06:20:58 +08:00
|
|
|
|
}
|
|
|
|
|
}
|