在MAC平台上 使用SDL 把SDL窗口加入子窗口中

本文介绍了如何在MAC操作系统上,利用Objective-C创建一个名为MyCustomView的NSQuickDrawView子类,并将SDL_QuartzWindow集成到自定义窗口中,解决窗口最小化时的重绘问题。通过继承SDL_QuartzWindow并设置SDL_QuartzWindowDelegate,实现对窗口的定制和管理。
摘要由CSDN通过智能技术生成
在MAC平台上 使用SDL 把SDL窗口加入子窗口中

Setting Up SDL in Xcode

The Xcode templates are for Xcode 2.1 and above. If you are running an earlier version of Xcode, install the Project Builder templates.

怎么使用Xcode templates

/Library/Application Support/Developer/3.0/Xcode /Library/Application Support/Developer/Shared/Xcode
没有这个目录,xcode 3.1怎么办? 把TemplatesForXcode 复制到下面的 目录中:
/Developer/Library/XCode/Project Templates/Application/

复制完成后,XCODE 新建工程,TemplatesForXcode出现在NEW PROJECT对话框中,其中有四个模板:

- SDL Application(全屏程序)
This is the barebones, most basic version. There is no 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值