diff options
Diffstat (limited to '')
| -rw-r--r-- | src/settings.rs | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/src/settings.rs b/src/settings.rs index 2556c51b..62a1a614 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -19,6 +19,9 @@ pub struct Window {      /// Whether the window should be resizable or not.      pub resizable: bool, + +    /// Whether the window should have a border, a title bar, etc. or not. +    pub decorations: bool,  }  impl Default for Window { @@ -26,6 +29,7 @@ impl Default for Window {          Window {              size: (1024, 768),              resizable: true, +            decorations: true,          }      }  } @@ -37,6 +41,8 @@ impl From<Settings> for iced_winit::Settings {              window: iced_winit::settings::Window {                  size: settings.window.size,                  resizable: settings.window.resizable, +                decorations: settings.window.decorations, +                platform_specific: Default::default(),              },          }      } | 
