mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 23:37:26 +08:00
25 lines
715 B
C#
25 lines
715 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 osu.Framework.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays
|
|
{
|
|
public class OverlayHeaderTabControl : OverlayTabControl<string>
|
|
{
|
|
protected override TabItem<string> CreateTabItem(string value) => new OverlayHeaderTabItem(value)
|
|
{
|
|
AccentColour = AccentColour,
|
|
};
|
|
|
|
private class OverlayHeaderTabItem : OverlayTabItem<string>
|
|
{
|
|
public OverlayHeaderTabItem(string value)
|
|
: base(value)
|
|
{
|
|
Text.Text = value;
|
|
}
|
|
}
|
|
}
|
|
}
|