Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function nust()
- while true do
- if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
- tc()
- if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
- pfb(1, h, w, h, colors.blue)
- scp(1,h)
- stc(colors.white)
- if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
- write("Start")
- pdp(w-1,h, colors.red)
- pdp(w,h, colors.orange)
- pfb(1, 1, w, 1, colors.blue)
- scp(1,1)
- p("Ustawienia NextUI")
- pdp(w,1, colors.red)
- pfb(3, 4, 13, 6, colors.orange)
- scp(3,5)
- stc(colors.white)
- p("Informacje")
- pfb(27, 4, 37, 6, colors.cyan)
- scp(27,5)
- stc(colors.white)
- p("Biurko")
- pfb(15, 4, 25, 6, colors.green)
- scp(15,5)
- stc(colors.white)
- p("Ustawienia")
- pfb(39, 4, 49, 6, colors.red)
- scp(39,5)
- stc(colors.white)
- p("Aplikacje")
- local event, click, x, y = os.pullEvent("mouse_click")
- if x == w and y == 1 then system() end
- if x>0 and x<6 and y == h then start() end
- if x>2 and x<14 and y>3 and y<7 then infust() end
- if x>14 and x<26 and y>3 and y<7 then setust() end
- if x>26 and x<38 and y>3 and y<7 then deskust() end
- if x>38 and x<50 and y>3 and y<7 then apps() end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement