mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
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:
@@ -388,6 +388,15 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTrayEntryEnabled(SDL_TrayEntry *entry);
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryCallback(SDL_TrayEntry *entry, SDL_TrayCallback callback, void *userdata);
|
||||
|
||||
/**
|
||||
* Simulate a click on a tray entry.
|
||||
*
|
||||
* \param entry The entry to activate.
|
||||
*
|
||||
* \since This function is available since SDL 3.1.9.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_ClickTrayEntry(SDL_TrayEntry *entry);
|
||||
|
||||
/**
|
||||
* Destroys a tray object.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user