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
4namespace osu.Framework.Platform
5{
6 /// <summary>
7 /// Enumerates the available window states in the operating system.
8 /// </summary>
9 public enum WindowState
10 {
11 /// <summary>
12 /// The window is movable and takes up a subsection of the screen.
13 /// This is the default state.
14 /// </summary>
15 Normal,
16
17 /// <summary>
18 /// The window is running in exclusive fullscreen and is potentially using a
19 /// different resolution to the desktop.
20 /// </summary>
21 Fullscreen,
22
23 /// <summary>
24 /// The window is running in non-exclusive fullscreen, where it expands to fill the screen
25 /// at the native desktop resolution.
26 /// </summary>
27 FullscreenBorderless,
28
29 /// <summary>
30 /// The window is running in maximised mode, usually triggered by clicking the operating
31 /// system's maximise button.
32 /// </summary>
33 Maximised,
34
35 /// <summary>
36 /// The window is running in minimised mode, usually triggered by clicking the operating
37 /// system's minimise button.
38 /// </summary>
39 Minimised
40 }
41}