Example #1
0
CAImageView* CAImageView::createWithFrame(const DRect& rect)
{
	CAImageView * pRet = new CAImageView();
    if (pRet && pRet->initWithFrame(rect))
    {
        pRet->autorelease();
        return pRet;
    }
    CC_SAFE_DELETE(pRet);
	return NULL;
}