diff options
Diffstat (limited to 'core/src/window')
-rw-r--r-- | core/src/window/settings.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/window/settings.rs b/core/src/window/settings.rs index c1f36a6c..9432eaaa 100644 --- a/core/src/window/settings.rs +++ b/core/src/window/settings.rs @@ -35,6 +35,12 @@ pub struct Settings { /// The initial logical dimensions of the window. pub size: Size, + /// Whether the window should start maximized. + pub maximized: bool, + + /// Whether the window should start fullscreen. + pub fullscreen: bool, + /// The initial position of the window. pub position: Position, @@ -80,6 +86,8 @@ impl Default for Settings { fn default() -> Self { Self { size: Size::new(1024.0, 768.0), + maximized: false, + fullscreen: false, position: Position::default(), min_size: None, max_size: None, |