GFX with SDL Lesson 1: Getting started with SDL(翻译)[72]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 heroboy2000 的 blog

if ( event.key.keysym.sym == sdlk_escape ) { done = 1; }

所有的键盘上的按键名字都以sdlk_开头。查看 sdl_keysym.h文件来得到更多的sdlk_ 键名字。事件检测之后:

本文关键:GFX with SDL Lesson 1: Getting started with SDL(翻译)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top