prepare to add default file name to NFD
for auto-fill file name when saving
This commit is contained in:
parent
8254d6e027
commit
29658ce726
3 changed files with 18 additions and 9 deletions
9
extern/nfd-modified/src/include/nfd.h
vendored
9
extern/nfd-modified/src/include/nfd.h
vendored
|
|
@ -40,19 +40,22 @@ typedef enum {
|
|||
nfdresult_t NFD_OpenDialog( const std::vector<std::string>& filterList,
|
||||
const nfdchar_t *defaultPath,
|
||||
nfdchar_t **outPath,
|
||||
nfdselcallback_t selCallback = NULL );
|
||||
nfdselcallback_t selCallback = NULL,
|
||||
const nfdchar_t *defaultFileName = NULL );
|
||||
|
||||
/* multiple file open dialog */
|
||||
nfdresult_t NFD_OpenDialogMultiple( const std::vector<std::string>& filterList,
|
||||
const nfdchar_t *defaultPath,
|
||||
nfdpathset_t *outPaths,
|
||||
nfdselcallback_t selCallback = NULL );
|
||||
nfdselcallback_t selCallback = NULL,
|
||||
const nfdchar_t *defaultFileName = NULL );
|
||||
|
||||
/* save dialog */
|
||||
nfdresult_t NFD_SaveDialog( const std::vector<std::string>& filterList,
|
||||
const nfdchar_t *defaultPath,
|
||||
nfdchar_t **outPath,
|
||||
nfdselcallback_t selCallback = NULL );
|
||||
nfdselcallback_t selCallback = NULL,
|
||||
const nfdchar_t *defaultFileName = NULL );
|
||||
|
||||
|
||||
/* select folder dialog */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue