mirror of
https://github.com/Alee14/bits-UI.git
synced 2025-01-22 10:41:58 -05:00
Renaming "titlebar" to panel
This commit is contained in:
parent
d5053fa795
commit
21446806b2
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue