osu/osu.Game/Overlays/Dashboard/DashboardOverlayHeader.cs

31 lines
842 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.ComponentModel;
namespace osu.Game.Overlays.Dashboard
{
public class DashboardOverlayHeader : TabControlOverlayHeader<DashboardOverlayTabs>
{
protected override OverlayTitle CreateTitle() => new DashboardTitle();
private class DashboardTitle : OverlayTitle
{
public DashboardTitle()
{
Title = "dashboard";
Description = "view your friends and other information";
IconTexture = "Icons/Hexacons/social";
}
}
}
public enum DashboardOverlayTabs
{
Friends,
[Description("Currently Playing")]
CurrentlyPlaying
}
}