1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 02:32:55 +08:00

Improve comments

This commit is contained in:
smoogipoo 2018-01-12 19:37:57 +09:00
parent 16d739580b
commit 34aee4fea0

View File

@ -6,16 +6,19 @@ using osu.Framework.Graphics.Cursor;
namespace osu.Game.Graphics.Cursor namespace osu.Game.Graphics.Cursor
{ {
/// <summary>
/// Interface for <see cref="IDrawable"/>s that display cursors which can replace the user's cursor.
/// </summary>
public interface IProvideCursor : IDrawable public interface IProvideCursor : IDrawable
{ {
/// <summary> /// <summary>
/// The cursor provided by this <see cref="Drawable"/>. /// The cursor provided by this <see cref="Drawable"/>.
/// May be null if no cursor should be visible.
/// </summary> /// </summary>
CursorContainer Cursor { get; } CursorContainer Cursor { get; }
/// <summary> /// <summary>
/// Whether the cursor provided by this <see cref="Drawable"/> should be displayed. /// Whether the cursor provided by this <see cref="Drawable"/> should be displayed as the user's cursor.
/// If this is false, a cursor occurring earlier in the draw hierarchy will be displayed instead.
/// </summary> /// </summary>
bool ProvidesUserCursor { get; } bool ProvidesUserCursor { get; }
} }