mirror of
https://github.com/ppy/osu.git
synced 2024-12-28 02:53:02 +08:00
34 lines
1.3 KiB
C#
34 lines
1.3 KiB
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.Graphics;
|
|||
|
using osu.Framework.Graphics.Containers;
|
|||
|
using osu.Game.Graphics;
|
|||
|
using osu.Game.Tournament.Screens.Gameplay.Components;
|
|||
|
using osuTK;
|
|||
|
|
|||
|
namespace osu.Game.Tournament.Tests.Components
|
|||
|
{
|
|||
|
public partial class TestSceneMatchHeader : TournamentTestScene
|
|||
|
{
|
|||
|
public TestSceneMatchHeader()
|
|||
|
{
|
|||
|
Child = new FillFlowContainer
|
|||
|
{
|
|||
|
RelativeSizeAxes = Axes.Both,
|
|||
|
Direction = FillDirection.Vertical,
|
|||
|
Spacing = new Vector2(50),
|
|||
|
Children = new Drawable[]
|
|||
|
{
|
|||
|
new TournamentSpriteText { Text = "with logo", Font = OsuFont.Torus.With(size: 30) },
|
|||
|
new MatchHeader(),
|
|||
|
new TournamentSpriteText { Text = "without logo", Font = OsuFont.Torus.With(size: 30) },
|
|||
|
new MatchHeader { ShowLogo = false },
|
|||
|
new TournamentSpriteText { Text = "without scores", Font = OsuFont.Torus.With(size: 30) },
|
|||
|
new MatchHeader { ShowScores = false },
|
|||
|
}
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|