1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-11-27 04:48:05 +11:00

nbox2018 texturing/tinting UI fixes

This commit is contained in:
20kdc 2018-04-25 20:53:19 +01:00
parent beb76fcf6f
commit cda9a8e939

View File

@ -196,8 +196,8 @@ local programStates = {
function (miText, mxText) function (miText, mxText)
local targetBox = boxes[state][selectedBox] local targetBox = boxes[state][selectedBox]
return { return {
"Texturing Box:" .. miText .. "/" .. mxText, "Texturing. Type or paste texture ",
"Type texture ID, or use clipboard.", " ID. Pasting replaces contents. ",
runField(targetBox.tex, "[", "]"), runField(targetBox.tex, "[", "]"),
"Enter confirms. \"\" is invisible." "Enter confirms. \"\" is invisible."
} }
@ -212,7 +212,6 @@ local programStates = {
end, end,
function (text) function (text)
boxes[state][selectedBox].tex = text boxes[state][selectedBox].tex = text
programState = "none"
end end
}, },
tint = { tint = {
@ -232,10 +231,10 @@ local programStates = {
div = math.floor(div / 16) div = math.floor(div / 16)
end end
return { return {
"Tinting Box:" .. miText .. "/" .. mxText, "Tinting. Enter 6 hex digits, ",
" which are 0 to 9, and A to F. "
a, a,
b, b,
"Enter hexadecimal digits."
} }
end, end,
function (ka, kc) function (ka, kc)