feat(main): 调整窗口大小和位置

This commit is contained in:
conglinyizhi 2024-12-07 13:35:11 +08:00
parent 2f41d1aaed
commit 15d0abbc6a
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ fn main() {
let fps = args[4].clone(); let fps = args[4].clone();
let mut camera_open = false; let mut camera_open = false;
let app = App::default(); let app = App::default();
let mut camera_window = Window::new(0, 0, 600, 300, "Camera Video Output Window"); let mut camera_window = Window::new(0, 0, 400, 400, "Camera Video Output Window");
let mut camera_frame = Frame::default_fill(); let mut camera_frame = Frame::default_fill();
camera_window.end(); camera_window.end();
camera_window.show(); camera_window.show();
let mut color_window = Window::new(0, 600, 600, 300, "Video Output Window"); let mut color_window = Window::new(0, 400, 400, 400, "Video Output Window");
let mut color_frame = Frame::default_fill(); let mut color_frame = Frame::default_fill();
color_window.end(); color_window.end();
color_window.show(); color_window.show();