✨ feat(main): 调整窗口大小和位置
This commit is contained in:
parent
2f41d1aaed
commit
15d0abbc6a
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue