diff --git a/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs b/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs index 990b8b3775..8545e50c69 100644 --- a/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs +++ b/osu.Desktop.VisualTests/Tests/TestCasePauseOverlay.cs @@ -2,8 +2,8 @@ // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Logging; -using osu.Game.Overlays.Pause; using osu.Framework.Screens.Testing; +using osu.Game.Screens.Play; namespace osu.Desktop.VisualTests.Tests { diff --git a/osu.Game/Overlays/Pause/PauseProgressBar.cs b/osu.Game/Screens/Play/Pause/PauseProgressBar.cs similarity index 96% rename from osu.Game/Overlays/Pause/PauseProgressBar.cs rename to osu.Game/Screens/Play/Pause/PauseProgressBar.cs index bd32147e35..8d124706b1 100644 --- a/osu.Game/Overlays/Pause/PauseProgressBar.cs +++ b/osu.Game/Screens/Play/Pause/PauseProgressBar.cs @@ -1,15 +1,15 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK.Graphics; using osu.Framework.Allocation; using osu.Framework.Graphics; -using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Containers; -using osu.Game.Beatmaps; using osu.Framework.Graphics.Primitives; +using osu.Framework.Graphics.Sprites; +using osu.Game.Beatmaps; +using OpenTK.Graphics; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play.Pause { public class PauseProgressBar : Container { diff --git a/osu.Game/Overlays/Pause/PauseProgressGraph.cs b/osu.Game/Screens/Play/Pause/PauseProgressGraph.cs similarity index 86% rename from osu.Game/Overlays/Pause/PauseProgressGraph.cs rename to osu.Game/Screens/Play/Pause/PauseProgressGraph.cs index faee80a863..89b9b42b86 100644 --- a/osu.Game/Overlays/Pause/PauseProgressGraph.cs +++ b/osu.Game/Screens/Play/Pause/PauseProgressGraph.cs @@ -3,7 +3,7 @@ using osu.Framework.Graphics.Containers; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play.Pause { public class PauseProgressGraph : Container { diff --git a/osu.Game/Overlays/Pause/QuitButton.cs b/osu.Game/Screens/Play/Pause/QuitButton.cs similarity index 90% rename from osu.Game/Overlays/Pause/QuitButton.cs rename to osu.Game/Screens/Play/Pause/QuitButton.cs index 18b7c4eda9..7b71b4b2fc 100644 --- a/osu.Game/Overlays/Pause/QuitButton.cs +++ b/osu.Game/Screens/Play/Pause/QuitButton.cs @@ -1,13 +1,12 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK.Graphics; using osu.Framework.Allocation; using osu.Framework.Audio; -using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; +using OpenTK.Graphics; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play.Pause { public class QuitButton : DialogButton { diff --git a/osu.Game/Overlays/Pause/ResumeButton.cs b/osu.Game/Screens/Play/Pause/ResumeButton.cs similarity index 91% rename from osu.Game/Overlays/Pause/ResumeButton.cs rename to osu.Game/Screens/Play/Pause/ResumeButton.cs index a5179cb58a..d4f7555d3c 100644 --- a/osu.Game/Overlays/Pause/ResumeButton.cs +++ b/osu.Game/Screens/Play/Pause/ResumeButton.cs @@ -6,7 +6,7 @@ using osu.Framework.Audio; using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play.Pause { public class ResumeButton : DialogButton { diff --git a/osu.Game/Overlays/Pause/RetryButton.cs b/osu.Game/Screens/Play/Pause/RetryButton.cs similarity index 91% rename from osu.Game/Overlays/Pause/RetryButton.cs rename to osu.Game/Screens/Play/Pause/RetryButton.cs index ceab835915..8f660525c3 100644 --- a/osu.Game/Overlays/Pause/RetryButton.cs +++ b/osu.Game/Screens/Play/Pause/RetryButton.cs @@ -6,7 +6,7 @@ using osu.Framework.Audio; using osu.Game.Graphics; using osu.Game.Graphics.UserInterface; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play.Pause { public class RetryButton : DialogButton { diff --git a/osu.Game/Overlays/Pause/PauseOverlay.cs b/osu.Game/Screens/Play/PauseOverlay.cs similarity index 96% rename from osu.Game/Overlays/Pause/PauseOverlay.cs rename to osu.Game/Screens/Play/PauseOverlay.cs index 5c85f3db9e..8004f967ad 100644 --- a/osu.Game/Overlays/Pause/PauseOverlay.cs +++ b/osu.Game/Screens/Play/PauseOverlay.cs @@ -2,19 +2,20 @@ // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; -using OpenTK; -using OpenTK.Input; -using OpenTK.Graphics; -using osu.Game.Graphics; -using osu.Framework.Input; using osu.Framework.Allocation; using osu.Framework.Graphics; -using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Containers; +using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Transforms; +using osu.Framework.Input; +using osu.Game.Graphics; using osu.Game.Graphics.Sprites; +using osu.Game.Screens.Play.Pause; +using OpenTK; +using OpenTK.Graphics; +using OpenTK.Input; -namespace osu.Game.Overlays.Pause +namespace osu.Game.Screens.Play { public class PauseOverlay : OverlayContainer { diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 0a094d2050..4dc6db7aac 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -16,7 +16,6 @@ using osu.Framework.Screens; using osu.Game.Modes.UI; using osu.Game.Screens.Ranking; using osu.Game.Configuration; -using osu.Game.Overlays.Pause; using osu.Framework.Configuration; using System; using System.Linq; diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index 1c5996b51e..802912216e 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -274,12 +274,12 @@ - - - - - - + + + + + + @@ -307,9 +307,7 @@ - - - +