A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using NUnit.Framework;
5using osu.Framework.Allocation;
6using osu.Framework.Platform;
7
8namespace osu.Framework.Tests.Visual.Platform
9{
10 [Ignore("This test cannot be run in headless mode (a window instance is required).")]
11 public class TestSceneResizableWindow : FrameworkTestScene
12 {
13 [BackgroundDependencyLoader]
14 private void load(GameHost host)
15 {
16 AddToggleStep("toggle resizable", state => ((SDL2DesktopWindow)host.Window).Resizable = state);
17 }
18 }
19}