diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 21:27:13 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 21:27:13 -0500 |
| commit | 9d5bc5be7be2f88ff6fed8e11986a6595ee50290 (patch) | |
| tree | d1d107e45bedaaa0477de238909567a165f6aaad /System/desktop.lua | |
| parent | 5831eebe389b06743ad04861719e0321faa302ae (diff) | |
| download | bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.tar.gz bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.tar.bz2 bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.zip | |
Added watermark to desktop
Diffstat (limited to 'System/desktop.lua')
| -rw-r--r-- | System/desktop.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/System/desktop.lua b/System/desktop.lua index 786b668..12f5a9f 100644 --- a/System/desktop.lua +++ b/System/desktop.lua @@ -18,6 +18,7 @@ local backgroundColour = 32768 local backgroundImage = "/home/.background" local panelColour = 8192 local appTitle = "[Programs]" +local w, h = term.getSize(); function drawPanel() local time = os.time() @@ -38,6 +39,10 @@ function drawDesktop() bground = paintutils.loadImage(backgroundImage) paintutils.drawImage(bground,1,1) drawPanel() + term.setCursorPos(1,17) + term.setBackgroundColor(colours.black) + write("bits-UI 1.0 Alpha 2\n") + write("Licensed with GPL-3.0") end --[[ if fs.exists("/programs") then |
