ControlSaturationBrightnessPicker* ControlSaturationBrightnessPicker::create(Node* target, Vec2 pos) { ControlSaturationBrightnessPicker *pRet = new (std::nothrow) ControlSaturationBrightnessPicker(); pRet->initWithTargetAndPos(target, pos); pRet->autorelease(); return pRet; }
ControlSaturationBrightnessPicker* ControlSaturationBrightnessPicker::create(Node* target, Point pos) { ControlSaturationBrightnessPicker *pRet = new ControlSaturationBrightnessPicker(); pRet->initWithTargetAndPos(target, pos); pRet->autorelease(); return pRet; }