Releases: aiekick/ImGuiFileDialog
ImGuiFileDialog v0.6.7
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)
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 :
After :
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
ImGuiFileDialog v0.6.6.1
Little Release
due to a compilation mistake with the std::filesysem
not seen with the github actions because of a bad configuration of the CMakeList.txt
Changes of ImGuiFileDialog v0.6.6 :
We have reached the threshold of 1k stars. thanks all
Main changes :
-
Custom File System Api :
you can now use your own file system api.
the defaults available apis are Dirent (cpp11) and std::filesystem (cpp17)
via this file system interface you can customize the drives list.
Can be usefull by ex on android for select "local" or "sd cards" fs.
see the DemoApp for an example implementation for boost::filesystem -
Support of MultiLayer extentions (toto.a.b.c)
Misc :
- Support of Dear ImGui 1.90.1
- The lib is now in master branch, the app in DemoApp branch
- many improvements about resulting in directory mode or file mode
- For panes uses cases you need to call OpenDialogWithPane
- Add result modes for GetFilePathName, GetFileName, getSelection. let you control how the file ext will be replaced
- The quick path selection is now default, no more a define, but now a flag for disable it
- The combo box auto size is no the default behavior
- Removal of the hovered flags (useless)
- The modal mode, hidden type column, and confirm overwrite are not default flags (more common use case)
Fixes :
ImGuiFileDialog v0.6.6
We have reached the threshold of 1k stars. thanks all
Main changes :
-
Custom File System Api :
you can now use your own file system api.
the defaults available apis are Dirent (cpp11) and std::filesystem (cpp17)
via this file system interface you can customize the drives list.
Can be usefull by ex on android for select "local" or "sd cards" fs.
see the DemoApp for an example implementation for boost::filesystem -
Support of MultiLayer extentions (toto.a.b.c)
Misc :
- Support of Dear ImGui 1.90.1
- The lib is now in master branch, the app in DemoApp branch
- many improvements about resulting in directory mode or file mode
- For panes uses cases you need to call OpenDialogWithPane
- Add result modes for GetFilePathName, GetFileName, getSelection. let you control how the file ext will be replaced
- The quick path selection is now default, no more a define, but now a flag for disable it
- The combo box auto size is no the default behavior
- Removal of the hovered flags (useless)
- The modal mode, hidden type column, and confirm overwrite are not default flags (more common use case)
Fixes :
ImGuiFileDialog v0.6.5
The main changes are :
- Support of Dear ImGui 1.89.5
- Full rewrite of filter parsing
- The Regex's are now supported for Filtering and File Styling
- Add the support of File Styling by Lambda Function
See Readme file
ImGuiFileDialog v0.6.4
little update for ImGui 1.87
The dialog can be :
- embedded in your imgui window now
- can have ok and cancel button with different widths and placements
- can disable with flags the display of the boobkmark
- can display a popup of parallels directory with the path separator '' or '/' of the path composer
see changes :
[ADD] : add a / between path in the composer. when you clik left on it, you have a popup of paralle directory, you can select
[ADD] : can invert the ok and cancel buttons (with the define invertOkAndCancelButtons)
[ADD] : add a way for tune the width of validation buttons, ok and cancel (defines okButtonWidth and cancelButtonWidth)
[ADD] : add a way for tune the position of the validations buttons. okCancelButtonAlignement is a ratio
by ex 0.0 is left, 0.5 middle, 1.0 right, and other ratios
[ADD] : add a way to disable the display of bookmark feature by the flag ImGuiFileDialogFlags_DisableBookmarkMode
[ADD] : add a way for embbed the FIleDialog in a user imgui begin/end scope, let inetrgate the dialog in any windows.
just need to use the flag ImGuiFileDialogFlags_NoDialog
ImGuiFileDialog v0.6.3
add a new style system for file / dir / links
- can be used for define color, icon, font
- can be used for define global style for all files / dirs / links
add IGFD_FileStyleFlags
- IGFD_FileStyleByTypeFile mean define style for all files
- IGFD_FileStyleByTypeDir mean define style for all dir
- IGFD_FileStyleByTypeLink mean define style for all link
- IGFD_FileStyleByExtention mean define style by extention, for files or links
- IGFD_FileStyleByFullName mean define style for particular file/dir/link full name (filename + extention)
- IGFD_FileStyleByContainedInFullName mean define style for file/dir/link when criteria is contained in full name
BREAKING CHANGE :
- IGFD::FileExtentionInfos become IGFD::FileStyle
- CPP : ImGuiFileDialog::SetExtentionInfos become ImGuiFileDialog::SetFileStyle(IGFD_FileStyleByExtention,
- CPP : ImGuiFileDialog::GetExtentionInfos become ImGuiFileDialog::GetFileStyle(IGFD_FileStyleByExtention,
- CPP : ImGuiFileDialog::ClearExtentionInfos become ImGuiFileDialog::ClearFilesStyle
- C : IGFD_SetExtentionInfos become IGFD_SetFileStyle
- C : IGFD_GetExtentionInfos become IGFD_GetFileStyle
- C : IGFD_ClearExtentionInfos become IGFD_ClearFilesStyle
ImGuiFileDialog v0.6.2
Add the support of std::filesystem for replace dirent.h
need c++17 btw.
you just need to uncomment
#define USE_STD_FILESYSTEM
in the config file
ImGuiFileDialog v0.6.1
some fixs for complete the release v0.6
ImGuiFileDialog v0.6
Full rewrite of ImGuIFileDialog for Thumbnails display.
The texture creation and destroy is made in a agnostic way.
Successfully tested on OpenGl and Vulkan
you can check the Readme and the sample app in master branch
In test from 5 months on my softwares so i release it.
hope will be ok for all :-)
ImGuiFileDialog v0.5.6
fixed version for ImGui 1.84.2