فهرست منبع

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 3 ماه پیش
والد
کامیت
31dd4fe81f
2فایلهای تغییر یافته به همراه6 افزوده شده و 8 حذف شده
  1. 4 4
      include/SDL3/SDL_events.h
  2. 2 4
      include/SDL3/SDL_tray.h

+ 4 - 4
include/SDL3/SDL_events.h

@@ -38,10 +38,10 @@
  * at all).
  *
  * There is other forms of control, too: SDL_PeepEvents() has more
- * functionality at the cost of more complexity, and SDL_WaitEvent() can
- * block the process until something interesting happens, which might be
- * beneficial for certain types of programs on low-power hardware. One may
- * also call SDL_AddEventWatch() to set a callback when new events arrive.
+ * functionality at the cost of more complexity, and SDL_WaitEvent() can block
+ * the process until something interesting happens, which might be beneficial
+ * for certain types of programs on low-power hardware. One may also call
+ * SDL_AddEventWatch() to set a callback when new events arrive.
  *
  * The app is free to generate their own events, too: SDL_PushEvent allows the
  * app to put events onto the queue for later retrieval; SDL_RegisterEvents

+ 2 - 4
include/SDL3/SDL_tray.h

@@ -317,8 +317,7 @@ extern SDL_DECLSPEC const char *SDLCALL SDL_GetTrayEntryLabel(SDL_TrayEntry *ent
  * The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.
  *
  * \param entry the entry to be updated.
- * \param checked true if the entry should be checked; false
- *                otherwise.
+ * \param checked true if the entry should be checked; false otherwise.
  *
  * \since This function is available since SDL 3.1.8.
  *
@@ -348,8 +347,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);
  * Sets whether or not an entry is enabled.
  *
  * \param entry the entry to be updated.
- * \param enabled true if the entry should be enabled; false
- *                otherwise.
+ * \param enabled true if the entry should be enabled; false otherwise.
  *
  * \since This function is available since SDL 3.1.8.
  *