#[coco2d-x] How to add event at PageView

Programming/Old 2016. 3. 7. 18:12

pageView->addEventListenerPageView(this, pagevieweventselector(THIS_SCENE::THIS_FUNC));


void THIS_SCENE::THIS_FUNC(Ref* sender, PageViewEventType type)

{

swtich(type)

{

case PAGEVIEW_EVENT_TURNING:

{

break;

  }

}

}

admin