1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-19 11:32:55 +08:00
osu-lazer/osu.Game/Screens/Play/Settings/ReplaySettingsOverlay.cs
2017-05-18 20:21:58 +03:00

37 lines
948 B
C#

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Screens.Play.Settings
{
public class ReplaySettingsOverlay : FillFlowContainer
{
private bool isVisible;
public bool IsVisible
{
set
{
isVisible = value;
if (isVisible)
Show();
else
Hide();
}
get { return isVisible; }
}
public ReplaySettingsOverlay()
{
Direction = FillDirection.Vertical;
Spacing = new Vector2(0, 20);
Add(new CollectionSettings());
Add(new DiscussionSettings());
Add(new PlaybackSettings());
}
}
}