C_And_Directx

所属分类:游戏引擎
开发工具:C/C++
文件大小:384KB
下载次数:12
上传日期:2009-12-27 01:32:52
上 传 者hmilxin
说明:  看起来我在做发明车轮的浪费时间的事--windows已经有一套非常复杂功能完善的GUI.不幸的是windows的GUI适用于办公软件,而这通常不适合游戏软件.游戏一般需要比windows更精确的控制(例如,使用自己的GUI实现用alpha混合创造的部分透明的窗口比较容易,而使用windows的GUI则几乎做不到). 这篇文章将讲述如何使用C++和DirectX来创建自己的GUI.文章分为几部分,每部分涉及一个特定的GUI编程主题.这并不需要按顺序阅读,所以你可以从你需要的部分开始. 这里我假设读者有以下的背景知识:事件驱动的编程原理 对PDL和C++的熟练掌握.我使用C++来建立我的GUI系统,因为我是C++爱好者俱乐部的持卡会员,并且C++的OOP很适用于windows编程和控制方式. 让我们从定义工作范围开始.应该认识到我们不是要设计windows95,我们只是想要为一个游戏开发一套简单的GUI.所以我们不用实现每一个简单控制和GUI结构.我们只需要几个部分而已:一个鼠标指针,一个普通窗口,一些在窗口中的对话框控制.我们也需要一个资源编辑器--一个允许我们在图形环境中使用拖动控制来设计对话框. 从基础开始:渲染循环
(I invented the wheel seemed a waste of time to do things- windows already has a very complex functional of the GUI. Unfortunately, the windows of the GUI for office software, which is usually not suitable for game software. Games generally require more than windows precise control (for example, to use their own GUI to achieve with the alpha part of the mix to create a transparent window for easier use of windows of the GUI is almost impossible). This article describes how to use C++ and DirectX to create their own GUI. The article is divided into several parts, each part deals with a specific GUI programming topics. This does not need to in order to read, so you can start from the part you need. Here I assume that the reader have the following background knowledge: an event-driven programming principles of PDL and mastery of C++. I use C++ to build up my GUI system, because I am a C++ fan club membership card, and the C++, OOP is applicable to windows programming and contr)

文件列表:
使用C++和Directx开发游戏GUI(4)--C++修行录.mht (103116, 2008-10-19)
使用C++和Directx开发游戏GUI(5)--C++修行录.mht (97620, 2008-10-19)
使用C++和Directx开发游戏GUI(6)--C++修行录.mht (102065, 2008-10-19)
使用C++和DirectX开发GUI - 资源编辑器及其它 - 漓筝轩 - CSDNBlog.mht (237147, 2008-10-19)
使用C++和Directx开发GUI(三) - 漓筝轩 - CSDNBlog.mht (254549, 2008-10-19)
使用C++和Directx开发GUI(三) - 游戏开发 - 程序设计 - 构架探讨 - 立华软件园.mht (150969, 2008-10-19)
使用C++和Directx开发游戏GUI(1)--C++修行录.mht (103976, 2008-10-19)
使用C++和Directx开发游戏GUI(2)--C++修行录.mht (106508, 2008-10-19)
使用C++和Directx开发游戏GUI(3)--C++修行录.mht (100660, 2008-10-19)

近期下载者

相关文件


收藏者