瀏覽代碼

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 1 月之前
父節點
當前提交
e2392984b2
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      include/SDL3/SDL_dialog.h

+ 6 - 4
include/SDL3/SDL_dialog.h

@@ -139,10 +139,12 @@ typedef void (SDLCALL *SDL_DialogFileCallback)(void *userdata, const char * cons
  *                 it will be invoked.
  * \param window the window that the dialog should be modal for, may be NULL.
  *               Not all platforms support this option.
- * \param filters a list of filters, may be NULL. Not all platforms support
- *                this option, and platforms that do support it may allow the
- *                user to ignore the filters. If non-NULL, it must remain
- *                valid at least until the callback is invoked.
+ * \param filters a list of filters, may be NULL. See the
+ *                [`SDL_DialogFileFilter` documentation for
+ *                examples](SDL_DialogFileFilter#code-examples). Not all
+ *                platforms support this option, and platforms that do support
+ *                it may allow the user to ignore the filters. If non-NULL, it
+ *                must remain valid at least until the callback is invoked.
  * \param nfilters the number of filters. Ignored if filters is NULL.
  * \param default_location the default folder or file to start the dialog at,
  *                         may be NULL. Not all platforms support this option.