aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-07-16 19:21:06 -0400
committerAndrew Lee <alee14498@gmail.com>2019-07-16 19:21:06 -0400
commit21446806b264d8fd6694b1495f0c51bf24d26b35 (patch)
treeb2906b16a86cdb0ce289211fc2e2b8ad8223905e /system
parentd5053fa7951910929996c59a807544eb9ec785a2 (diff)
downloadbits-UI-21446806b264d8fd6694b1495f0c51bf24d26b35.tar.gz
bits-UI-21446806b264d8fd6694b1495f0c51bf24d26b35.tar.bz2
bits-UI-21446806b264d8fd6694b1495f0c51bf24d26b35.zip
Renaming "titlebar" to panel
Diffstat (limited to 'system')
-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