|
@@ -106,7 +106,7 @@ typedef void (SDLCALL *SDL_TrayCallback)(void *userdata, SDL_TrayEntry *entry);
|
|
|
* UTF-8 encoding. Not supported on all platforms. May be NULL.
|
|
|
* \returns The newly created system tray icon.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTrayMenu
|
|
|
* \sa SDL_GetTrayMenu
|
|
@@ -120,7 +120,7 @@ extern SDL_DECLSPEC SDL_Tray *SDLCALL SDL_CreateTray(SDL_Surface *icon, const ch
|
|
|
* \param tray the tray icon to be updated.
|
|
|
* \param icon the new icon. May be NULL.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTray
|
|
|
*/
|
|
@@ -132,7 +132,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayIcon(SDL_Tray *tray, SDL_Surface *ic
|
|
|
* \param tray the tray icon to be updated.
|
|
|
* \param tooltip the new tooltip in UTF-8 encoding. May be NULL.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTray
|
|
|
*/
|
|
@@ -151,7 +151,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayTooltip(SDL_Tray *tray, const char *
|
|
|
* \param tray the tray to bind the menu to.
|
|
|
* \returns the newly created menu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTray
|
|
|
* \sa SDL_GetTrayMenu
|
|
@@ -172,7 +172,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_CreateTrayMenu(SDL_Tray *tray);
|
|
|
* \param entry the tray entry to bind the menu to.
|
|
|
* \returns the newly created menu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
|
* \sa SDL_GetTraySubmenu
|
|
@@ -194,7 +194,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_CreateTraySubmenu(SDL_TrayEntry *e
|
|
|
* \param tray the tray entry to bind the menu to.
|
|
|
* \returns the newly created menu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTray
|
|
|
* \sa SDL_CreateTrayMenu
|
|
@@ -215,7 +215,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_GetTrayMenu(SDL_Tray *tray);
|
|
|
* \param entry the tray entry to bind the menu to.
|
|
|
* \returns the newly created menu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
|
* \sa SDL_CreateTraySubmenu
|
|
@@ -232,7 +232,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_GetTraySubmenu(SDL_TrayEntry *entr
|
|
|
* pointer becomes invalid when any function that inserts or deletes
|
|
|
* entries in the menu is called.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_RemoveTrayEntry
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -244,7 +244,7 @@ extern SDL_DECLSPEC const SDL_TrayEntry **SDLCALL SDL_GetTrayEntries(SDL_TrayMen
|
|
|
*
|
|
|
* \param entry The entry to be deleted.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -267,7 +267,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_RemoveTrayEntry(SDL_TrayEntry *entry);
|
|
|
* \param flags a combination of flags, some of which are mandatory.
|
|
|
* \returns the newly created entry, or NULL if pos is out of bounds.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_TrayEntryFlags
|
|
|
* \sa SDL_GetTrayEntries
|
|
@@ -287,7 +287,7 @@ extern SDL_DECLSPEC SDL_TrayEntry *SDLCALL SDL_InsertTrayEntryAt(SDL_TrayMenu *m
|
|
|
* \param entry the entry to be updated.
|
|
|
* \param label the new label for the entry in UTF-8 encoding.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -303,7 +303,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryLabel(SDL_TrayEntry *entry, con
|
|
|
* \param entry the entry to be read.
|
|
|
* \returns the label of the entry in UTF-8 encoding.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -320,7 +320,7 @@ extern SDL_DECLSPEC const char *SDLCALL SDL_GetTrayEntryLabel(SDL_TrayEntry *ent
|
|
|
* \param checked SDL_TRUE if the entry should be checked; SDL_FALSE
|
|
|
* otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -336,7 +336,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, b
|
|
|
* \param entry the entry to be read.
|
|
|
* \returns SDL_TRUE if the entry is checked; SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -351,7 +351,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);
|
|
|
* \param enabled SDL_TRUE if the entry should be enabled; SDL_FALSE
|
|
|
* otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -365,7 +365,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryEnabled(SDL_TrayEntry *entry, b
|
|
|
* \param entry the entry to be read.
|
|
|
* \returns SDL_TRUE if the entry is enabled; SDL_FALSE otherwise.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -381,7 +381,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTrayEntryEnabled(SDL_TrayEntry *entry);
|
|
|
* \param userdata an optional pointer to pass extra data to the callback when
|
|
|
* it will be invoked.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_GetTrayEntries
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
@@ -395,7 +395,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryCallback(SDL_TrayEntry *entry,
|
|
|
*
|
|
|
* \param tray the tray icon to be destroyed.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTray
|
|
|
*/
|
|
@@ -407,7 +407,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_DestroyTray(SDL_Tray *tray);
|
|
|
* \param entry the entry for which to get the parent menu.
|
|
|
* \returns the parent menu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_InsertTrayEntryAt
|
|
|
*/
|
|
@@ -423,7 +423,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_GetTrayEntryParent(SDL_TrayEntry *
|
|
|
* \param menu the menu for which to get the parent entry.
|
|
|
* \returns the parent entry, or NULL if this menu is not a submenu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTraySubmenu
|
|
|
* \sa SDL_GetTrayMenuParentTray
|
|
@@ -440,7 +440,7 @@ extern SDL_DECLSPEC SDL_TrayEntry *SDLCALL SDL_GetTrayMenuParentEntry(SDL_TrayMe
|
|
|
* \param menu the menu for which to get the parent enttrayry.
|
|
|
* \returns the parent tray, or NULL if this menu is a submenu.
|
|
|
*
|
|
|
- * \since This function is available since SDL 3.2.0.
|
|
|
+ * \since This function is available since SDL 3.1.8.
|
|
|
*
|
|
|
* \sa SDL_CreateTrayMenu
|
|
|
* \sa SDL_GetTrayMenuParentEntry
|