整理代码,调整大量场景内绘图用的纯白色和纯黑色

This commit is contained in:
MrZ626
2021-08-06 19:16:01 +08:00
parent e6f5723ecc
commit b501cd374b
32 changed files with 91 additions and 90 deletions

View File

@@ -130,7 +130,7 @@ end
function scene.draw()
--Draw frame
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
gc.setLineWidth(4)
gc.rectangle('line',100,110,1080,260)
@@ -149,7 +149,7 @@ function scene.draw()
count=count+1
else
if count>1 then
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
gc.print("×",x-5,y-14)
gc.print(count,x+10,y-13)
x=x+(count<10 and 33 or 45)
@@ -178,7 +178,7 @@ function scene.draw()
--Draw lenth
setFont(40)
gc.setColor(1,1,1)
gc.setColor(COLOR.Z)
gc.print(#L,120,310)
--Draw cursor