XNA中的GUI设计 [英] GUI Design in XNA

查看:113
本文介绍了XNA中的GUI设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关在XNA中构建GUI/窗口系统的提示.只需简单解释组件及其相互作用,就无需编写代码.

I''m looking for tips on building a GUI/Windowing system in XNA. No code is necessary just simple explanation of components and their interactions.

推荐答案

除了可以在XNA中创建自己的窗口系统外,您还可以尝试
Rather than create your own windowing system in XNA, you might try using XNA with Windows Forms.

If you build your own windowing system, you''ll have to consider keyboard/mouse input (and blocking it for all but the main window, which could be called an issue of scope), text entry (track caret, mouse clicking text, copy/cut/paste, text selection, key press interception, scrolling), text drawing, control layout, window dragging, window z-order. And I''m sure there''s plenty I left out.


这篇关于XNA中的GUI设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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