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

Method CANavigationController

CrossApp/controller/CAViewController.cpp:249–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247#pragma CANavigationController
248
249CANavigationController::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
267CANavigationController::~CANavigationController()
268{

Callers

nothing calls this directly

Calls 4

setTouchMovedMethod · 0.95
setDisplayRangeMethod · 0.80
setColorMethod · 0.45

Tested by

no test coverage detected