Create window::Mode
in iced_native
This commit is contained in:
parent
a508b007d8
commit
1787377450
@ -1,6 +1,8 @@
|
||||
//! Build window-based GUI applications.
|
||||
mod event;
|
||||
mod mode;
|
||||
mod renderer;
|
||||
|
||||
pub use event::Event;
|
||||
pub use mode::Mode;
|
||||
pub use renderer::{Renderer, Target};
|
||||
|
9
native/src/window/mode.rs
Normal file
9
native/src/window/mode.rs
Normal file
@ -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,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user