creeperUI/ui/windows/window_properties.rs
1use macroquad::math::Vec2;
2
3pub struct WindowProperties {
4 pub title: Option<String>,
5 pub position: Option<Vec2>,
6 pub size: Option<Vec2>,
7 pub draggable: bool,
8 pub resizable: bool,
9 pub closable: bool,
10}
11
12impl Default for WindowProperties {
13 fn default() -> Self {
14 Self {
15 title: None,
16 position: None,
17 size: None,
18 draggable: true,
19 resizable: true,
20 closable: true,
21 }
22 }
23}