euv_core/window/config/enum.rs
1/// Cross-platform fullscreen presentation mode.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
3pub enum FullscreenMode {
4 /// Standard windowed mode.
5 #[default]
6 Windowed,
7 /// Borderless desktop fullscreen or mobile edge-to-edge immersive mode.
8 Borderless,
9 /// Exclusive hardware fullscreen mode where supported by the OS.
10 Exclusive,
11}
12
13/// Mobile and tablet screen orientation constraint.
14#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
15pub enum OrientationLock {
16 /// Follow device sensor / user multitasking orientation.
17 #[default]
18 Auto,
19 /// Lock to portrait orientation.
20 Portrait,
21 /// Lock to landscape orientation.
22 Landscape,
23}
24
25/// Mobile / iPadOS system status bar appearance style.
26#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
27pub enum StatusBarStyle {
28 /// Follow active application theme.
29 #[default]
30 Auto,
31 /// Light status bar icons for dark backgrounds.
32 LightContent,
33 /// Dark status bar icons for light backgrounds.
34 DarkContent,
35 /// Hide system status bar (immersive fullscreen).
36 Hidden,
37}