diff options
author | 2022-07-18 18:37:41 +0200 | |
---|---|---|
committer | 2022-08-18 14:09:20 +0200 | |
commit | 277b848ad8df1e8d038e33707548a45d63a601db (patch) | |
tree | 1da6c7a5135fb5f5c40a237224daae3721b2f685 /winit/src/mode.rs | |
parent | 07cbed106467097543ff33d3b34e0e1ca6f695ae (diff) | |
download | iced-277b848ad8df1e8d038e33707548a45d63a601db.tar.gz iced-277b848ad8df1e8d038e33707548a45d63a601db.tar.bz2 iced-277b848ad8df1e8d038e33707548a45d63a601db.zip |
Remove `window::Mode` and introduce `Settings::visible`
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
Diffstat (limited to 'winit/src/mode.rs')
-rw-r--r-- | winit/src/mode.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/winit/src/mode.rs b/winit/src/mode.rs deleted file mode 100644 index fdce8e23..00000000 --- a/winit/src/mode.rs +++ /dev/null @@ -1,12 +0,0 @@ -/// 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, -} |