音效室字号调小

This commit is contained in:
MrZ626
2020-11-19 00:01:32 +08:00
parent d167fecf07
commit 22dcf9d84d

View File

@@ -44,67 +44,67 @@ WIDGET.init("sound",{
WIDGET.newSlider({name="sfx", x=510, y=60,w=330,font=35,change=function()SFX.play("blip_1")end,disp=WIDGET.lnk_SETval("sfx"),code=WIDGET.lnk_SETsto("sfx")}),
WIDGET.newSlider({name="voc", x=510, y=120,w=330,font=35,change=function()VOC.play("test")end,disp=WIDGET.lnk_SETval("voc"),code=WIDGET.lnk_SETsto("voc")}),
WIDGET.newKey({name="move", x=110, y=140,w=160,h=50,code=function()SFX.play("move")end}),
WIDGET.newKey({name="lock", x=110, y=205,w=160,h=50,code=function()SFX.play("lock")end}),
WIDGET.newKey({name="drop", x=110, y=270,w=160,h=50,code=function()SFX.play("drop")end}),
WIDGET.newKey({name="fall", x=110, y=335,w=160,h=50,code=function()SFX.play("fall")end}),
WIDGET.newKey({name="rotate", x=110, y=400,w=160,h=50,code=function()SFX.play("rotate")end}),
WIDGET.newKey({name="rotatekick",x=110, y=465,w=160,h=50,code=function()SFX.play("rotatekick")end}),
WIDGET.newKey({name="hold", x=110, y=530,w=160,h=50,code=function()SFX.play("hold")end}),
WIDGET.newKey({name="prerotate",x=110, y=595,w=160,h=50,code=function()SFX.play("prerotate")end}),
WIDGET.newKey({name="prehold", x=110, y=660,w=160,h=50,code=function()SFX.play("prehold")end}),
WIDGET.newKey({name="move", x=110, y=140,w=160,h=50,font=20,code=function()SFX.play("move")end}),
WIDGET.newKey({name="lock", x=110, y=205,w=160,h=50,font=20,code=function()SFX.play("lock")end}),
WIDGET.newKey({name="drop", x=110, y=270,w=160,h=50,font=20,code=function()SFX.play("drop")end}),
WIDGET.newKey({name="fall", x=110, y=335,w=160,h=50,font=20,code=function()SFX.play("fall")end}),
WIDGET.newKey({name="rotate", x=110, y=400,w=160,h=50,font=20,code=function()SFX.play("rotate")end}),
WIDGET.newKey({name="rotatekick",x=110, y=465,w=160,h=50,font=20,code=function()SFX.play("rotatekick")end}),
WIDGET.newKey({name="hold", x=110, y=530,w=160,h=50,font=20,code=function()SFX.play("hold")end}),
WIDGET.newKey({name="prerotate",x=110, y=595,w=160,h=50,font=20,code=function()SFX.play("prerotate")end}),
WIDGET.newKey({name="prehold", x=110, y=660,w=160,h=50,font=20,code=function()SFX.play("prehold")end}),
WIDGET.newKey({name="clear1", x=280, y=140,w=160,h=50,code=function()SFX.play("clear_1")end}),
WIDGET.newKey({name="clear2", x=280, y=205,w=160,h=50,code=function()SFX.play("clear_2")end}),
WIDGET.newKey({name="clear3", x=280, y=270,w=160,h=50,code=function()SFX.play("clear_3")end}),
WIDGET.newKey({name="clear4", x=280, y=335,w=160,h=50,code=function()SFX.play("clear_4")end}),
WIDGET.newKey({name="spin0", x=280, y=400,w=160,h=50,code=function()SFX.play("spin_0")end}),
WIDGET.newKey({name="spin1", x=280, y=465,w=160,h=50,code=function()SFX.play("spin_1")end}),
WIDGET.newKey({name="spin2", x=280, y=530,w=160,h=50,code=function()SFX.play("spin_2")end}),
WIDGET.newKey({name="spin3", x=280, y=595,w=160,h=50,code=function()SFX.play("spin_3")end}),
WIDGET.newKey({name="_pc", x=280, y=660,w=160,h=50,code=function()SFX.play("clear")end}),
WIDGET.newKey({name="clear1", x=280, y=140,w=160,h=50,font=20,code=function()SFX.play("clear_1")end}),
WIDGET.newKey({name="clear2", x=280, y=205,w=160,h=50,font=20,code=function()SFX.play("clear_2")end}),
WIDGET.newKey({name="clear3", x=280, y=270,w=160,h=50,font=20,code=function()SFX.play("clear_3")end}),
WIDGET.newKey({name="clear4", x=280, y=335,w=160,h=50,font=20,code=function()SFX.play("clear_4")end}),
WIDGET.newKey({name="spin0", x=280, y=400,w=160,h=50,font=20,code=function()SFX.play("spin_0")end}),
WIDGET.newKey({name="spin1", x=280, y=465,w=160,h=50,font=20,code=function()SFX.play("spin_1")end}),
WIDGET.newKey({name="spin2", x=280, y=530,w=160,h=50,font=20,code=function()SFX.play("spin_2")end}),
WIDGET.newKey({name="spin3", x=280, y=595,w=160,h=50,font=20,code=function()SFX.play("spin_3")end}),
WIDGET.newKey({name="_pc", x=280, y=660,w=160,h=50,font=20,code=function()SFX.play("clear")end}),
WIDGET.newKey({name="_1", x=970, y=75,w=140,h=50,code=WIDGET.lnk_pressKey(1)}),
WIDGET.newKey({name="_2", x=1130, y=75,w=140,h=50,code=WIDGET.lnk_pressKey(2)}),
WIDGET.newKey({name="_3", x=970, y=140,w=140,h=50,code=WIDGET.lnk_pressKey(3)}),
WIDGET.newKey({name="_4", x=1130, y=140,w=140,h=50,code=WIDGET.lnk_pressKey(4)}),
WIDGET.newKey({name="_1", x=970, y=75,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(1)}),
WIDGET.newKey({name="_2", x=1130, y=75,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(2)}),
WIDGET.newKey({name="_3", x=970, y=140,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(3)}),
WIDGET.newKey({name="_4", x=1130, y=140,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(4)}),
WIDGET.newKey({name="z0", x=650, y=205,w=140,h=50,code=WIDGET.lnk_pressKey(10)}),
WIDGET.newKey({name="z1", x=650, y=270,w=140,h=50,code=WIDGET.lnk_pressKey(11)}),
WIDGET.newKey({name="z2", x=650, y=335,w=140,h=50,code=WIDGET.lnk_pressKey(12)}),
WIDGET.newKey({name="z3", x=650, y=400,w=140,h=50,code=WIDGET.lnk_pressKey(13)}),
WIDGET.newKey({name="t0", x=650, y=465,w=140,h=50,code=WIDGET.lnk_pressKey(50)}),
WIDGET.newKey({name="t1", x=650, y=530,w=140,h=50,code=WIDGET.lnk_pressKey(51)}),
WIDGET.newKey({name="t2", x=650, y=595,w=140,h=50,code=WIDGET.lnk_pressKey(52)}),
WIDGET.newKey({name="t3", x=650, y=660,w=140,h=50,code=WIDGET.lnk_pressKey(53)}),
WIDGET.newKey({name="z0", x=650, y=205,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(10)}),
WIDGET.newKey({name="z1", x=650, y=270,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(11)}),
WIDGET.newKey({name="z2", x=650, y=335,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(12)}),
WIDGET.newKey({name="z3", x=650, y=400,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(13)}),
WIDGET.newKey({name="t0", x=650, y=465,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(50)}),
WIDGET.newKey({name="t1", x=650, y=530,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(51)}),
WIDGET.newKey({name="t2", x=650, y=595,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(52)}),
WIDGET.newKey({name="t3", x=650, y=660,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(53)}),
WIDGET.newKey({name="s0", x=810, y=205,w=140,h=50,code=WIDGET.lnk_pressKey(20)}),
WIDGET.newKey({name="s1", x=810, y=270,w=140,h=50,code=WIDGET.lnk_pressKey(21)}),
WIDGET.newKey({name="s2", x=810, y=335,w=140,h=50,code=WIDGET.lnk_pressKey(22)}),
WIDGET.newKey({name="s3", x=810, y=400,w=140,h=50,code=WIDGET.lnk_pressKey(23)}),
WIDGET.newKey({name="o0", x=810, y=465,w=140,h=50,code=WIDGET.lnk_pressKey(60)}),
WIDGET.newKey({name="o1", x=810, y=530,w=140,h=50,code=WIDGET.lnk_pressKey(61)}),
WIDGET.newKey({name="o2", x=810, y=595,w=140,h=50,code=WIDGET.lnk_pressKey(62)}),
WIDGET.newKey({name="o3", x=810, y=660,w=140,h=50,code=WIDGET.lnk_pressKey(63)}),
WIDGET.newKey({name="s0", x=810, y=205,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(20)}),
WIDGET.newKey({name="s1", x=810, y=270,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(21)}),
WIDGET.newKey({name="s2", x=810, y=335,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(22)}),
WIDGET.newKey({name="s3", x=810, y=400,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(23)}),
WIDGET.newKey({name="o0", x=810, y=465,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(60)}),
WIDGET.newKey({name="o1", x=810, y=530,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(61)}),
WIDGET.newKey({name="o2", x=810, y=595,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(62)}),
WIDGET.newKey({name="o3", x=810, y=660,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(63)}),
WIDGET.newKey({name="j0", x=970, y=205,w=140,h=50,code=WIDGET.lnk_pressKey(30)}),
WIDGET.newKey({name="j1", x=970, y=270,w=140,h=50,code=WIDGET.lnk_pressKey(31)}),
WIDGET.newKey({name="j2", x=970, y=335,w=140,h=50,code=WIDGET.lnk_pressKey(32)}),
WIDGET.newKey({name="j3", x=970, y=400,w=140,h=50,code=WIDGET.lnk_pressKey(33)}),
WIDGET.newKey({name="i0", x=970, y=465,w=140,h=50,code=WIDGET.lnk_pressKey(70)}),
WIDGET.newKey({name="i1", x=970, y=530,w=140,h=50,code=WIDGET.lnk_pressKey(71)}),
WIDGET.newKey({name="i2", x=970, y=595,w=140,h=50,code=WIDGET.lnk_pressKey(72)}),
WIDGET.newKey({name="i3", x=970, y=660,w=140,h=50,code=WIDGET.lnk_pressKey(73)}),
WIDGET.newKey({name="j0", x=970, y=205,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(30)}),
WIDGET.newKey({name="j1", x=970, y=270,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(31)}),
WIDGET.newKey({name="j2", x=970, y=335,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(32)}),
WIDGET.newKey({name="j3", x=970, y=400,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(33)}),
WIDGET.newKey({name="i0", x=970, y=465,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(70)}),
WIDGET.newKey({name="i1", x=970, y=530,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(71)}),
WIDGET.newKey({name="i2", x=970, y=595,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(72)}),
WIDGET.newKey({name="i3", x=970, y=660,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(73)}),
WIDGET.newKey({name="l0", x=1130, y=205,w=140,h=50,code=WIDGET.lnk_pressKey(40)}),
WIDGET.newKey({name="l1", x=1130, y=270,w=140,h=50,code=WIDGET.lnk_pressKey(41)}),
WIDGET.newKey({name="l2", x=1130, y=335,w=140,h=50,code=WIDGET.lnk_pressKey(42)}),
WIDGET.newKey({name="l3", x=1130, y=400,w=140,h=50,code=WIDGET.lnk_pressKey(43)}),
WIDGET.newKey({name="l0", x=1130, y=205,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(40)}),
WIDGET.newKey({name="l1", x=1130, y=270,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(41)}),
WIDGET.newKey({name="l2", x=1130, y=335,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(42)}),
WIDGET.newKey({name="l3", x=1130, y=400,w=140,h=50,font=20,code=WIDGET.lnk_pressKey(43)}),
WIDGET.newSwitch({name="mini", x=515, y=465,disp=WIDGET.lnk_STPval("mini"),code=WIDGET.lnk_pressKey("1")}),
WIDGET.newSwitch({name="b2b", x=515, y=530,disp=WIDGET.lnk_STPval("b2b"),code=WIDGET.lnk_pressKey("2")}),
WIDGET.newSwitch({name="b3b", x=515, y=595,disp=WIDGET.lnk_STPval("b3b"),code=WIDGET.lnk_pressKey("3")}),
WIDGET.newSwitch({name="pc", x=515, y=660,disp=WIDGET.lnk_STPval("pc"),code=WIDGET.lnk_pressKey("4")}),
WIDGET.newSwitch({name="mini", x=515, y=465,font=25,disp=WIDGET.lnk_STPval("mini"),code=WIDGET.lnk_pressKey("1")}),
WIDGET.newSwitch({name="b2b", x=515, y=530,font=25,disp=WIDGET.lnk_STPval("b2b"),code=WIDGET.lnk_pressKey("2")}),
WIDGET.newSwitch({name="b3b", x=515, y=595,font=25,disp=WIDGET.lnk_STPval("b3b"),code=WIDGET.lnk_pressKey("3")}),
WIDGET.newSwitch({name="pc", x=515, y=660,font=25,disp=WIDGET.lnk_STPval("pc"),code=WIDGET.lnk_pressKey("4")}),
WIDGET.newButton({name="back", x=1140, y=640,w=170,h=80,font=40,code=WIDGET.lnk_BACK}),
})