| 2292 | } |
| 2293 | |
| 2294 | void WindowUpdateIcon() |
| 2295 | { |
| 2296 | EXIT_IF(g_window_ctx == nullptr); |
| 2297 | |
| 2298 | static Image* icon = Loader::SystemContentGetIcon(); |
| 2299 | |
| 2300 | if (icon != nullptr) |
| 2301 | { |
| 2302 | SDL_SetWindowIcon(g_window_ctx->window, static_cast<SDL_Surface*>(icon->GetSdlSurface())); |
| 2303 | } |
| 2304 | } |
| 2305 | |
| 2306 | void WindowUpdateTitle() |
| 2307 | { |
no test coverage detected