Add exclusive fullscreen
This commit is contained in:
parent
2a255affe4
commit
b50a60755a
3 changed files with 69 additions and 2 deletions
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue