✨ feat(main): 更新窗口初始位置和大小
This commit is contained in:
parent
c2bb86a267
commit
2f41d1aaed
|
@ -21,11 +21,11 @@ fn main() {
|
|||
let fps = args[4].clone();
|
||||
let mut camera_open = false;
|
||||
let app = App::default();
|
||||
let mut camera_window = Window::new(100, 100, 400, 300, "Camera Video Output Window");
|
||||
let mut camera_window = Window::new(0, 0, 600, 300, "Camera Video Output Window");
|
||||
let mut camera_frame = Frame::default_fill();
|
||||
camera_window.end();
|
||||
camera_window.show();
|
||||
let mut color_window = Window::new(100, 600, 400, 300, "Video Output Window");
|
||||
let mut color_window = Window::new(0, 600, 600, 300, "Video Output Window");
|
||||
let mut color_frame = Frame::default_fill();
|
||||
color_window.end();
|
||||
color_window.show();
|
||||
|
|
Loading…
Reference in New Issue