mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 02:03:51 +08:00
32 lines
995 B
C#
32 lines
995 B
C#
// 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.
|
|
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Configuration;
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
|
{
|
|
public class UserInterfaceSettings : SettingsSubsection
|
|
{
|
|
protected override string Header => "User Interface";
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(OsuConfigManager config)
|
|
{
|
|
Children = new[]
|
|
{
|
|
new SettingsCheckbox
|
|
{
|
|
LabelText = "Rotate cursor when dragging",
|
|
Bindable = config.GetBindable<bool>(OsuSetting.CursorRotation)
|
|
},
|
|
new SettingsCheckbox
|
|
{
|
|
LabelText = "Parallax",
|
|
Bindable = config.GetBindable<bool>(OsuSetting.MenuParallax)
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|