| 174 | } |
| 175 | |
| 176 | void 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 | |
| 191 | void DefaultSplashWindow::positioning_( float ) |
| 192 | { |
nothing calls this directly
no test coverage detected