osu/osu.Game/Graphics/Cursor/OsuContextMenuContainer.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
713 B
C#
Raw Normal View History

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2018-04-13 09:19:50 +00:00
2022-06-17 07:37:17 +00:00
#nullable disable
using osu.Framework.Allocation;
2017-06-12 09:56:07 +00:00
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
2018-04-13 09:19:50 +00:00
2017-06-12 09:56:07 +00:00
namespace osu.Game.Graphics.Cursor
{
2017-08-28 05:42:52 +00:00
public partial class OsuContextMenuContainer : ContextMenuContainer
2017-06-12 09:56:07 +00:00
{
[Cached]
private OsuContextMenuSamples samples = new OsuContextMenuSamples();
public OsuContextMenuContainer()
{
AddInternal(samples);
}
2021-08-06 11:59:26 +00:00
protected override Menu CreateMenu() => new OsuContextMenu(true);
2017-06-12 09:56:07 +00:00
}
2018-01-05 11:21:19 +00:00
}