Added SDL_ClickTrayEntry()
Also removed the app delegate from the tray code on Cocoa and folded that into SDL3AppDelegate. Fixes https://github.com/libsdl-org/SDL/issues/11906
This commit is contained in:
parent
fb0f6a1196
commit
042898995c
9 changed files with 70 additions and 31 deletions
|
@ -1231,6 +1231,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetTrayMenuParentTray;
|
||||
SDL_GetThreadState;
|
||||
SDL_AudioStreamDevicePaused;
|
||||
SDL_ClickTrayEntry;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -1256,3 +1256,4 @@
|
|||
#define SDL_GetTrayMenuParentTray SDL_GetTrayMenuParentTray_REAL
|
||||
#define SDL_GetThreadState SDL_GetThreadState_REAL
|
||||
#define SDL_AudioStreamDevicePaused SDL_AudioStreamDevicePaused_REAL
|
||||
#define SDL_ClickTrayEntry SDL_ClickTrayEntry_REAL
|
||||
|
|
|
@ -1264,3 +1264,4 @@ SDL_DYNAPI_PROC(SDL_TrayEntry*,SDL_GetTrayMenuParentEntry,(SDL_TrayMenu *a),(a),
|
|||
SDL_DYNAPI_PROC(SDL_Tray*,SDL_GetTrayMenuParentTray,(SDL_TrayMenu *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_ThreadState,SDL_GetThreadState,(SDL_Thread *a),(a),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_AudioStreamDevicePaused,(SDL_AudioStream *a),(a),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_ClickTrayEntry,(SDL_TrayEntry *a),(a),)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue