From 21446806b264d8fd6694b1495f0c51bf24d26b35 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 16 Jul 2019 19:21:06 -0400 Subject: Renaming "titlebar" to panel --- system/desktop.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'system') 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 -- cgit v1.2.3