Update window icon dynamically for Werehog

This commit is contained in:
Hyper
2024-11-10 22:47:11 +00:00
parent f1d633c8a5
commit 4d9e835c88
11 changed files with 58 additions and 780 deletions
+7
View File
@@ -106,6 +106,13 @@ int Window_OnSDLEvent(void*, SDL_Event* event)
break;
}
case SDL_USER_EVILSONIC:
{
Window::s_isIconNight = event->user.code;
Window::SetIcon(Window::s_isIconNight);
break;
}
}
for (auto listener : Window::s_eventListeners)