Sfoglia il codice sorgente

tray, windows: define NOTIFYICON_VERSION_4 and NIF_SHOWTIP, if missing.

Ozkan Sezer 1 anno fa
parent
commit
50fbae9302
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      src/tray/windows/SDL_tray.c

+ 7 - 0
src/tray/windows/SDL_tray.c

@@ -29,6 +29,13 @@
 
 #include <stdlib.h>
 
+#ifndef NOTIFYICON_VERSION_4
+#define NOTIFYICON_VERSION_4 4
+#endif
+#ifndef NIF_SHOWTIP
+#define NIF_SHOWTIP 0x00000080
+#endif
+
 #define WM_TRAYICON (WM_USER + 1)
 
 struct SDL_TrayMenu {