SDL_SetEventFilter函数
来源:互联网 发布:微创软件 编辑:程序博客网 时间:2024/05/20 05:57
void SDL_SetEventFilter(SDL_EventFilter filter);
注册回调按键处理函数, filter为按键处理函数
当调用SDL_PollEvent/SDL_WaitEvent函数探测到事件来会自动调用filter函数
此方法获取事件可不用创建线程,但是要用到全局变量
http://blog.csdn.net/rootusers/article/details/41007011
http://biancheng.dnbcw.info/c/248551.html
C++学习:
http://edu.csdn.net/course/detail/2901
0 0
- SDL_SetEventFilter函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- Selenium2+java+Eclipse-简单对象定位
- 使用C#把发表的时间改为几个月,几天前,几小时前,几分钟前,或几秒前
- 118、119 pascal's triangle I、II---Array-LeetCode
- 游戏引擎觅真谛
- RecyclerView
- SDL_SetEventFilter函数
- 【NOIP2017】李电下棋
- unity 编译Apk报错
- 算法训练 删除数组零元素
- 1000 a+b
- java+spring+maven用JUnit单元测试报错Failed to load ApplicationContext
- 《软件测试的艺术》笔记
- 第十五周项目1--验证算法--(3)希尔排序
- 【noip2016】换教室 题解