使用DirectX 9和C ++实现GUI [英] Implementing a GUI with DirectX 9 and C++

查看:135
本文介绍了使用DirectX 9和C ++实现GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的引擎实现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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆