MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setDrawable

Method setDrawable

src/eepp/ui/uinodedrawable.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

getDrawableMethod · 0.45
isDrawableResourceMethod · 0.45

Tested by

no test coverage detected