mirror of
https://github.com/osukey/osukey.git
synced 2025-06-10 13:58:01 +09:00
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
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 osu.Framework.Testing;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Colour;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Screens.Menu;
|
|
using OpenTK.Graphics;
|
|
using osu.Game.Screens.Play;
|
|
using osu.Framework.Allocation;
|
|
using osu.Game.Overlays.Mods;
|
|
using osu.Game.Database;
|
|
using osu.Game.Rulesets.Mods;
|
|
using OpenTK;
|
|
|
|
namespace osu.Desktop.VisualTests.Tests
|
|
{
|
|
internal class TestCaseIngameModsContainer : TestCaseModSelectOverlay
|
|
{
|
|
public override string Description => @"Ingame mods visualization";
|
|
|
|
private ModsContainer modsContainer;
|
|
|
|
public override void Reset()
|
|
{
|
|
base.Reset();
|
|
|
|
Add(modsContainer = new ModsContainer
|
|
{
|
|
Anchor = Anchor.TopRight,
|
|
Origin = Anchor.TopRight,
|
|
AutoSizeAxes = Axes.Both,
|
|
Position = new Vector2(0, 25),
|
|
});
|
|
|
|
modsContainer.Mods.BindTo(modSelect.SelectedMods);
|
|
}
|
|
}
|
|
}
|