Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- --paintutils.drawFilledBox(4, 1, 8, 4, colors.blue)
- A = paintutils.loadImage(".bg")
- paintutils.drawImage(A,1, 2)
- local evnt, btn, x, y = os.pullEvent("mouse_click")
- if btn == 1 then
- if x >= 1 and x <= 2 and y >= 18 and y <= 19 then
- paintutils.drawFilledBox(1, 6, 20, 17, colors.gray)
- term.setCursorPos(1, 7)
- print("Package Installer")
- term.setCursorPos(1, 9)
- print("File Browser")
- local a, btn, x, y = os.pullEvent("mouse_click")
- if btn == 1 then
- if x >= 1 and x <= 17 and y == 7 then
- term.clear()
- term.setCursorPos(1, 1)
- term.setBackgroundColor(colors.black)
- term.setCursorPos(1, 1)
- term.clear()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement