From 17873774502b20cdcaaf96f88f6f6c705f91e15c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 16 Jan 2020 04:45:37 +0100 Subject: Create `window::Mode` in `iced_native` --- native/src/window/mode.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 native/src/window/mode.rs (limited to 'native/src/window/mode.rs') 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, +} -- cgit