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.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/native/src/window/mode.rs b/native/src/window/mode.rs
new file mode 100644
index 00000000..37464711
--- /dev/null
+++ b/native/src/window/mode.rs
@@ -0,0 +1,9 @@
+/// 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,
+}