Implement SetMode and FetchMode window actions
This commit is contained in:
parent
277b848ad8
commit
11f5527d76
7 changed files with 123 additions and 5 deletions
12
native/src/window/mode.rs
Normal file
12
native/src/window/mode.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/// 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue