|
@@ -501,6 +501,8 @@ class tk_event_fx():
|
|
|
def command(self,event,mode=""):
|
|
|
cprint("tkevent.tk_event_fx.command")
|
|
|
cprint(" ",self.mode)
|
|
|
+ prm = None
|
|
|
+ ct = None
|
|
|
if self.mode == "FX":
|
|
|
prm = MAIN.meta.fx_prm
|
|
|
ct = MAIN.meta.fx_cfg
|
|
@@ -545,6 +547,7 @@ class tk_event_fx():
|
|
|
return
|
|
|
|
|
|
if 1:
|
|
|
+ cprint("---", self.attr,"!!",prm ,color="red")
|
|
|
if self.attr.startswith("SIZE:"):#SIN":
|
|
|
#global MAIN.meta.fx_prm
|
|
|
k = "SIZE"
|
|
@@ -576,6 +579,7 @@ class tk_event_fx():
|
|
|
p =5
|
|
|
ct.elem[self.attr]["text"] = "SIZE:\n{:0.0f}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("SPEED:"):#SIN":
|
|
|
#global prm
|
|
|
k = "SPEED"
|
|
@@ -617,6 +621,7 @@ class tk_event_fx():
|
|
|
else:
|
|
|
ct.elem[self.attr]["text"] = "SPEED:\n{:0.02f}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("START:"):#SIN":
|
|
|
#global prm
|
|
|
k = "START"
|
|
@@ -642,6 +647,7 @@ class tk_event_fx():
|
|
|
|
|
|
ct.elem[self.attr]["text"] = "START:\n{:0.0f}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("WIDTH:"):#SIN":
|
|
|
#global prm
|
|
|
k = "WIDTH"
|
|
@@ -699,6 +705,7 @@ class tk_event_fx():
|
|
|
|
|
|
ct.elem[self.attr]["text"] = "WIDTH:\n{:0.0f}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("DIR:"):#SIN":
|
|
|
#global prm
|
|
|
k = "DIR"
|
|
@@ -714,6 +721,7 @@ class tk_event_fx():
|
|
|
txt = p
|
|
|
ct.elem[self.attr]["text"] = "DIR:\n{}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("SHUFFLE:"):#SIN":
|
|
|
#global prm
|
|
|
k = "SHUFFLE"
|
|
@@ -731,6 +739,7 @@ class tk_event_fx():
|
|
|
p =5
|
|
|
ct.elem[self.attr]["text"] = k+":\n{}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("INVERT:"):#SIN":
|
|
|
#global prm
|
|
|
k = "INVERT"
|
|
@@ -747,6 +756,7 @@ class tk_event_fx():
|
|
|
p =5
|
|
|
ct.elem[self.attr]["text"] = k+":\n{}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("2D-X:"):#SIN":
|
|
|
#global prm
|
|
|
k = "2D-X"
|
|
@@ -767,6 +777,7 @@ class tk_event_fx():
|
|
|
txt = p
|
|
|
ct.elem[self.attr]["text"] = "2D-X:\n{}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("WING:"):#SIN":
|
|
|
#global prm
|
|
|
k = "WING"
|
|
@@ -787,6 +798,7 @@ class tk_event_fx():
|
|
|
txt = p
|
|
|
ct.elem[self.attr]["text"] = "WING:\n{}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("OFFSET:"):#SIN":
|
|
|
#global prm
|
|
|
k = "OFFSET"
|
|
@@ -814,6 +826,7 @@ class tk_event_fx():
|
|
|
|
|
|
ct.elem[self.attr]["text"] = "OFFSET:\n{:0.0f}".format(p)
|
|
|
cprint(" ",prm)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("BASE:"):
|
|
|
k = "BASE"
|
|
|
p = prm[k]
|
|
@@ -826,6 +839,7 @@ class tk_event_fx():
|
|
|
elif event.num == 5:
|
|
|
p = "0"
|
|
|
ct.elem[self.attr]["text"] = "BASE:\n{}".format(p)
|
|
|
+ prm[k] = p
|
|
|
elif self.attr.startswith("2D:"):#SIN":
|
|
|
self.fx(event)
|
|
|
elif self.attr.startswith("FX:"):#SIN":
|