From eb92f052916cb083e9ff775f06f4072548536e13 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 15 Jan 2017 20:04:13 +0300 Subject: [PATCH] aefae --- .DS_Store | Bin 18436 -> 18436 bytes Applications.txt | 2 +- Applications/.DS_Store | Bin 79876 -> 79876 bytes Applications/PrintImage/PrintImage.lua | 11 ++++------- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.DS_Store b/.DS_Store index 81758e4154c7ac215869860f44a07a79f4696c5c..e315e779df2ef5517525d2f881a53c9897ab5a1c 100644 GIT binary patch delta 588 zcmXYt&1(}u7{>QWtT|&y<}5aZbyY*|ewYmUG3i zE%uqnk+VC_`K8b~*|5cJ5fYULlbn`3=cdif?nB+6v~2NQknWcA14zpS6Ae3yPmKc!#NZ|RTpSNaEF2N)FeBLM^Zk-`X$;u!KM;1tea5>uGQd6Y4W zIb4Q=MR;i9I&R}0?&AR-;wfI?HQrzqAMpu+592DdplWP~KiI3c5^+92lXRb~U_)lo zn#eAp8=A&qA~X`o;j~6sPZUk)3Tln@Mj?b!;8M0FiYb)&f^fG+VT5vYOpGESXf&$N z&?u3~kN}p#Gvv?fIlq`viv|t|v{4)vV5c#T8JtBCB>^`F6BSsn;bH-e2=EqKSi&9L e6@ZV>#$!Ce3ZCIPUf?C(;vL?j6MRWc?D-F>>x``c delta 492 zcmX|-O=}Zj6h`L+#dqvrW|A1qB+;5`hbh6@rUt9fR;#rj#Y$6awV+96gsJ(kNpvA- zt#+w2I4DX*aaSsS5!`5hMsej@M9__(E}bUg<}S|VKIif*)>*9cb|t*!Kq}eZlkRQ2 z3HPz_CZAYwqUsrcu|G>Im)dIngqPX9ZUGv{%c|D+NekGzu zW%a$7v9dLLtZX@#9ouSd^oYJ&hzlEhxMF*=g_VT9S5~tkQ+00Gtq4OgWwk12t~jNC zr%7eMP%U|~kj>eJR$7me66z^=>bhO2I^}q&MbpY5p^=o&<;%sQU8+@^*!`fzwhu;h zeR{)w)Us?#2+=XLbk&{dJeL0?eU`pRKct`1FX^}R2k^0p%>;-NBaTTgDGrk62*)|W zNk$ptEK^K#o=Z5)QlQ8+ZZXdt?sAWZJmN7=Sm7NXS#vRFi8TtwR@|?_PJc9_@7$A6 z6jjpjs&nI^oM@B(|1{uEnBfVNZu%Kyh+)q=!fDQsVbU{S^sG7Z*pw(UM}-BxA_zSi~+M5bwYRuG&M9VATl^Lli@%}v#af{1Gmo?0W$%! HjPiIz{SFj1 delta 70 zcmV-M0J;B!@C1bL1h9>BlTF#UlWt?wvl(?lcoi}=HY^}AH#dDOAbT+|F*Gb7HZnPr c(K!~A&le@LtL?4>0j#&s7XdN>vyAe1Mep7llmGw# diff --git a/Applications/PrintImage/PrintImage.lua b/Applications/PrintImage/PrintImage.lua index 43b7a085..4c432d17 100755 --- a/Applications/PrintImage/PrintImage.lua +++ b/Applications/PrintImage/PrintImage.lua @@ -203,7 +203,7 @@ local function createWindow() y = y + 2 window.shadeContainer:addLabel(3, y, window.shadeContainer.width, 1, 0xCCCCCC, "Image path:") - window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, startImagePath, nil, nil, true).validator = function(text) + window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, startImagePath, nil, true).validator = function(text) if text and fs.exists(text) then if unicode.sub(text, -4, -1) == ".pic" then mainImage = image.load(text) @@ -219,7 +219,7 @@ local function createWindow() y = y + 2 window.shadeContainer:addLabel(3, y, window.shadeContainer.width, 1, 0xCCCCCC, "Material:") - local mainMaterialTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.mainMaterial, nil, nil, false) + local mainMaterialTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.mainMaterial, nil, false) mainMaterialTextBox.onInputFinished = function() config.mainMaterial = mainMaterialTextBox.text save() @@ -227,7 +227,7 @@ local function createWindow() y = y + 2 window.shadeContainer:addLabel(3, y, window.shadeContainer.width, 1, 0xCCCCCC, "Print name:") - local printNameTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.printName, nil, nil, false) + local printNameTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.printName, nil, false) printNameTextBox.onInputFinished = function() config.printName = printNameTextBox.text save() @@ -248,7 +248,6 @@ local function createWindow() config.showGrid = gridSwitch.state save() window:draw() - buffer.draw() end y = y + 4 @@ -262,7 +261,7 @@ local function createWindow() end y = y + 2 window.shadeContainer:addLabel(3, y, window.shadeContainer.width, 1, 0xCCCCCC, "Material:") - local frameMaterialTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.frame.material, nil, nil, false) + local frameMaterialTextBox = window.shadeContainer:addInputTextBox(window.shadeContainer.width - textBoxesWidth - 1, y, textBoxesWidth, 1, 0xEEEEEE, 0x555555, 0xEEEEEE, 0x262626, config.frame.material, nil, false) frameMaterialTextBox.onInputFinished = function() config.frame.material = frameMaterialTextBox.text save() @@ -312,7 +311,6 @@ local function createWindow() getPrinters() getStatus() window:draw() - buffer.draw() end end end @@ -326,7 +324,6 @@ createWindow() mainImage = image.load(startImagePath) getStatus() window:draw() -buffer.draw() window:handleEvents()