MCPcopy Create free account
hub / github.com/InoriRus/Kyty / WindowUpdateIcon

Function WindowUpdateIcon

source/emulator/src/Graphics/Window.cpp:2294–2304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2292}
2293
2294void 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
2306void WindowUpdateTitle()
2307{

Callers 1

WindowDrawBufferFunction · 0.85

Calls 3

SystemContentGetIconFunction · 0.85
SDL_SetWindowIconFunction · 0.85
GetSdlSurfaceMethod · 0.80

Tested by

no test coverage detected