Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Graphics/Sprites/SpriteIconWithTooltip.cs
4423 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;

namespace osu.Game.Graphics.Sprites
{
    /// <summary>
    /// A <see cref="SpriteIcon"/> with a publicly settable tooltip text.
    /// </summary>
    public partial class SpriteIconWithTooltip : SpriteIcon, IHasTooltip
    {
        public LocalisableString TooltipText { get; set; }
    }
}