修改了一些中文
parent
0cb849af20
commit
6c0b6e166c
|
@ -95,7 +95,7 @@ def create_root(start: Callable[[], None], destroy: Callable[[], None]) -> ctk.C
|
||||||
start_button = ctk.CTkButton(root, text='开始', cursor='hand2', command=lambda: select_output_path(start))
|
start_button = ctk.CTkButton(root, text='开始', cursor='hand2', command=lambda: select_output_path(start))
|
||||||
start_button.place(relx=0.15, rely=0.80, relwidth=0.2, relheight=0.05)
|
start_button.place(relx=0.15, rely=0.80, relwidth=0.2, relheight=0.05)
|
||||||
|
|
||||||
stop_button = ctk.CTkButton(root, text='充值', cursor='hand2', command=lambda: destroy())
|
stop_button = ctk.CTkButton(root, text='关闭', cursor='hand2', command=lambda: destroy())
|
||||||
stop_button.place(relx=0.4, rely=0.80, relwidth=0.2, relheight=0.05)
|
stop_button.place(relx=0.4, rely=0.80, relwidth=0.2, relheight=0.05)
|
||||||
|
|
||||||
preview_button = ctk.CTkButton(root, text='预览', cursor='hand2', command=lambda: toggle_preview())
|
preview_button = ctk.CTkButton(root, text='预览', cursor='hand2', command=lambda: toggle_preview())
|
||||||
|
@ -293,4 +293,4 @@ def webcam_preview():
|
||||||
ROOT.update()
|
ROOT.update()
|
||||||
|
|
||||||
cap.release()
|
cap.release()
|
||||||
PREVIEW.withdraw() # Close preview window when loop is finished
|
PREVIEW.withdraw() # Close preview window when loop is finished
|
Loading…
Reference in New Issue