Renaming "titlebar" to panel

This commit is contained in:
Andrew Lee 2019-07-16 19:21:06 -04:00
parent d5053fa795
commit 21446806b2

View file

@ -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