Add decorations to Setting

This commit is contained in:
hatoo 2019-11-30 20:38:32 +09:00
parent 811d8b90d7
commit f0a857ddde
3 changed files with 10 additions and 0 deletions

View file

@ -17,6 +17,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.
pub decorations: bool,
}
impl Default for Window {
@ -24,6 +27,7 @@ impl Default for Window {
Window {
size: (1024, 768),
resizable: true,
decorations: true,
}
}
}