Revamped File Dialog to closely resemble Windows one.
Changelog
- 3 Different modes are supported currently.
OPEN
for opening files,SAVE
for saving files anSELECT
for selecting a directory. - There is only a single function call now
showFileDialog()
. ADialogMode
enum is exposed (with values defined above) publicly which allows switching between different modes. - The selected file/folder name and the absolute path can be accessed separately through
selected_fn
andselected_path
respectively.