Skip to content

ImGuiFileDialog v0.6.7

Latest
Compare
Choose a tag to compare
@aiekick aiekick released this 21 Feb 17:35
· 36 commits to master since this release

New Features

The new function stamps [BREAKING CHANGE]

there is now only one function stamp "OpenDialog" for all cases and for simplify futur additions
for customize the behavior you must pass to the function a IGFD::FileDialogConfig struct
See doc and DemoApp branch for infos of how to use it.

The new "Places" system [BREAKING CHANGE]

This release introduce a new "Places" system like we can see in many file explorers
The bookmarks and drives are now moved in the left side pane
See doc and DemoApp branch for infos of how to use it.

With this new system you can now add groups of links like the "shortcuts" on "recent" files on windows.
You can add many editable group like bookmarks
you can add your devices (replacing drives who was only available on windows)
and/or what you want or all systems

Example of what can be done : (see the left pane with the places)
alt text

The new callback for modify the file infos during scan

you can now change file infos during the file system scans by a user provided callback passed to the IGFD::FileDialogConfig
with this feature you can now by ex get the bin size corresponding to a gltf file (since the datas is in a separated file)
See doc and DemoApp branch for infos of how to use it.

ex in the DemoApp with a gltf files
Before the Use of the userAttribute callback :
user_files_attributes_before.png
After :
user_files_attributes_after.png

Fixes

  • Fix: prevent possible relative path on non-UNIX systems (Windows)
  • Replace busy waiting with condition variable, fix race condition
  • Fix memory leaks that were reported by LeakSanitizer on linux