Beispiel #1
0
void CCControlSlider::ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent)
{
    sliderEnded(CCPointZero);
}
void ControlSlider::onTouchEnded(Touch *pTouch, Event *pEvent)
{
    sliderEnded(Vec2::ZERO);
}
Beispiel #3
0
void CCControlSlider::ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent)
{
    CCPoint location = getTouchLocationInControl(pTouch);
    sliderEnded(CCPointZero);
}
void ControlSlider::ccTouchEnded(Touch *pTouch, Event *pEvent)
{
    sliderEnded(PointZero);
}