Advertisement
Xylem_Gaming

Open Computers Screen API

Jun 6th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. local component = require("component")
  2. local gui = component.gpu
  3. local x,y = getResolution()
  4.  
  5. local function reset(temp)
  6.     if temp == nil then
  7.        
  8.     elseif == "all" then
  9.        
  10.     elseif == "colour" then
  11.        
  12.     end
  13. end
  14.  
  15. function drawBox(x,y,xwidth,ywidth,colour,border)
  16.     --[[
  17.     This function allows the drawing of a box with specified borders
  18.     ]]
  19.     if border == nil then
  20.         setCursorPos(x,y)
  21.         for i =
  22.     elseif border != nil then
  23.         setCursorPos()
  24.     end
  25. end
  26.  
  27. function drawLine(x,y,length,colour)
  28.     --[[
  29.     This function allows the drawing of a line
  30.     ]]
  31. end
  32.  
  33. function drawTextBox("")
  34.  
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement