| 391 | } |
| 392 | |
| 393 | void 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 | |
| 408 | const CAColor4B& CAScale9ImageView::getColor() |
| 409 | { |
no test coverage detected