mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
24 lines
769 B
C#
24 lines
769 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using static SDL.SDL3;
|
|
|
|
namespace osu.Framework.Platform.SDL3
|
|
{
|
|
internal class SDL3MobileWindow : SDL3Window
|
|
{
|
|
public SDL3MobileWindow(GraphicsSurfaceType surfaceType, string appName)
|
|
: base(surfaceType, appName)
|
|
{
|
|
}
|
|
|
|
protected override unsafe void UpdateWindowStateAndSize(WindowState state, Display display, DisplayMode displayMode)
|
|
{
|
|
// This sets the status bar to hidden.
|
|
SDL_SetWindowFullscreen(SDLWindowHandle, true).LogErrorIfFailed();
|
|
|
|
// Don't run base logic at all. Let's keep things simple.
|
|
}
|
|
}
|
|
}
|