Create window::Mode in iced_native
This commit is contained in:
parent
a508b007d8
commit
1787377450
2 changed files with 11 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue