Although the Fullscreen API in the Web platform has some limitations, it is still useful to be able to support fullscreen on the native side.
9 lines
260 B
Rust
9 lines
260 B
Rust
/// 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,
|
|
}
|