From d2e066ca35f199d6e12f9da330b0f14ba83e6855 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 12 May 2017 19:57:06 +0900 Subject: [PATCH] Move SearchTextBox to better namespace Is being used in multiple places now. --- .../Select => Graphics/UserInterface}/SearchTextBox.cs | 6 ++---- osu.Game/Overlays/Options/OptionsHeader.cs | 1 + osu.Game/osu.Game.csproj | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) rename osu.Game/{Screens/Select => Graphics/UserInterface}/SearchTextBox.cs (91%) diff --git a/osu.Game/Screens/Select/SearchTextBox.cs b/osu.Game/Graphics/UserInterface/SearchTextBox.cs similarity index 91% rename from osu.Game/Screens/Select/SearchTextBox.cs rename to osu.Game/Graphics/UserInterface/SearchTextBox.cs index 4f2ab221cb..18148e9d31 100644 --- a/osu.Game/Screens/Select/SearchTextBox.cs +++ b/osu.Game/Graphics/UserInterface/SearchTextBox.cs @@ -1,14 +1,12 @@ // Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using OpenTK.Input; using osu.Framework.Graphics; using osu.Framework.Graphics.Primitives; using osu.Framework.Input; -using osu.Game.Graphics; -using osu.Game.Graphics.UserInterface; +using OpenTK.Input; -namespace osu.Game.Screens.Select +namespace osu.Game.Graphics.UserInterface { /// /// A textbox which holds focus eagerly. diff --git a/osu.Game/Overlays/Options/OptionsHeader.cs b/osu.Game/Overlays/Options/OptionsHeader.cs index 1add9dc409..c173b8844d 100644 --- a/osu.Game/Overlays/Options/OptionsHeader.cs +++ b/osu.Game/Overlays/Options/OptionsHeader.cs @@ -9,6 +9,7 @@ using osu.Framework.Graphics.Primitives; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Graphics.Sprites; +using osu.Game.Graphics.UserInterface; using osu.Game.Screens.Select; using OpenTK.Graphics; diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index 904cf7f437..a8f5c11a80 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -384,7 +384,7 @@ - +