从内存中加载图片资源
摘要: 1 使用工具将文件转为字节数组,这里用[bin2h.exe]比如准备个文件 testpng.png使用命令bin2h testpng.png将生成 testpng.h,内容如下unsigned int testpng_size=<size>;unsigned char testpng[]={...};2 将文件加入到工程中使用如下代码获取ITextrue接口,env为IGUIEnvir...
阅读全文
posted @
2008-01-13 15:26 安徽飞雪游戏工作室 阅读(565) |
评论 (0) 编辑