Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- System 1.0
- Programmed by DiNuzz__
- Version 1.0:1
- 15/8/2016
- --]]
- --[[
- Screen Example
- 1-19 = Text rows
- 20 = Text Color
- 21 = Background Color
- *****************
- Bar Example
- 1 = Bar Text
- 2 = Text Color
- 3 = BackGround color
- *****************
- Icon Example
- 1 = Icon Description
- 2 = Icon
- 3 = Icon Text Color
- 4 = Icon Background Color
- 5 = Icon Description Text Color
- 6 = Icon Description Background Color
- --]]
- --Default colors
- --Future function :P
- --Screens
- screenclear = {
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- " ",
- "black",
- "gray"
- }
- --Bars
- desktopbar = {
- " ",
- "black",
- "white"
- }
- --Icons
- icon1 = {
- "",
- "",
- "[==*==]",
- " HDD ",
- "black",
- "lightGray",
- "black",
- "white"
- }
- --Functions
- function setscreenxx(name)
- termprinted=name
- term.setCursorPos(1, 1)
- term.setBackgroundColor(name[21])
- term.setTextColor(name[20])
- print(name[1])
- print(name[2])
- print(name[3])
- print(name[4])
- print(name[5])
- print(name[6])
- print(name[7])
- print(name[8])
- print(name[9])
- print(name[10])
- print(name[11])
- print(name[12])
- print(name[13])
- print(name[14])
- print(name[15])
- print(name[16])
- print(name[17])
- print(name[18])
- print(name[19])
- end
- function setscreenbar(name)
- termprintedbar=name
- term.setCursorPos(1, 1)
- term.setBackgroundColor(name[3])
- term.setTextColor(name[2])
- print(name[1])
- end
- function desktopbarset()
- setscreenbar(desktopbar)
- end
- desktopbarset()
Add Comment
Please, Sign In to add comment