From cbd013d2f5e35abdb91a321cf717defcbb4234ca Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 28 Dec 2020 17:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E8=8F=9C=E5=8D=95=E6=8E=92=E7=89=88?= =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/main.lua | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/parts/scenes/main.lua b/parts/scenes/main.lua index d1b2f5fc..6c1bec50 100644 --- a/parts/scenes/main.lua +++ b/parts/scenes/main.lua @@ -69,19 +69,18 @@ end function scene.draw() gc.setColor(1,1,1) - gc.draw(IMG.title_color,60,30,nil,1.3) setFont(30) - gc.print(SYSTEM,610,50) - gc.print(VERSION_NAME,610,90) - gc.print(tip,50,660) local L=text.modes[STAT.lastPlay] - setFont(25) - gc.print(L[1],700,230) - gc.print(L[2],700,260) + gc.print(L[1],700,210) + gc.print(L[2],700,250) + gc.print(tip,50,660) + gc.draw(IMG.title_color,60,30,nil,1.3) PLAYERS[1]:draw() end scene.widgetList={ + WIDGET.newText{name=SYSTEM, x=610,y=50,color="white",font=30,align="L",plain=true}, + WIDGET.newText{name=VERSION_NAME,x=610,y=90,color="white",font=30,align="L",plain=true}, WIDGET.newButton{name="offline",x=150,y=220,w=200,h=140,color="lRed", font=40,code=WIDGET.lnk_goScene("mode")}, WIDGET.newButton{name="online", x=370,y=220,w=200,h=140,color="lCyan", font=40,code=function() if LOGIN then