| 322 | } |
| 323 | |
| 324 | void 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 | |
| 339 | void CADrawerController::scheduleHideAction(float dt) |
| 340 | { |
nothing calls this directly
no test coverage detected