Presents the user with a file-open dialog and returns the selected file path. The dialog optionally begins at the path \a initialPath and can be limited to allow selection of files ending in the extensions enumerated in \a extensions. If the active app is in full-screen mode it will temporarily switch to windowed-mode to present the dialog. \return the selected file path or an empty string if th
| 576 | If the active app is in full-screen mode it will temporarily switch to windowed-mode to present the dialog. |
| 577 | \return the selected file path or an empty string if the user cancelled. **/ |
| 578 | inline fs::path getOpenFilePath( const fs::path &initialPath = fs::path(), std::vector<std::string> extensions = std::vector<std::string>() ) { return AppBase::get()->getOpenFilePath( initialPath, extensions ); } |
| 579 | |
| 580 | //! Presents the user with a file-save dialog and returns the selected file path. |
| 581 | /** The dialog optionally begins at the path \a initialPath and can be limited to allow selection of files ending in the extensions enumerated in \a extensions. |