-
Notifications
You must be signed in to change notification settings - Fork 2
/
venuegen.py
executable file
·46 lines (32 loc) · 1.54 KB
/
venuegen.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# @CumKittie
import sys
sys.argv=["Main"]
from Tkinter import Tk, Frame, Button, Label, HORIZONTAL
from vgprocess import generate_venue, copy_camera_to_venue, copy_lights_to_venue
from vgreverse import pull_camera_from_venue, pull_lighting_from_venue
import ttk
def main():
form = Tk()
form.wm_title("venuegen")
form.minsize(height=148, width=74)
Label(form, text="Apply to VENUE").grid(row=0, column=0, pady=5)
Label(form, text="Apply to CAMERA/LIGHTING").grid(row=0, column=2, pady=5)
ttk.Separator(form, orient="vertical").grid(row=0, column=1, rowspan=4, sticky="ns", padx=5)
btn_cpylight = Button(form, text="Copy LIGHTING to VENUE",
width=22, command=copy_lights_to_venue)
btn_cpylight.grid(row=1, column=0, padx=3, pady=3, sticky="w")
btn_cpycam = Button(form, text="Copy CAMERA to VENUE",
width=22, command=copy_camera_to_venue)
btn_cpycam.grid(row=2, column=0, padx=3, pady=3, sticky="w")
btn_pulllight = Button(form, text="Pull LIGHTING from VENUE",
width=22, command=pull_lighting_from_venue)
btn_pulllight.grid(row=1, column=2, padx=3, pady=3, sticky="e")
btn_pullcam = Button(form, text="Pull CAMERA from VENUE",
width=22, command=pull_camera_from_venue)
btn_pullcam.grid(row=2, column=2, padx=3, pady=3, sticky="e")
btn_generate = Button(form, text="Generate!",
width=30, command=generate_venue)
btn_generate.grid(row=4, column=0, columnspan=3, padx=3, pady=16)
form.mainloop()
if __name__ == "__main__":
main()