2016-11-08 10:28:06 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
2016-11-03 12:43:05 +08:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
|
|
|
|
using osu.Framework.Graphics.UserInterface;
|
|
|
|
|
|
2016-11-08 10:24:41 +08:00
|
|
|
|
namespace osu.Game.Overlays.Options.Online
|
2016-11-03 12:43:05 +08:00
|
|
|
|
{
|
|
|
|
|
public class InGameChatOptions : OptionsSubsection
|
|
|
|
|
{
|
2016-11-04 11:01:11 +08:00
|
|
|
|
protected override string Header => "In-game Chat";
|
|
|
|
|
|
2016-11-03 12:43:05 +08:00
|
|
|
|
public InGameChatOptions()
|
|
|
|
|
{
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
|
|
|
|
new BasicCheckBox { LabelText = "Filter offensive words" },
|
|
|
|
|
new BasicCheckBox { LabelText = "Filter foreign characters" },
|
|
|
|
|
new BasicCheckBox { LabelText = "Log private messages" },
|
|
|
|
|
new BasicCheckBox { LabelText = "Block private messages from non-friends" },
|
|
|
|
|
new SpriteText { Text = "Chat ignore list (space-seperated list)" },
|
|
|
|
|
new TextBox { Height = 20, RelativeSizeAxes = Axes.X },
|
|
|
|
|
new SpriteText { Text = "Chat highlight words (space-seperated list)" },
|
|
|
|
|
new TextBox { Height = 20, RelativeSizeAxes = Axes.X },
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|