软件锁也可显示tip

This commit is contained in:
MrZ626
2020-08-23 00:15:29 +08:00
parent 46b119601b
commit f511aa2f6f
2 changed files with 5 additions and 3 deletions

View File

@@ -101,8 +101,9 @@ function Pnt.calculator()
setFont(45) setFont(45)
if S.reg then gc.printf(S.reg,0,100,720,"right")end if S.reg then gc.printf(S.reg,0,100,720,"right")end
if S.val then gc.printf(S.val,0,150,720,"right")end if S.val then gc.printf(S.val,0,150,720,"right")end
setFont(50)
if S.sym then gc.print(S.sym,126,150)end if S.sym then setFont(50)gc.print(S.sym,126,150)end
if S.pass then setFont(40)mStr(S.tip,640,10)end
end end
function Pnt.load() function Pnt.load()
local S=sceneTemp local S=sceneTemp

View File

@@ -13,6 +13,7 @@ function sceneInit.calculator()
val=0, val=0,
sym=false, sym=false,
pass=false, pass=false,
tip=require("parts/getTip"),
} }
end end
function sceneInit.load() function sceneInit.load()
@@ -20,7 +21,7 @@ function sceneInit.load()
phase=1,--Loading stage phase=1,--Loading stage
cur=1,--Counter cur=1,--Counter
tar=#VOC.name,--Loading bar lenth(current) tar=#VOC.name,--Loading bar lenth(current)
tip=require("parts/getTip"), tip=setting.appLock and require("parts/getTip"),
list={ list={
#VOC.name, #VOC.name,
#BGM.list, #BGM.list,