mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
21 lines
670 B
C#
21 lines
670 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.Input;
|
|
|
|
namespace osu.Framework.Graphics.UserInterface
|
|
{
|
|
public partial class BasicPasswordTextBox : BasicTextBox, ISuppressKeyEventLogging
|
|
{
|
|
protected virtual char MaskCharacter => '*';
|
|
|
|
protected override bool AllowClipboardExport => false;
|
|
|
|
protected override bool AllowWordNavigation => false;
|
|
|
|
protected override bool AllowIme => false;
|
|
|
|
protected override Drawable AddCharacterToFlow(char c) => base.AddCharacterToFlow(MaskCharacter);
|
|
}
|
|
}
|