0

I am going to make OS. And I need help with GUI...how to make an GUI ?...I am not on Windows so CreateWindowEx() doesn't exist.

6
Contributors
8
Replies
9
Views
8 Years
Discussion Span
Last Post by adam1122
0

How much of your OS is finished? If you're asking about the GUI you must at least have finished the kernel and a command-line interface. Will your OS have virtual memory? Multitasking? Obviously it must have a file system. Are you writing the device drivers yourself, too? Quite a project (unless you steal most of your code from linux). The GUI is the least of your worries.

0

How much of your OS is finished? If you're asking about the GUI you must at least have finished the kernel and a command-line interface. Will your OS have virtual memory? Multitasking? Obviously it must have a file system. Are you writing the device drivers yourself, too? Quite a project (unless you steal most of your code from linux). The GUI is the least of your worries.

Yup, you're absolutely right !!

But I just find it strange: He can write a kernel, but programming a Graphical Interface is too difficult ...

0

>He can write a kernel, but programming a Graphical Interface is too difficult ...
Two completely different things. Though the way the question is worded makes me think of a l33t h4x0r script kiddie with no clue at all about how complex an operating system is.

0

How about no windows, and just a call that passes something to write(a box of pixels) to the video device? That's a lot of components of code to write just there.

By the way, Laik, how much of an OS do you have? You will probably want to lean more towards C than C++.

0

To the OP:
-> Did you ever read a book about operating system design ?
-> How would you rate your C++ skills ?
(newbie - novice - advanced - expert)


If the answer to the first question is no and you aren't very good at C++, I think it would be better to just give up your project ...

(But ... maybe you should take a look at NewOS, it hasn't yet a Graphical Interface, but it has a Window Manager if I'm not wrong)
I think NewOS is the Operating System to learn from, compact and understandable code, if you're an advanced C++ programmer it should be no problem ...

0

Yup, you're absolutely right !!

But I just find it strange: He can write a kernel, but programming a Graphical Interface is too difficult ...

I think it would be a large assumption to think he wrote a kernel. We are far from having enough information to begin answering this question.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.