从头开始C ++ GUI多平台? [英] C++ GUI multiple platform from scratch?
本文介绍了从头开始C ++ GUI多平台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我怎样才能从头开始制作GUI,同时Spotify中的窗口不像普通窗口。
应该适用于Linux,Mac OS ,Windows。并且应该从头开始说没有Window API或其他API /库。
是的我使用C ++但是会尝试使用C ++中的新东西。
解决方案
嗯。
你知道自己有多少工作要做吗? br />
现代GUI是在数年内工作的庞大团队的产物,用于生成可在单个平台上运行的东西,可能在单个平台上的单个OS上运行。为什么你认为Windows不能在iPad或以前的Android设备上运行,但必须有特殊的硬件和特殊版本的操作系统才能运行?
从头开始制作多操作系统,多平台GUI比从头开始生产Windows 7要复杂几倍(并且不太可能工作)。
说真的,甚至不要尝试:当你弄清楚只是在一个字体文件中在屏幕上绘制两个不同点大小的单个字符实际涉及多少工作时,你会陷入困境和沮丧...
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++.
解决方案
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...
这篇关于从头开始C ++ GUI多平台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文