Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Nov 21, 2024
1 parent 67b00ca commit 97ec405
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions SDL3/SDL_ShowOpenFileDialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ void SDL_ShowOpenFileDialog(SDL_DialogFileCallback callback, void *userdata, SDL
## Function Parameters
| | | |
| ---------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SDL_DialogFileCallback](SDL_DialogFileCallback) | **callback** | a function pointer to be invoked when the user selects a file and accepts, or cancels the dialog, or an error occurs. |
| void * | **userdata** | an optional pointer to pass extra data to the callback when it will be invoked. |
| [SDL_Window](SDL_Window) * | **window** | the window that the dialog should be modal for, may be NULL. Not all platforms support this option. |
| const [SDL_DialogFileFilter](SDL_DialogFileFilter) * | **filters** | a list of [SDL_DialogFileFilter](SDL_DialogFileFilter)'s, may be NULL. Not all platforms support this option, and platforms that do support it may allow the user to ignore the filters. |
| int | **nfilters** | the number of filters. Ignored if filters is NULL. |
| const char * | **default_location** | the default folder or file to start the dialog at, may be NULL. Not all platforms support this option. |
| bool | **allow_many** | if non-zero, the user will be allowed to select multiple entries. Not all platforms support this option. |
| | | |
| ---------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SDL_DialogFileCallback](SDL_DialogFileCallback) | **callback** | a function pointer to be invoked when the user selects a file and accepts, or cancels the dialog, or an error occurs. |
| void * | **userdata** | an optional pointer to pass extra data to the callback when it will be invoked. |
| [SDL_Window](SDL_Window) * | **window** | the window that the dialog should be modal for, may be NULL. Not all platforms support this option. |
| const [SDL_DialogFileFilter](SDL_DialogFileFilter) * | **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. |
| int | **nfilters** | the number of filters. Ignored if filters is NULL. |
| const char * | **default_location** | the default folder or file to start the dialog at, may be NULL. Not all platforms support this option. |
| bool | **allow_many** | if non-zero, the user will be allowed to select multiple entries. Not all platforms support this option. |
## Remarks
Expand Down
16 changes: 8 additions & 8 deletions SDL3/SDL_ShowSaveFileDialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ void SDL_ShowSaveFileDialog(SDL_DialogFileCallback callback, void *userdata, SDL
## Function Parameters
| | | |
| ---------------------------------------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SDL_DialogFileCallback](SDL_DialogFileCallback) | **callback** | a function pointer to be invoked when the user selects a file and accepts, or cancels the dialog, or an error occurs. |
| void * | **userdata** | an optional pointer to pass extra data to the callback when it will be invoked. |
| [SDL_Window](SDL_Window) * | **window** | the window that the dialog should be modal for, may be NULL. Not all platforms support this option. |
| const [SDL_DialogFileFilter](SDL_DialogFileFilter) * | **filters** | a list of [SDL_DialogFileFilter](SDL_DialogFileFilter)'s, may be NULL. Not all platforms support this option, and platforms that do support it may allow the user to ignore the filters. |
| int | **nfilters** | the number of filters. Ignored if filters is NULL. |
| const char * | **default_location** | the default folder or file to start the dialog at, may be NULL. Not all platforms support this option. |
| | | |
| ---------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [SDL_DialogFileCallback](SDL_DialogFileCallback) | **callback** | a function pointer to be invoked when the user selects a file and accepts, or cancels the dialog, or an error occurs. |
| void * | **userdata** | an optional pointer to pass extra data to the callback when it will be invoked. |
| [SDL_Window](SDL_Window) * | **window** | the window that the dialog should be modal for, may be NULL. Not all platforms support this option. |
| const [SDL_DialogFileFilter](SDL_DialogFileFilter) * | **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. |
| int | **nfilters** | the number of filters. Ignored if filters is NULL. |
| const char * | **default_location** | the default folder or file to start the dialog at, may be NULL. Not all platforms support this option. |
## Remarks
Expand Down

0 comments on commit 97ec405

Please sign in to comment.