Well if you want for the buttons and gui, you can use my API (in my signature)
It wouldn't be
his 'OS' then, now would it. An 'OS', in my mind, should only contain code from the developer (Excluding games, programs, software, etc). If one cannot make a simple button themselves, they should stray away from an 'OS' entirely (that is assuming it is a graphical interface and not command-line).
Like TheOriginalBIT stated, don't start off with an 'OS'. They are far too complex for beginners and are often left in the shadows due to poor knowledge. Some people can pull it off though.
LyqydOS is a very nice example of a good OS. And no, this is not the only
good OS out there, I purely chose it over the others since it is a bold example.
Poor example of an OS:
os.pullEvent = os.pullEventRaw
term.clear()
term.setCursorPos(1,1)
print("PoorOS 0.1")
while true do
cmd = read()
if cmd == "edit" then
file = read()
shell.run("edit", file)
elseif cmd == "run" then
file = read()
shell.run(file)
end
end
This is not even a graphical shell at best. This is a program, and some people need to see that through.
EDIT:
This is a much better example of what an OS is not.