1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Add xmldoc and better parameter naming

This commit is contained in:
Andrei Zavatski 2019-12-31 17:52:41 +03:00
parent ddbdb02aa4
commit 3a71abe8ff

View File

@ -11,10 +11,11 @@ using osuTK.Graphics;
namespace osu.Game.Overlays namespace osu.Game.Overlays
{ {
public abstract class OverlayHeader<TModel> : Container /// <typeparam name="TControl">A control for overlay.</typeparam>
where TModel : TabControl<string> public abstract class OverlayHeader<TControl> : Container
where TControl : TabControl<string>
{ {
protected readonly TModel TabControl; protected readonly TControl TabControl;
private readonly Box titleBackground; private readonly Box titleBackground;
private readonly Box controlBackground; private readonly Box controlBackground;
@ -102,6 +103,6 @@ namespace osu.Game.Overlays
protected abstract ScreenTitle CreateTitle(); protected abstract ScreenTitle CreateTitle();
protected abstract TModel CreateControl(); protected abstract TControl CreateControl();
} }
} }