2023-02-15 22:18:02 +00:00
|
|
|
// 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.Graphics;
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2023-04-05 19:34:36 +00:00
|
|
|
using osu.Game.Screens.Play.HUD;
|
2023-02-15 22:18:02 +00:00
|
|
|
using osuTK;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Play
|
|
|
|
{
|
|
|
|
public partial class ArgonKeyCounterDisplay : KeyCounterDisplay
|
|
|
|
{
|
2023-04-25 12:22:55 +00:00
|
|
|
protected override FillFlowContainer<KeyCounter> KeyFlow { get; }
|
2023-04-05 19:34:36 +00:00
|
|
|
|
|
|
|
public ArgonKeyCounterDisplay()
|
2023-02-15 22:18:02 +00:00
|
|
|
{
|
2024-08-06 06:52:03 +00:00
|
|
|
Child = KeyFlow = new FillFlowContainer<KeyCounter>
|
2023-04-05 19:34:36 +00:00
|
|
|
{
|
|
|
|
Direction = FillDirection.Horizontal,
|
|
|
|
AutoSizeAxes = Axes.Both,
|
|
|
|
Spacing = new Vector2(2),
|
|
|
|
};
|
2023-02-15 22:18:02 +00:00
|
|
|
}
|
|
|
|
|
2023-04-25 12:22:55 +00:00
|
|
|
protected override KeyCounter CreateCounter(InputTrigger trigger) => new ArgonKeyCounter(trigger);
|
2023-02-15 22:18:02 +00:00
|
|
|
}
|
|
|
|
}
|