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

Method setBackgroundView

CrossApp/controller/CADrawerController.cpp:422–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void CADrawerController::setBackgroundView(CrossApp::CAView *var)
423{
424 this->getView()->removeSubview(m_pBackgroundView);
425 m_pBackgroundView = var;
426 if (m_pBackgroundView)
427 {
428 m_pBackgroundView->setLayout(DLayoutFill);
429 this->getView()->insertSubview(m_pBackgroundView, -1);
430 }
431}
432
433CAView* CADrawerController::getBackgroundView()
434{

Callers 4

updateItemMethod · 0.45
createWithContainerMethod · 0.45

Calls 4

getViewMethod · 0.80
setLayoutMethod · 0.80
removeSubviewMethod · 0.45
insertSubviewMethod · 0.45

Tested by

no test coverage detected