随笔分类 - SDL
Audio&Video
摘要:原文地址:https://www.cnblogs.com/landmark/category/311822.html 介绍SDL图形库的使用 SDL显示文字 摘要: 前面教程里,我们只显示图片,没提到如何显示文字,SDL本身没有显示文字功能,它需要用扩展库SDL_ttf来显示文字。ttf是True
阅读全文
摘要:原文地址:https://blog.csdn.net/qq_38124598/article/details/73543184 这里总结一下个人对SDL的一些函数,方便以后查询。 v1.0.1 1.窗口: SDL_Init(SDL_INIT_VIDEO); //创建窗口 SDL_Window*win
阅读全文
摘要:Basics View information and functions related to... View the header Initialization and Shutdown SDL.h Configuration Variables SDL_hints.h Error Handli
阅读全文
摘要:原文地址:http://blog.csdn.net/i_scream_/article/details/52714378 此博文相关知识点从雷神的博客以及视频学习,截图也是用了他的课件, 雷神博客地址:http://blog.csdn.net/leixiaohua1020/ SDL基础知识 SDL结
阅读全文
摘要:原文地址:http://blog.csdn.net/qingkongyeyue/article/details/53024467 1、SDL中事件和线程(函数同时运行) 2、练习 (1)创建线程 第一个参数是一个函数,创建线程后refresh_video这个函数和下面的while()循环同时执行 (
阅读全文