mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Combine TriangleButton
and RoundedButton
classes
This commit is contained in:
@ -12,7 +12,7 @@ using osu.Framework.Testing;
|
||||
using osu.Framework.Testing.Input;
|
||||
using osu.Game.Graphics.Cursor;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Graphics.UserInterfaceV2;
|
||||
using osu.Game.Input.Bindings;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
@ -27,8 +27,8 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
protected readonly ManualInputManager InputManager;
|
||||
|
||||
private readonly TriangleButton buttonTest;
|
||||
private readonly TriangleButton buttonLocal;
|
||||
private readonly RoundedButton buttonTest;
|
||||
private readonly RoundedButton buttonLocal;
|
||||
|
||||
/// <summary>
|
||||
/// Whether to create a nested container to handle <see cref="GlobalAction"/>s that result from local (manual) test input.
|
||||
@ -110,13 +110,13 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
buttonLocal = new TriangleButton
|
||||
buttonLocal = new RoundedButton
|
||||
{
|
||||
Text = "local",
|
||||
Size = new Vector2(50, 30),
|
||||
Action = returnUserInput
|
||||
},
|
||||
buttonTest = new TriangleButton
|
||||
buttonTest = new RoundedButton
|
||||
{
|
||||
Text = "test",
|
||||
Size = new Vector2(50, 30),
|
||||
|
Reference in New Issue
Block a user