Create sertexID

This commit is contained in:
Ale2610 2015-08-25 18:01:27 +02:00
parent 1b92f182dc
commit 9fbbf871f2

22
src/apps/system/sertexID Normal file
View file

@ -0,0 +1,22 @@
local function clear()
term.setBackgroundColor(colors.white)
term.setTextColor(colors.black)
term.clear()
term.setCursorPos(1,1)
end
local function header()
clear()
local w, h = term.getSize()
paintutils.drawLine(1,1,w,1, colors.gray)
term.setTextColor(colors.white)
term.setCursorPos(1,1)
write(" "..sPhone.user)
term.setCursorPos(w,1)
write("X")
term.setCursorPos(1,2)
term.setBackgroundColor(colors.white)
term.setTextColor(colors.black)
end
header()