新增文本框控件,空间框架略微修改适配文本输入

This commit is contained in:
MrZ626
2020-10-19 00:58:49 +08:00
parent 10d65c4581
commit 97ace858af
6 changed files with 184 additions and 54 deletions

View File

@@ -100,6 +100,20 @@ do--setFont
end
end
end
do--upperChar
local upper=string.upper
upperList={
["1"]="!",["2"]="@",["3"]="#",["4"]="$",["5"]="%",
["6"]="^",["7"]="&",["8"]="*",["9"]="(",["0"]=")",
["`"]="~",["-"]="_",["="]="+",
["["]="{",["]"]="}",["\\"]="|",
[";"]=":",["'"]="\"",
[","]="<",["."]=">",["/"]="?",
}
function upperChar(c)
return upperList[c]or upper(c)
end
end
do--dumpTable
local tabs={
[0]="",