Add exclusive fullscreen

This commit is contained in:
reo 2025-12-15 22:16:41 +03:00
parent 2a255affe4
commit b50a60755a
3 changed files with 69 additions and 2 deletions

View file

@ -58,6 +58,7 @@ impl System for DisplaySettings {
for mode in [
WindowMode::Windowed,
WindowMode::BorderlessFullscreen,
WindowMode::ExclusiveFullscreen,
] {
ui.selectable_value(
&mut state.selected_fullscreen_mode,
@ -88,5 +89,6 @@ fn window_mode_label(mode: WindowMode) -> &'static str {
match mode {
WindowMode::Windowed => "Windowed",
WindowMode::BorderlessFullscreen => "Borderless Fullscreen",
WindowMode::ExclusiveFullscreen => "Exclusive Fullscreen",
}
}