手机词典加入选择词条的上下键

This commit is contained in:
MrZ626
2020-10-20 13:46:18 +08:00
parent 1ddea8e2cc
commit 67547a8cf8
2 changed files with 21 additions and 3 deletions

View File

@@ -440,7 +440,10 @@ local langList={
},
dict={
title="小Z方块词典",
keyboard="键盘",
link="打开链接",
up="",
down="",
back="返回",
},
staff={
@@ -1030,7 +1033,10 @@ local langList={
},
dict={
title="小Z方块词典",
keyboard="键盘",
link="打开链接",
up="",
down="",
back="返回",
},
staff={
@@ -1610,7 +1616,10 @@ local langList={
},--LangName added later
dict={
title="TetroDictionary",
keyboard="Keyboard",
link="Open URL",
up="",
down="",
back="Back",
},
staff={
@@ -2204,7 +2213,10 @@ local langList={
},
dict={
title="TetroDictionary",
keyboard="□□□",
link="~~e>>",
up="",
down="",
back="X",
},
staff={
@@ -2791,7 +2803,10 @@ local langList={
},
dict={
title="小Z方块词典",
keyboard="键盘",
link="看链接",
up="",
down="",
back="返回",
},
staff={

View File

@@ -646,9 +646,12 @@ local Widgets={
newButton({name="back", x=640, y=600,w=170,h=80,font=35,code=BACK}),
},
dict={
newText({name="title", x=20,y=5,font=70,align="L"}),
newKey({name="link", x=1140,y=650,w=200,h=80,font=35,code=pressKey("link"),hide=function()return not sceneTemp.url end}),
newButton({name="back", x=1165,y=60,w=170,h=80,font=40,code=BACK}),
newText({name="title", x=20, y=5,font=70,align="L"}),
newKey({name="keyboard", x=960, y=60,w=200,h=80,font=35,code=function()love.keyboard.setTextInput(true)end,hide=mobileShow}),
newKey({name="link", x=1140, y=650,w=200,h=80,font=35,code=pressKey("link"),hide=function()return not sceneTemp.url end}),
newKey({name="up", x=1190, y=440,w=100,h=100,font=35,code=pressKey("up"),hide=mobileShow}),
newKey({name="down", x=1190, y=550,w=100,h=100,font=35,code=pressKey("down"),hide=mobileShow}),
newButton({name="back", x=1165, y=60,w=170,h=80,font=40,code=BACK}),
},
staff={
newButton({name="back", x=1140, y=640,w=170,h=80,font=40,code=BACK}),