Allow building the tray subsystem without the video subsystem

Fixes https://github.com/libsdl-org/SDL/issues/13235
This commit is contained in:
Sam Lantinga committed 2025-08-27 08:15:24 -07:00
1 parent 943d0f67ba
commit da6e9bbf7c
18 files changed
+219 -263

No files matched your search

+5 -1
View File
@@ -157,7 +157,11 @@ extern void WIN_RECTToRect(const RECT *winrect, SDL_Rect *sdlrect);
extern void WIN_RectToRECT(const SDL_Rect *sdlrect, RECT *winrect);
// Returns false if a window client rect is not valid
bool WIN_WindowRectValid(const RECT *rect);
extern bool WIN_WindowRectValid(const RECT *rect);
extern void WIN_UpdateDarkModeForHWND(HWND hwnd);
extern HICON WIN_CreateIconFromSurface(SDL_Surface *surface);
extern SDL_AudioFormat SDL_WaveFormatExToSDLFormat(WAVEFORMATEX *waveformat);