使用DirectX 9和C ++实现GUI [英] Implementing a GUI with DirectX 9 and C++
问题描述
我正在尝试为我的引擎实现GUI。问题是我无法得到如何做到这一点的要点。我已经制作了一些叠加层。我也尝试检查相同的坐标(鼠标和按钮),但如果你试图使一些按钮大于
10像素^^,那就太难了。这有什么好的教程吗?顺便说一句,我正在使用C ++和DirectX 9。
--------------- ---------------------
我在看DXUTSample但是在那里得到Gist :(
DrunkLion,
抱歉,但是你们我在小型基础论坛中提出了你的问题。你需要转到C ++论坛查询你的问题。
I'm trying to implement a GUI for my engine. The problem is I can't get the gist how to make this. I've made some Overlays yet. I also tryd to check for same coordinates ( mouse & button ), but It's to hard if you try to make some button bigger than 10 pixels ^^. Are there any good Tutorials for this? By the way I'm devloping with C++ and DirectX 9.
------------------------------------
I was looking at the DXUTSample but to big to get Gist there :(
DrunkLion,
Sorry, but you've asked your question in the small basic forum. You'll need to go over to the C++ forum for your question.
这篇关于使用DirectX 9和C ++实现GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!