// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics; namespace osu.Game.Overlays { public class OverlayHeaderTabControl : OverlayTabControl { protected override TabItem CreateTabItem(string value) => new OverlayHeaderTabItem(value); [BackgroundDependencyLoader] private void load(OsuColour colours) { AccentColour = colours.Seafoam; } private class OverlayHeaderTabItem : OverlayTabItem { public OverlayHeaderTabItem(string value) : base(value) { Text.Text = value; } } } }