mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Create MusicController UI class and visual test.
This commit is contained in:
25
osu.Game/Overlays/MusicController.cs
Normal file
25
osu.Game/Overlays/MusicController.cs
Normal file
@ -0,0 +1,25 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.Overlays
|
||||
{
|
||||
public class MusicController : OverlayContainer
|
||||
{
|
||||
public override void Load(BaseGame game)
|
||||
{
|
||||
base.Load(game);
|
||||
Width = 400;
|
||||
Height = 130;
|
||||
CornerRadius = 5;
|
||||
Masking = true;
|
||||
}
|
||||
|
||||
//placeholder for toggling
|
||||
protected override void PopIn() => FadeIn(500);
|
||||
|
||||
protected override void PopOut() => FadeOut(500);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user