mirror of
https://github.com/ppy/osu
synced 2025-02-10 07:07:53 +00:00
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using osu.Framework;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Configuration;
|
|
|
|
namespace osu.Game.Overlays.Options.General
|
|
{
|
|
public class LanguageOptions : OptionsSubsection
|
|
{
|
|
protected override string Header => "Language";
|
|
|
|
[Initializer]
|
|
private void Load(OsuConfigManager config)
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new SpriteText { Text = "TODO: Dropdown" },
|
|
new CheckBoxOption
|
|
{
|
|
LabelText = "Prefer metadata in original language",
|
|
Bindable = config.GetBindable<bool>(OsuConfig.ShowUnicode)
|
|
},
|
|
new CheckBoxOption
|
|
{
|
|
LabelText = "Use alternative font for chat display",
|
|
Bindable = config.GetBindable<bool>(OsuConfig.AlternativeChatFont)
|
|
},
|
|
};
|
|
}
|
|
}
|
|
}
|