1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 04:27:34 +08:00
osu-lazer/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
705 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 17:19:50 +08:00
2022-06-17 15:37:17 +08:00
#nullable disable
using osu.Framework.Allocation;
2017-06-12 17:56:07 +08:00
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
2018-04-13 17:19:50 +08:00
2017-06-12 17:56:07 +08:00
namespace osu.Game.Graphics.Cursor
{
2017-08-28 13:42:52 +08:00
public class OsuContextMenuContainer : ContextMenuContainer
2017-06-12 17:56:07 +08:00
{
[Cached]
private OsuContextMenuSamples samples = new OsuContextMenuSamples();
public OsuContextMenuContainer()
{
AddInternal(samples);
}
2021-08-06 19:59:26 +08:00
protected override Menu CreateMenu() => new OsuContextMenu(true);
2017-06-12 17:56:07 +08:00
}
2018-01-05 19:21:19 +08:00
}