diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-03 11:55:40 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-03 11:55:40 -0700 |
| commit | e532283d763d663069d026757d53f385733513c7 (patch) | |
| tree | d0ae9aca6e3facf614393aa6d933da1af4ea309d /window.lua | |
| parent | 93916b2dbc006735c533a285a77f4dbc178a4c71 (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.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |
