aboutsummaryrefslogtreecommitdiff
path: root/window.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-04-09 21:14:49 -0700
committer1029chris <1029chris@gmail.com>2016-04-09 21:14:49 -0700
commitf56dd94334559d026922cd1ef81e1a6a506d239a (patch)
treedba239e8a99cec84cd8f86e5350a00c11579644a /window.lua
parentb6b0f050d75e22af5eb53d2c1d058a40e0ff1e6b (diff)
Added settings menu
Added option to change backgrounds
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 4350b76..4e071e3 100644
--- a/window.lua
+++ b/window.lua
@@ -20,6 +20,8 @@ function drawWindow(id)
drawChat()
elseif id == 2 then
drawInternet()
+ elseif id == 6 then
+ drawSettings()
end
love.graphics.setCanvas()
win[id].update = false
@@ -125,6 +127,8 @@ function drawWindow(id)
updateChat()
elseif id == 2 then
updateInternet()
+ elseif id == 6 then
+ updateSettings()
end
if id == layer[1] and win[id].bar == "grey" then
win[id].bar = "active"