aboutsummaryrefslogtreecommitdiff
path: root/viewer.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-02 14:37:23 -0700
committer1029chris <1029chris@gmail.com>2016-06-02 14:37:23 -0700
commit100f994e953627f4c403c3318bdd29ef8d34e528 (patch)
tree73c9d7b979550e9e7d305c443c63774b66578ea1 /viewer.lua
parent8da3b8a350580315bd7c20b856e20ecf09cd24f5 (diff)
Image viewer can now look at image of a cat
Diffstat (limited to 'viewer.lua')
-rw-r--r--viewer.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewer.lua b/viewer.lua
index 126bc2b..5255d72 100644
--- a/viewer.lua
+++ b/viewer.lua
@@ -1,4 +1,8 @@
function drawPicture()
+ drawDownBox(8, 31, win[7].w-17, win[7].h-40, 4)
+ if picture.img ~= 0 then
+ love.graphics.draw(picture.img, 8, 31)
+ end
end
function drawVideo()
end