Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -128,8 +128,8 @@ typedef void (SDLCALL *SDL_DialogFileCallback)(void *userdata, const char * cons
|
|||||||
* 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
|
* \param filters a list of filters, may be NULL. Not all platforms support
|
||||||
* this option, and platforms that do support it may allow the
|
* this option, and platforms that do support it may allow the
|
||||||
* user to ignore the filters. If non-NULL, it must remain valid
|
* user to ignore the filters. If non-NULL, it must remain
|
||||||
* at least until the callback is invoked.
|
* 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.
|
||||||
@@ -179,8 +179,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_ShowOpenFileDialog(SDL_DialogFileCallback c
|
|||||||
* 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
|
* \param filters a list of filters, may be NULL. Not all platforms support
|
||||||
* this option, and platforms that do support it may allow the
|
* this option, and platforms that do support it may allow the
|
||||||
* user to ignore the filters. If non-NULL, it must remain valid
|
* user to ignore the filters. If non-NULL, it must remain
|
||||||
* at least until the callback is invoked.
|
* 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.
|
||||||
@@ -266,17 +266,17 @@ typedef enum SDL_FileDialogType {
|
|||||||
*
|
*
|
||||||
* - `SDL_PROP_FILE_DIALOG_FILTERS_POINTER`: a pointer to a list of
|
* - `SDL_PROP_FILE_DIALOG_FILTERS_POINTER`: a pointer to a list of
|
||||||
* SDL_DialogFileFilter's, which will be used as filters for file-based
|
* SDL_DialogFileFilter's, which will be used as filters for file-based
|
||||||
* selections. Ignored if the dialog is an "Open Folder" dialog. If non-NULL,
|
* selections. Ignored if the dialog is an "Open Folder" dialog. If
|
||||||
* the array of filters must remain valid at least until the callback is
|
* non-NULL, the array of filters must remain valid at least until the
|
||||||
* invoked.
|
* callback is invoked.
|
||||||
* - `SDL_PROP_FILE_DIALOG_NFILTERS_NUMBER`: the number of filters in the array
|
* - `SDL_PROP_FILE_DIALOG_NFILTERS_NUMBER`: the number of filters in the
|
||||||
* of filters, if it exists.
|
* array of filters, if it exists.
|
||||||
* - `SDL_PROP_FILE_DIALOG_WINDOW_POINTER`: the window that the dialog should
|
* - `SDL_PROP_FILE_DIALOG_WINDOW_POINTER`: the window that the dialog should
|
||||||
* be modal for.
|
* be modal for.
|
||||||
* - `SDL_PROP_FILE_DIALOG_LOCATION_STRING`: the default folder or file to
|
* - `SDL_PROP_FILE_DIALOG_LOCATION_STRING`: the default folder or file to
|
||||||
* start the dialog at.
|
* start the dialog at.
|
||||||
* - `SDL_PROP_FILE_DIALOG_MANY_BOOLEAN`: true to allow the user to select more
|
* - `SDL_PROP_FILE_DIALOG_MANY_BOOLEAN`: true to allow the user to select
|
||||||
* than one entry.
|
* more than one entry.
|
||||||
* - `SDL_PROP_FILE_DIALOG_TITLE_STRING`: the title for the dialog.
|
* - `SDL_PROP_FILE_DIALOG_TITLE_STRING`: the title for the dialog.
|
||||||
* - `SDL_PROP_FILE_DIALOG_ACCEPT_STRING`: the label that the accept button
|
* - `SDL_PROP_FILE_DIALOG_ACCEPT_STRING`: the label that the accept button
|
||||||
* should have.
|
* should have.
|
||||||
|
|||||||
Reference in New Issue
Block a user