aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/desktop.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/desktop.lua b/system/desktop.lua
index 75598c9..d49b6e8 100644
--- a/system/desktop.lua
+++ b/system/desktop.lua
@@ -19,7 +19,7 @@ local backgroundImage = "/home/.background"
local panelColour = 8192
local appTitle = "[Apps]"
-function titleBar()
+function drawPanel()
local time = os.time()
local formattedTime = textutils.formatTime(time, false)
term.setCursorPos(1,1)
@@ -37,13 +37,15 @@ function drawDesktop()
term.clear()
bground = paintutils.loadImage(backgroundImage)
paintutils.drawImage(bground,1,1)
- titleBar()
+ drawPanel()
end
--[[
if fs.exists("/programs") then
end
]]
+-- Initialize Desktop
+
drawDesktop()
while true do