整理代码,WIDGET.lnk系列函数移出WIDGET模块

This commit is contained in:
MrZ626
2021-01-05 15:40:43 +08:00
parent 19b2f268a8
commit d329f665b1
44 changed files with 417 additions and 394 deletions

View File

@@ -149,9 +149,9 @@ end
scene.widgetList={
WIDGET.newKey{name="fresh", x=440,y=620,w=140,h=140,font=40,code=fresh,hide=function()return TIME()-lastfreshTime<1 end},
WIDGET.newKey{name="up", x=840,y=585,w=140,h=70,font=40,code=WIDGET.lnk_pressKey("up")},
WIDGET.newKey{name="down", x=840,y=655,w=140,h=70,font=40,code=WIDGET.lnk_pressKey("down")},
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=40,code=WIDGET.lnk_BACK},
WIDGET.newKey{name="up", x=840,y=585,w=140,h=70,font=40,code=pressKey"up"},
WIDGET.newKey{name="down", x=840,y=655,w=140,h=70,font=40,code=pressKey"down"},
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=40,code=backScene},
}
return scene