Make OverlayHeader non-generic

This commit is contained in:
Andrei Zavatski
2019-12-31 18:12:03 +03:00
parent 3a71abe8ff
commit 19e7867aba
3 changed files with 15 additions and 11 deletions

View File

@ -1,10 +1,14 @@
// 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 abstract class BreadcrumbControlOverlayHeader : OverlayHeader<OverlayHeaderBreadcrumbControl>
public abstract class BreadcrumbControlOverlayHeader : OverlayHeader
{
protected override OverlayHeaderBreadcrumbControl CreateControl() => new OverlayHeaderBreadcrumbControl();
protected OverlayHeaderBreadcrumbControl TabControl;
protected override TabControl<string> CreateControl() => TabControl = new OverlayHeaderBreadcrumbControl();
}
}