From beb76fcf6f39c70b74fc70517ecc9b1188f14c49 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Wed, 25 Apr 2018 20:47:18 +0100 Subject: [PATCH] More wget fixes, and make nbox2018 slightly easier to use --- code/apps/app-wget.lua | 8 ++++---- repository/apps/app-nbox2018.lua | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/apps/app-wget.lua b/code/apps/app-wget.lua index 3a88f80..7e85dee 100644 --- a/code/apps/app-wget.lua +++ b/code/apps/app-wget.lua @@ -12,20 +12,20 @@ local sRunning = true -- useful to perform a system update local url = "http://20kdc.duckdns.org/neo/inst.lua" local function doWorking() - return 25, 1, nil, neoux.tcwindow(25, 1, { + return 50, 1, nil, neoux.tcwindow(50, 1, { neoux.tcrawview(1, 1, {"Downloading now..."}), }, function (w) sRunning = false end, 0xFFFFFF, 0) end local function doMainWin() - return 25, 3, nil, neoux.tcwindow(25, 3, { + return 50, 3, nil, neoux.tcwindow(50, 3, { neoux.tcrawview(1, 1, {"URL to download?"}), - neoux.tcfield(1, 2, 25, function (t) + neoux.tcfield(1, 2, 50, function (t) url = t or url return url end), - neoux.tcbutton(16, 3, "Confirm", function (w) + neoux.tcbutton(41, 3, "Download", function (w) sRunning = true w.reset(doWorking()) local nurl = url diff --git a/repository/apps/app-nbox2018.lua b/repository/apps/app-nbox2018.lua index 045f2a4..9f91a2b 100644 --- a/repository/apps/app-nbox2018.lua +++ b/repository/apps/app-nbox2018.lua @@ -123,7 +123,7 @@ local programStates = { minX = cx, minY = cy, minZ = cz, - tex = "", + tex = "stone", rgb = 0xFFFFFF } programState = "point2" @@ -197,9 +197,9 @@ local programStates = { local targetBox = boxes[state][selectedBox] return { "Texturing Box:" .. miText .. "/" .. mxText, - "Type texture ID or use clipboard", + "Type texture ID, or use clipboard.", runField(targetBox.tex, "[", "]"), - "Enter to confirm." + "Enter confirms. \"\" is invisible." } end, function (ka, kc)