mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 01:07:25 +08:00
30 lines
773 B
C#
30 lines
773 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 System;
|
|
using System.Collections.Generic;
|
|
using osu.Game.Graphics.UserInterface;
|
|
using osu.Framework.Graphics;
|
|
|
|
namespace osu.Game.Tests.Visual.UserInterface
|
|
{
|
|
public class TestScenePageSelector : OsuTestScene
|
|
{
|
|
public override IReadOnlyList<Type> RequiredTypes => new[]
|
|
{
|
|
typeof(PageSelector)
|
|
};
|
|
|
|
public TestScenePageSelector()
|
|
{
|
|
PageSelector pageSelector;
|
|
|
|
Child = pageSelector = new PageSelector(10)
|
|
{
|
|
Anchor = Anchor.Centre,
|
|
Origin = Anchor.Centre,
|
|
};
|
|
}
|
|
}
|
|
}
|