Skip to content

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Dec 25, 2025

Set the window icon that appears in the title bar and taskbar using SDL_SetWindowIcon, which requires an SDL_Surface. Pass the path of a BMP to setIcon() to load it as the SDL_Surface.

Set the window icon that appears in the title bar and taskbar
using SDL_SetWindowIcon, which requires an SDL_Surface. Pass the
path of a BMP to setIcon() to load it as the SDL_Surface.
@oznogon oznogon changed the title Add Window::setIcon() to set window icon [#1667] Add Window::setIcon() to set window icon Dec 25, 2025
@oznogon oznogon changed the title [#1667] Add Window::setIcon() to set window icon Add Window::setIcon() to set window icon Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant