2020-01-16 04:45:37 +01:00
|
|
|
/// 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,
|
2021-04-09 09:00:29 -07:00
|
|
|
|
|
|
|
|
/// The application is hidden
|
|
|
|
|
Hidden,
|
2020-01-16 04:45:37 +01:00
|
|
|
}
|