| 213 | } |
| 214 | |
| 215 | void CADrawerController::showLeftViewController(bool animated) |
| 216 | { |
| 217 | CC_RETURN_IF(m_bAnimation); |
| 218 | m_bShow = true; |
| 219 | |
| 220 | this->begin(); |
| 221 | |
| 222 | if (animated) |
| 223 | { |
| 224 | m_fCurrDivision = m_pContainer[1]->getFrameOrigin().x; |
| 225 | CAScheduler::schedule(schedule_selector(CADrawerController::scheduleShowAction), this, 1/60.0f); |
| 226 | m_bAnimation = true; |
| 227 | } |
| 228 | else |
| 229 | { |
| 230 | m_fCurrDivision = m_fDivision; |
| 231 | this->updateViewFrame(); |
| 232 | this->showEnded(); |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | void CADrawerController::hideLeftViewController(bool animated) |
| 237 | { |
no test coverage detected