MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / postInit_

Method postInit_

source/MRViewer/MRSplashWindow.cpp:176–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void DefaultSplashWindow::postInit_()
177{
178 auto imgRes = ImageLoad::fromPng( SystemPath::getResourcesDirectory() / "MRSplash.png" );
179 if ( !imgRes )
180 {
181 spdlog::error( "No splash image found" );
182 assert( false );
183 return;
184 }
185 splashImage_ = std::make_shared<ImGuiImage>();
186 splashImage_->update( { imgRes.value(),FilterType::Linear } );
187
188 versionStr_ = GetMRVersionString();
189}
190
191void DefaultSplashWindow::positioning_( float )
192{

Callers

nothing calls this directly

Calls 4

fromPngFunction · 0.85
GetMRVersionStringFunction · 0.85
updateMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected