From 79993a576f11f7ce10f84bfc44e84d8cdc2a6bec Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sun, 26 Feb 2017 18:06:59 +0900 Subject: [PATCH] Add basic GC options. --- .../Overlays/Options/Sections/DebugSection.cs | 23 +++++++++++++++++++ osu.Game/Overlays/OptionsOverlay.cs | 1 + osu.Game/osu.Game.csproj | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 osu.Game/Overlays/Options/Sections/DebugSection.cs diff --git a/osu.Game/Overlays/Options/Sections/DebugSection.cs b/osu.Game/Overlays/Options/Sections/DebugSection.cs new file mode 100644 index 0000000000..0839088f08 --- /dev/null +++ b/osu.Game/Overlays/Options/Sections/DebugSection.cs @@ -0,0 +1,23 @@ +// Copyright (c) 2007-2017 ppy Pty Ltd . +// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE + +using osu.Framework.Graphics; +using osu.Game.Graphics; +using osu.Game.Overlays.Options.Sections.Debug; + +namespace osu.Game.Overlays.Options.Sections +{ + public class DebugSection : OptionsSection + { + public override string Header => "Debug"; + public override FontAwesome Icon => FontAwesome.fa_bug; + + public DebugSection() + { + Children = new Drawable[] + { + new GCOptions(), + }; + } + } +} \ No newline at end of file diff --git a/osu.Game/Overlays/OptionsOverlay.cs b/osu.Game/Overlays/OptionsOverlay.cs index d471960154..6d47e628ea 100644 --- a/osu.Game/Overlays/OptionsOverlay.cs +++ b/osu.Game/Overlays/OptionsOverlay.cs @@ -55,6 +55,7 @@ private void load(OsuGame game, OsuColour colours) new EditorSection(), new OnlineSection(), new MaintenanceSection(), + new DebugSection(), }; Children = new Drawable[] { diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index a336f54227..8a8afd2fe0 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -118,6 +118,8 @@ + +