mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 03:22:57 +08:00
27 lines
853 B
C#
27 lines
853 B
C#
//Copyright (c) 2007-2016 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)
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |