|
@@ -139,10 +139,12 @@ typedef void (SDLCALL *SDL_DialogFileCallback)(void *userdata, const char * cons
|
|
* it will be invoked.
|
|
* it will be invoked.
|
|
* \param window the window that the dialog should be modal for, may be NULL.
|
|
* \param window the window that the dialog should be modal for, may be NULL.
|
|
* Not all platforms support this option.
|
|
* 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 nfilters the number of filters. Ignored if filters is NULL.
|
|
* \param default_location the default folder or file to start the dialog at,
|
|
* \param default_location the default folder or file to start the dialog at,
|
|
* may be NULL. Not all platforms support this option.
|
|
* may be NULL. Not all platforms support this option.
|