| 247 | #pragma CANavigationController |
| 248 | |
| 249 | CANavigationController::CANavigationController() |
| 250 | :m_bNavigationBarHidden(false) |
| 251 | ,m_bPopViewController(false) |
| 252 | ,m_pNavigationBarBackgroundImage(NULL) |
| 253 | ,m_sNavigationBarBackgroundColor(CAColor_white) |
| 254 | ,m_sNavigationBarTitleColor(CAColor_white) |
| 255 | ,m_sNavigationBarButtonColor(CAColor_white) |
| 256 | ,m_fProgress(1.0f) |
| 257 | ,m_bClearance(false) |
| 258 | { |
| 259 | m_pView->setColor(CAColor_clear); |
| 260 | m_pView->setDisplayRange(false); |
| 261 | this->setHaveNextResponder(false); |
| 262 | this->setTouchMoved(true); |
| 263 | this->setVerticalScrollEnabled(false); |
| 264 | this->setNavigationBarBackgroundImage(CAImage::create("source_material/navigation_bg.png")); |
| 265 | } |
| 266 | |
| 267 | CANavigationController::~CANavigationController() |
| 268 | { |
nothing calls this directly
no test coverage detected