1. Trang chủ
  2. » Giáo Dục - Đào Tạo

directx 9 graphics

377 1,5K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 377
Dung lượng 5,34 MB

Nội dung

[...]... 2 29 2 29 230 230 231 231 232 233 234 235 236 236 186 187 190 193 198 198 199 199 200 201 xi Contents 11.5.5 Inserting Text 11.5.6 Removing Text 11.5.7 Processing Keypresses 11.5.8 Cursor Positioning 11.5 .9 Caret... Loading a File 13.8 Playing a File 13 .9 Catching Media Events 13.10 Reading Media Events 13.11 Handling Media Events 13.12 Cleaning Up 13.13 Conclusion 291 292 294 295 297 297 298 299 301 301 302 305 306 306 Chapter... Parent 9. 4 Implementing the Parent Window 9. 5 CXWindow as a Child Window 9. 6 Implementing Child Windows 9. 6.1 Child Windows — Loading the Canvas 1 79 180 181 181 183 183 184 185 x Contents 9. 6.2 Painting Application Windows 9. 6.3 Dragging Application Windows 9. 6.4 Minimizing... Application Windows 9. 6.4 Minimizing and Restoring Application Windows 9. 7 Using CXWindow — Sample Application 9. 7.1 Overview 9. 7.2 Desktop Initialization 9. 7.3 Window Initialization 9. 7.4 Windows Message Posting 9. 7.5 Deleting an Interface 9. 8 Conclusion Chapter 10 Labels... Declaration 8 .9 Conclusion 153 154 157 157 158 160 161 163 164 165 166 167 168 170 173 174 176 Chapter 9 Developing Windows 9. 1 CXWindow — Deriving from CXControl 9. 2 Desktop and Application Windows 9. 3 Class... — The Media Player 15.2.1 Creating the Media Player 15.2.2 Loading Controls 3 19 3 19 320 323 323 282 283 285 286 287 288 2 89 290 290 xiii Contents 15.2.3 The Window 15.2.4 The List Box 15.2.5 The Text Box ... Requirements To follow the examples and compile the companion CD’s code you’ll need: n Windows 98 or above n Visual C++ 6.0 or above n DirectX 9. 0 SDK (provided on the CD) It is worth noting, however, that most action-packed or fast-paced computer games developed with DirectX these days list a range of 3D accelerated graphics cards, any one of which is a requirement While the code and examples presented throughout... 10.6 CXLabel and CXButton — A Sample Application 10.7 Conclusion 203 204 204 205 206 2 09 2 09 212 212 213 214 215 216 217 218 2 19 224 Chapter 11 Text Boxes and Check Boxes 11.1 Text Boxes and Check Boxes 11.2 Text Boxes 11.3 Clever Strings — Std::String 11.3.1... and Relative Positioning 7.7.1 Computing Positions 7.8 CXControl — The Class Declaration Thus Far 7 .9 Conclusion 135 136 136 137 138 1 39 140 143 144 145 146 146 1 49 150 151 Chapter 8 Continuing CXControl 8.1 Messages 8.1.1 Posting Messages 8.1.2... the Media Player 15.6 Conclusion 324 326 327 327 328 3 29 3 29 331 332 332 333 334 335 335 337 Afterword 3 39 Appendix Recommended Reading 341 Index 343 xiv Acknowledgements There are a number of people who, in one way or . 187 9. 6.4 Minimizing and Restoring Application Windows 190 9. 7 Using CXWindow — Sample Application 193 9. 7.1 Overview 198 9. 7.2 Desktop Initialization 198 9. 7.3 Window Initialization 199 9. 7.4. Declaration 174 8 .9 Conclusion 176 Chapter 9 Developing Windows 1 79 9.1 CXWindow — Deriving from CXControl 180 9. 2 Desktop and Application Windows 181 9. 3 Class CXWindow as a Parent 181 9. 4 Implementing. Keyboard 90 4.7 The Mouse 92 4.7.1 Creating the Mouse 92 4.7.2 Setting the Cursor 93 4.7.3 Reading from the Mouse 95 4.7.4 Processing the Cursor Position 96 4.7.5 Reading Mouse Buttons 97 4.8 Conclusion

Ngày đăng: 01/06/2014, 01:14

Xem thêm

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN