| 226 | } |
| 227 | |
| 228 | void SplashScreen::Close() |
| 229 | { |
| 230 | if (!IsVisible()) |
| 231 | return; |
| 232 | |
| 233 | LOG(Info, "Closing splash screen"); |
| 234 | |
| 235 | // Close window |
| 236 | _window->Close(ClosingReason::CloseEvent); |
| 237 | _window = nullptr; |
| 238 | |
| 239 | _titleFont = nullptr; |
| 240 | _subtitleFont = nullptr; |
| 241 | _splashTexture = nullptr; |
| 242 | } |
| 243 | |
| 244 | void SplashScreen::OnShown() |
| 245 | { |
no outgoing calls
no test coverage detected