2023-06-23 01:37:25 +09:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2019-06-21 15:04:10 +02:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2025-01-14 16:29:56 +09:00
|
|
|
|
using osu.Framework.Input;
|
|
|
|
|
|
2019-06-21 15:04:10 +02:00
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
|
{
|
2022-11-24 14:32:20 +09:00
|
|
|
|
public partial class OsuNumberBox : OsuTextBox
|
2019-06-21 15:04:10 +02:00
|
|
|
|
{
|
2024-07-10 15:08:30 +03:00
|
|
|
|
public OsuNumberBox()
|
|
|
|
|
{
|
2025-01-14 16:29:56 +09:00
|
|
|
|
InputProperties = new TextInputProperties(TextInputType.Number, false);
|
|
|
|
|
|
2024-07-10 15:08:30 +03:00
|
|
|
|
SelectAllOnFocus = true;
|
|
|
|
|
}
|
2019-06-21 15:04:10 +02:00
|
|
|
|
}
|
|
|
|
|
}
|