From 57349abc3bf6ae231f811ee2da5e107ae2b3863c Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 22 Apr 2017 01:51:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=A3=D0=A3=D0=A3=D0=A3=D0=A3=D0=A3?= =?UTF-8?q?=D0=9A=D0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/image.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/image.lua b/lib/image.lua index bbf7d8b7..aa707c7e 100755 --- a/lib/image.lua +++ b/lib/image.lua @@ -349,15 +349,15 @@ image.loadFormatModule("/lib/ImageFormatModules/OCIF.lua", ".pic") -- recursiveConversion("/MineOS/", "/ConvertedPics/") -local function clearAndDraw(picture) - gpu.setBackground(0x2D2D2D) - gpu.setForeground(0xFFFFFF) - gpu.fill(1, 1, 160, 50, " ") +-- local function clearAndDraw(picture) +-- gpu.setBackground(0x2D2D2D) +-- gpu.setForeground(0xFFFFFF) +-- gpu.fill(1, 1, 160, 50, " ") - image.draw(1, 1, picture) -end +-- image.draw(1, 1, picture) +-- end -clearAndDraw(image.load("/MineOS/System/OS/Icons/Love.pic")) +-- clearAndDraw(image.load("/MineOS/System/OS/Icons/Love.pic")) -- local w, h = 2, 2 -- local picture = image.create(w, h, 0xFF0000, 0xFFFFFF, 0x0, "Q")