MCPcopy Create free account
hub / github.com/9miao/CrossApp / scheduleShowAction

Method scheduleShowAction

CrossApp/controller/CADrawerController.cpp:324–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void CADrawerController::scheduleShowAction(float dt)
325{
326 if (m_fDivision - m_fCurrDivision < FLT_EPSILON)
327 {
328 CAScheduler::unschedule(schedule_selector(CADrawerController::scheduleShowAction), this);
329 this->showEnded();
330 m_bAnimation = false;
331 }
332 else
333 {
334 m_fCurrDivision = MIN(m_fCurrDivision + m_fDivision/12.0f * 60 * dt, m_fDivision) ;
335 this->updateViewFrame();
336 }
337}
338
339void CADrawerController::scheduleHideAction(float dt)
340{

Callers

nothing calls this directly

Calls 3

showEndedMethod · 0.95
updateViewFrameMethod · 0.95
unscheduleFunction · 0.85

Tested by

no test coverage detected