diff --git a/osu.Game/Graphics/Cursor/CursorContainer.cs b/osu.Game/Graphics/Cursor/CursorContainer.cs deleted file mode 100644 index df2a05ba3d..0000000000 --- a/osu.Game/Graphics/Cursor/CursorContainer.cs +++ /dev/null @@ -1,36 +0,0 @@ -//Copyright (c) 2007-2016 ppy Pty Ltd . -//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE - -using osu.Framework.Graphics; -using osu.Framework.Graphics.Containers; -using osu.Framework.Graphics.Drawables; -using osu.Framework.Input; -using OpenTK; - -namespace osu.Game.Graphics.Cursor -{ - class CursorContainer : LargeContainer - { - private Cursor cursor; - - public CursorContainer() - { - Add(cursor = new Cursor()); - } - - protected override bool OnMouseMove(InputState state) - { - cursor.Position = GetLocalPosition(state.Mouse.Position); - return base.OnMouseMove(state); - } - - class Cursor : Box - { - public Cursor() - { - Size = new Vector2(5, 5); - Origin = Anchor.Centre; - } - } - } -} diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index 084e4410e8..86559493eb 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using osu.Game.Configuration; using osu.Game.GameModes.Menu; -using osu.Game.Graphics.Cursor; using osu.Game.Graphics.Processing; using osu.Game.Online.API; using osu.Game.Online.API.Requests; using OpenTK; using osu.Framework.Graphics; +using osu.Framework.Graphics.Cursor; using osu.Framework.Graphics.Textures; using osu.Framework.IO.Stores; diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index 85ebb7781d..c5d2810f00 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -51,7 +51,6 @@ -