MCPcopy Create free account
hub / github.com/SpartanJ/eepp / ~LayerDrawable

Method ~LayerDrawable

src/eepp/ui/uinodedrawable.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 mRepeat( Repeat::NoRepeat ) {}
289
290UINodeDrawable::LayerDrawable::~LayerDrawable() {
291 if ( NULL != mDrawable && 0 != mResourceChangeCbId && mDrawable->isDrawableResource() ) {
292 reinterpret_cast<DrawableResource*>( mDrawable )
293 ->popResourceChangeCallback( mResourceChangeCbId );
294 }
295
296 if ( mOwnsDrawable )
297 eeSAFE_DELETE( mDrawable );
298}
299
300void UINodeDrawable::LayerDrawable::draw() {
301 draw( mPosition, mSize );

Callers

nothing calls this directly

Calls 2

isDrawableResourceMethod · 0.45

Tested by

no test coverage detected