Files
InstanceBrick--nightcap/include/mocktail/platform/sdl_window_icon.h
T
2026-08-16 04:19:32 +03:00

19 lines
489 B
C++

#ifndef MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_
#define MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_
#include "mocktail/status.h"
struct SDL_Window;
namespace mocktail {
namespace platform {
// Applies the embedded desktop artwork to an SDL window. X11 compositors use
// this to populate _NET_WM_ICON; Wayland compositors use the desktop identity.
Status ApplySdlWindowIcon(SDL_Window* window);
} // namespace platform
} // namespace mocktail
#endif // MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_