mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 06:29:54 +08:00
Move dependent files to namespace
This commit is contained in:
+3
-3
@@ -9,15 +9,15 @@ using osu.Framework.Input.Events;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Overlays;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
||||
{
|
||||
internal partial class OsuFileSelectorBackgroundLayer : CompositeDrawable
|
||||
internal partial class BackgroundLayer : CompositeDrawable
|
||||
{
|
||||
private Box background = null!;
|
||||
|
||||
private readonly float defaultAlpha;
|
||||
|
||||
public OsuFileSelectorBackgroundLayer(float defaultAlpha = 0f)
|
||||
public BackgroundLayer(float defaultAlpha = 0f)
|
||||
{
|
||||
Depth = float.MaxValue;
|
||||
|
||||
+3
-3
@@ -8,11 +8,11 @@ using osu.Game.Overlays;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
||||
{
|
||||
internal partial class OsuDirectorySelectorHiddenToggle : OsuCheckbox
|
||||
internal partial class HiddenFilesToggleCheckbox : OsuCheckbox
|
||||
{
|
||||
public OsuDirectorySelectorHiddenToggle()
|
||||
public HiddenFilesToggleCheckbox()
|
||||
{
|
||||
RelativeSizeAxes = Axes.None;
|
||||
AutoSizeAxes = Axes.None;
|
||||
+2
-2
@@ -13,7 +13,7 @@ using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Overlays;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
||||
{
|
||||
internal partial class OsuDirectorySelectorBreadcrumbDisplay : DirectorySelectorBreadcrumbDisplay
|
||||
{
|
||||
@@ -80,7 +80,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
|
||||
AddRangeInternal(new Drawable[]
|
||||
{
|
||||
new OsuFileSelectorBackgroundLayer(0.5f)
|
||||
new BackgroundLayer(0.5f)
|
||||
{
|
||||
Depth = 1
|
||||
},
|
||||
+2
-2
@@ -8,7 +8,7 @@ using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
||||
{
|
||||
internal partial class OsuDirectorySelectorDirectory : DirectorySelectorDirectory
|
||||
{
|
||||
@@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
Flow.AutoSizeAxes = Axes.X;
|
||||
Flow.Height = OsuDirectorySelector.ITEM_HEIGHT;
|
||||
|
||||
AddInternal(new OsuFileSelectorBackgroundLayer());
|
||||
AddInternal(new BackgroundLayer());
|
||||
|
||||
Colour = colours.Orange1;
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@ using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Game.Overlays;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
namespace osu.Game.Graphics.UserInterfaceV2.FileSelection
|
||||
{
|
||||
internal partial class OsuDirectorySelectorParentDirectory : OsuDirectorySelectorDirectory
|
||||
{
|
||||
@@ -8,6 +8,7 @@ using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterfaceV2.FileSelection;
|
||||
using osu.Game.Overlays;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
@@ -57,7 +58,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
new OsuDirectorySelectorHiddenToggle
|
||||
new HiddenFilesToggleCheckbox
|
||||
{
|
||||
Current = { BindTarget = ShowHiddenItems },
|
||||
},
|
||||
|
||||
@@ -11,6 +11,7 @@ using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterfaceV2.FileSelection;
|
||||
using osu.Game.Overlays;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
@@ -58,7 +59,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
},
|
||||
new OsuDirectorySelectorHiddenToggle
|
||||
new HiddenFilesToggleCheckbox
|
||||
{
|
||||
Current = { BindTarget = ShowHiddenItems },
|
||||
},
|
||||
@@ -86,7 +87,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
||||
Flow.AutoSizeAxes = Axes.X;
|
||||
Flow.Height = OsuDirectorySelector.ITEM_HEIGHT;
|
||||
|
||||
AddInternal(new OsuFileSelectorBackgroundLayer());
|
||||
AddInternal(new BackgroundLayer());
|
||||
|
||||
Colour = colourProvider.Light3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user