Ozkan Sezer
8ec576ddab
tray, windows: fix logic error from commit 1167cf54e1
2025-01-07 10:15:40 +03:00
Sam Lantinga
8d8649b33f
Fixed error: returning 'SDL_TrayEntry **' from a function with incompatible return type 'const SDL_TrayEntry **'
2025-01-06 11:35:54 -08:00
Sam Lantinga
1167cf54e1
Fixed warning C4706: assignment within conditional expression
2025-01-06 11:30:28 -08:00
Sam Lantinga
8a9b7ae8d1
Switched nEntries to int, to avoid signed/unsigned comparison warnings
...
Also standardized memory allocation calls to match SDL style
2025-01-06 11:29:28 -08:00
Semphris
b6dc44b133
Support dark theme for tray menus on Windows
2025-01-04 11:04:21 -08:00
Semphris
7673b84f52
Make SDL_GetTrayEntires() NULL-terminated
2025-01-04 10:56:19 -08:00
Sam Lantinga
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
Semphris
2d91f096ca
Remove libc function from Windows tray
2024-12-30 01:20:12 +03:00
Semphris
0461180e25
SDL_EVENT_QUIT when no window nor tray
...
SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE will not fire if there are active tray icons. This impacts only applications that create tray icons, and that at least one icon outlives the last visible top-level window. SDL_EVENT_QUIT will fire when the last active tray is destroyed if there are no active windows.
2024-12-27 09:22:27 -08:00
Ozkan Sezer
578509c326
windows/SDL_tray.c, video/windows/SDL_surface_utils.h: use SDL_windows.h
2024-12-27 12:28:02 +03:00
Ozkan Sezer
05932e05da
tray, windows: replace ZeroMemory() with SDL_zero()
2024-12-27 12:05:00 +03:00
Ozkan Sezer
50fbae9302
tray, windows: define NOTIFYICON_VERSION_4 and NIF_SHOWTIP, if missing.
2024-12-27 05:30:50 +03:00
expikr
f40a530fd9
subclass the builtin system message class instead
2024-12-24 12:06:47 -08:00
Semphriss
01b9b0edb7
Add system tray support ( #10873 )
2024-12-24 10:36:39 -08:00