os.pullEvent = os.pullEventRaw
term.setCursorPos(1,12)
term.setTextColor(colors.white)
term.setBackgroundColor(colors.blue)
write("   LabyOS 1.4   ")

term.setCursorPos(1,13)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Meine Dateien  X")

term.setCursorPos(1,14)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Internet       X")

term.setCursorPos(1,15)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Downloads      X")

term.setCursorPos(1,16)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Neustart       X")

term.setCursorPos(1,17)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Abmelden       X")

term.setCursorPos(1,18)
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
write("Herunterfahren X")
term.setTextColor(colors.white)






while true do
local event, button, X, Y = os.pullEvent("mouse_click")
XY = X..","..Y

if XY == "2,19" and button == 1 then
shell.run("/Laby/Gast")
break
end

if XY == "3,19" and button == 1 then
shell.run("/Laby/Gast")
break
end

if XY == "4,19" and button == 1 then
shell.run("/Laby/Gast")
break
end

if XY == "5,19" and button == 1 then
shell.run("/Laby/Gast")
break
end


if XY == "16,13" and button == 1 then
shell.run("/Laby/Files")
break
end

if XY == "16,14" and button == 1 then
shell.run("/Laby/Internet")
break
end

if XY == "16,15" and button == 1 then
shell.run("/Laby/Download")
break
end

if XY == "16,16" and button == 1 then
shell.run("reboot")
break
end

if XY == "16,17" and button == 1 then
shell.run("/Laby/Login")
break
end

if XY == "16,18" and button == 1 then
shell.run("/Laby/Herunterfahren")
break
end


end