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

Method openTextureAtlas

src/eepp/ui/tools/textureatlaseditor.cpp:439–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void TextureAtlasEditor::openTextureAtlas( const Event* Event ) {
440 eeSAFE_DELETE( mTextureAtlasLoader );
441
442 mTextureAtlasLoader = TextureAtlasLoader::New(
443 Event->getNode()->asType<UIFileDialog>()->getFullPath(), Engine::instance()->isThreaded(),
444 [this]( auto event ) { onTextureAtlasLoaded( event ); } );
445}
446
447void TextureAtlasEditor::onTextureAtlasLoaded( TextureAtlasLoader* textureAtlasLoader ) {
448 mTextureAtlasLoader = textureAtlasLoader;

Callers

nothing calls this directly

Calls 4

getFullPathMethod · 0.80
getNodeMethod · 0.80
NewFunction · 0.50
isThreadedMethod · 0.45

Tested by

no test coverage detected