整理代码,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

@@ -314,7 +314,7 @@ function scene.draw()
gc.pop()
end
scene.widgetList={
WIDGET.newKey{name="quit",x=1235,y=45,w=80,font=25,code=WIDGET.lnk_pressKey("escape")},
WIDGET.newKey{name="quit",x=1235,y=45,w=80,font=25,code=pressKey"escape"},
}
return scene