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

Method setColor

CrossApp/view/CAScale9ImageView.cpp:393–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void CAScale9ImageView::setColor(const CAColor4B& color)
394{
395 CAView::setColor(color);
396 if (m_pScale9ImageView)
397 {
398 const CAVector<CAView*>& subview = m_pScale9ImageView->getSubviews();
399
400 CAVector<CAView*>::const_iterator itr;
401 for (itr=subview.begin(); itr!=subview.end(); itr++)
402 {
403 (*itr)->setColor(color);
404 }
405 }
406}
407
408const CAColor4B& CAScale9ImageView::getColor()
409{

Callers 2

updateWithImageMethod · 0.95
copyMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected