mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 06:52:55 +08:00
27 lines
855 B
C#
27 lines
855 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Configuration;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Options.Sections.Graphics
|
|
{
|
|
public class SongSelectGraphicsOptions : OptionsSubsection
|
|
{
|
|
protected override string Header => "Song Select";
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(OsuConfigManager config)
|
|
{
|
|
Children = new[]
|
|
{
|
|
new OsuCheckbox
|
|
{
|
|
LabelText = "Show thumbnails",
|
|
Bindable = config.GetBindable<bool>(OsuConfig.SongSelectThumbnails)
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |