aboutsummaryrefslogtreecommitdiff
path: root/window.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-06-03 11:55:40 -0700
committer1029chris <1029chris@gmail.com>2016-06-03 11:55:40 -0700
commite532283d763d663069d026757d53f385733513c7 (patch)
treed0ae9aca6e3facf614393aa6d933da1af4ea309d /window.lua
parent93916b2dbc006735c533a285a77f4dbc178a4c71 (diff)
Added music player
Added song for music player to play Added button assets for play/pause/stop/back
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 f497cc9..e95e01e 100644
--- a/window.lua
+++ b/window.lua
@@ -28,6 +28,8 @@ function drawWindow(id)
drawHelp()
elseif id == 7 then
drawPicture()
+ elseif id == 9 then
+ drawMusic()
end
love.graphics.setCanvas()
win[id].update = false
@@ -178,6 +180,8 @@ function drawWindow(id)
updateSettings()
elseif id == 3 then
updateFiles()
+ elseif id == 9 then
+ updateMusic()
end
if id == layer[1] and win[id].bar == "grey" then
win[id].bar = "active"