feat(main): 更新窗口初始位置和大小

This commit is contained in:
conglinyizhi 2024-12-07 13:31:05 +08:00
parent c2bb86a267
commit 2f41d1aaed
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(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(); 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(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(); let mut color_frame = Frame::default_fill();
color_window.end(); color_window.end();
color_window.show(); color_window.show();