BananeMan

Untitled

Sep 21st, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. function shellopen()
  2. end
  3.  
  4. function pcstart()
  5. end
  6.  
  7. function pcstop()
  8. end
  9.  
  10. function createui(windowname, close)
  11. term.clear()
  12. term.setCursorPos(1,1)
  13. local x,y = term.getSize()
  14. paintutils.drawFilledBox(1,1,x,y, colors.lightGray)
  15. paintutils.drawLine(1,1,x,1, colors.lightBlue)
  16. term.setCursorPos(1,1)
  17. term.write(windowname)
  18. if close == nil or close == "true" then
  19. paintutils.drawPixel(x, 1, colors.red)
  20. term.setCursorPos(x, 1)
  21. term.write("X")
  22. end
  23. end
  24.  
  25. function createbutton()
  26.  
  27. end
Add Comment
Please, Sign In to add comment