mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
IProvideLocalCursor -> IProvideCursor
This commit is contained in:
22
osu.Game/Graphics/Cursor/IProvideCursor.cs
Normal file
22
osu.Game/Graphics/Cursor/IProvideCursor.cs
Normal file
@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Cursor;
|
||||
|
||||
namespace osu.Game.Graphics.Cursor
|
||||
{
|
||||
public interface IProvideCursor : IDrawable
|
||||
{
|
||||
/// <summary>
|
||||
/// The cursor provided by this <see cref="Drawable"/>.
|
||||
/// </summary>
|
||||
CursorContainer Cursor { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the cursor provided by this <see cref="Drawable"/> should be displayed.
|
||||
/// If this is false, a cursor occurring earlier in the draw hierarchy will be displayed instead.
|
||||
/// </summary>
|
||||
bool ProvidesUserCursor { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user