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

Method scheduleHideAction

CrossApp/controller/CADrawerController.cpp:339–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void CADrawerController::scheduleHideAction(float dt)
340{
341 if (m_fCurrDivision < FLT_EPSILON)
342 {
343 CAScheduler::unschedule(schedule_selector(CADrawerController::scheduleHideAction), this);
344 this->hideEnded();
345 m_bAnimation = false;
346 }
347 else
348 {
349 m_fCurrDivision = MAX(m_fCurrDivision - m_fDivision/12.0f * 60 * dt, 0);
350 this->updateViewFrame();
351 }
352}
353
354bool CADrawerController::isReachBoundaryLeft()
355{

Callers

nothing calls this directly

Calls 3

hideEndedMethod · 0.95
updateViewFrameMethod · 0.95
unscheduleFunction · 0.85

Tested by

no test coverage detected