Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello everyone how can i make a GUI from scratch, also with the window in Spotify not like a normal window.

And should work on Linux, Mac OS, Windows. And should be from scratch that will say with no Window API or other API/Libraries.

And yes i have work with C++ but will try something new in C++.
Posted
Comments
nv3 13-Dec-13 12:05pm    
If you want to do it from scratch, you are looking for a good deal of work. And you don't really expect to get a recipe for building your own GUI in a *quick* question forum, do you? Anyway, good luck.
Philippe Mori 13-Dec-13 19:08pm    
If you don't know where to start... then forget about it. Even someone that has a lot of experience would need a lot of time to get something relatively complete.

As a comparison, how do you build a car? You might try to build your own car from scratch but it will take a lot of time and you would never be able to compete with big names that have a team of say 100 peoples.

Don't reinvent the whell. Reuse existing libraries and then improve on that to make unique applications.

1 solution

Um.

Do you have any idea how much work you are letting yourself in for?
A "modern" GUI is the product of huge teams of people working over a period of years, to produce something that works on a single platform, possibly on a single OS on a single platform. Why do you think Windows does not run on an iPad or previously Android device, but has to have special hardware and a special version of the OS to run on it?

To make a multi-OS, multi-platform GUI from scratch is a couple of orders of magnitude more complex (and less likely to work) than producing Windows 7 from scratch.

Seriously, do not even try: you will get bogged down, and despondent when you work out just how much work is actually involved in just drawing a single character in two different point sizes on the screen from a font file...
 
Share this answer
 
Comments
MathiasEnevoldsen 13-Dec-13 12:15pm    
I have try many thing, but maybe it will be better too start on 1 platform like windows.

But how?.

And i learning so fast when it come to code. So i don't it will be a problem to multiple platform.
H.Brydon 14-Dec-13 0:21am    
Learning so fast does not help.

The only way to do this kind of thing is to use a multiplatform language such as java (ie. which has multiplatform UI features). C++ is not going to help you here.

You could write your non-UI code in C++ and interface it to java for the UI.

Oh yeah and +5 for Griff.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900