aboutsummaryrefslogtreecommitdiff
path: root/window.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-08 14:32:57 -0700
committer1029chris <1029chris@gmail.com>2016-06-08 14:32:57 -0700
commit7b0bc171d659ff4a0dddc724860fdd09f42b08b3 (patch)
treeb0a0a6961d838ffade9773ed85f1b902f7c6ddce /window.lua
parent0c3a6ca6190ad47e5fbe1dfaa45c45aa07b4ced9 (diff)
Added video player
Added 1 video for video player to play
Diffstat (limited to 'window.lua')
-rw-r--r--window.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/window.lua b/window.lua
index e95e01e..a8e8673 100644
--- a/window.lua
+++ b/window.lua
@@ -30,6 +30,8 @@ function drawWindow(id)
drawPicture()
elseif id == 9 then
drawMusic()
+ elseif id == 8 then
+ drawVideo()
end
love.graphics.setCanvas()
win[id].update = false
@@ -182,6 +184,8 @@ function drawWindow(id)
updateFiles()
elseif id == 9 then
updateMusic()
+ elseif id == 8 then
+ updateVideo()
end
if id == layer[1] and win[id].bar == "grey" then
win[id].bar = "active"