summaryrefslogtreecommitdiffstats
path: root/native/src/window/mode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/window/mode.rs')
-rw-r--r--native/src/window/mode.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/native/src/window/mode.rs b/native/src/window/mode.rs
new file mode 100644
index 00000000..fdce8e23
--- /dev/null
+++ b/native/src/window/mode.rs
@@ -0,0 +1,12 @@
+/// The mode of a window-based application.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum Mode {
+ /// The application appears in its own window.
+ Windowed,
+
+ /// The application takes the whole screen of its current monitor.
+ Fullscreen,
+
+ /// The application is hidden
+ Hidden,
+}