Update for async API breaking change, adding default filename

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-06 23:39:50 +01:00
parent 26785f2d75
commit 4c326f5f39
23 changed files with 96 additions and 34 deletions

View file

@ -68,7 +68,7 @@
// opens a file browser, startDir and title can be null
// action is always triggered on close (path can be null), must be freed if not null
void async_dialog_filebrowser(bool saving, const char* startDir, const char* title,
void async_dialog_filebrowser(bool saving, const char* defaultName, const char* startDir, const char* title,
std::function<void(char* path)> action);
// opens a message dialog with only an "ok" button