| 71 | } |
| 72 | |
| 73 | void UINodeDrawable::setDrawable( int index, Drawable* drawable, bool ownIt ) { |
| 74 | if ( drawable != getLayer( index )->getDrawable() ) { |
| 75 | getLayer( index )->setDrawable( drawable, ownIt ); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | void UINodeDrawable::setDrawable( int index, const std::string& drawable ) { |
| 80 | if ( drawable != getLayer( index )->getDrawableRef() ) { |
nothing calls this directly
no test coverage detected