Add File -> Exit to editor menu

This commit is contained in:
smoogipoo 2017-10-07 00:51:30 +09:00
parent fc99860f4e
commit a154ee3a89
1 changed files with 13 additions and 1 deletions

View File

@ -12,6 +12,8 @@
using osu.Game.Screens.Edit.Components.Timelines.Summary;
using OpenTK;
using osu.Framework.Allocation;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Edit.Screens;
using osu.Game.Screens.Edit.Screens.Compose;
using osu.Game.Screens.Edit.Screens.Design;
@ -45,7 +47,17 @@ public Editor()
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
RelativeSizeAxes = Axes.Both
RelativeSizeAxes = Axes.Both,
Items = new[]
{
new MenuItem("File")
{
Items = new[]
{
new EditorMenuItem("Exit", MenuItemType.Standard, Exit)
}
}
}
}
},
new Container