Add decorations to Setting
This commit is contained in:
parent
811d8b90d7
commit
f0a857ddde
3 changed files with 10 additions and 0 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue