Releases: aiekick/ImGuiFileDialog
ImGuiFileDialog v0.5.5
ImGuiFileDialog v0.5.5
The main features are :
- Adding of C Api (succesfully tested with CImGui)
- Creation of a specific branch for Lib Only (with dirent included for win32)
- Adding of a splitter for Bookmarks/Side Panes
- ImGuITable is in base for ImGuiFileDialog. Since ImGuITable is merged in Master for last release of ImGui v1.80
- Can customize the DataTime Format in Table Date field
Some Function signature were changed by the way :
- FileDialog() become Display()
- CloseDialog() become Close, (no key needed for closing)
- IsOk var become a func IsOk()
- Pane callback signature become 'void(const char*, IGFDUserDatas, bool*)' was 'void(std::string, UserDatas, bool*)'
- Replacement of igfd:ImGuIFileDialog by just ImGuIFileDialog
- Replacement of igfd:UserDatas by IGFDUserDatas
the mains draw parts function are virtual now,
so you can customize according to your needs by derivation :
* virtual void DrawHeader(); // draw header part of the dialog (bookmark btn, dir creation, path composer, search bar)
* virtual void DrawContent(); // draw content part of the dialog (bookmark pane, file list, side pane)
* virtual bool DrawFooter(); // draw footer part of the dialog (file field, fitler combobox, ok/cancel btn's)
* virtual void DrawDirectoryCreation(); // draw directory creation widget
* virtual void DrawPathComposer(); // draw path composer widget
* virtual void DrawSearchBar(); // draw search bar
* virtual void DrawFileListView(ImVec2 vSize); // draw file list viexw
* virtual void DrawSidePane(float vHeight); // draw side pane
* virtual void DrawBookMark(); // draw bookmark button
Add many's comment in all of the header file
see other details :
Cat | Description |
---|---|
[VER] | IMGUIFILEDIALOG_VERSION passed to v0.5.5 |
[ADD] | C Api available. succesfully tested with CImGui |
[ADD] | creation of a branch for have the Lib_Only / separation of sample app and lib |
[ADD] | two way are possible for call ImGuiFileDialog / Singleton or instance (for multi instance by ex) |
[ADD] | add a define 'DateTimeFormat' for customize the date field. see strftime func in for customize it. default is "%Y/%m/%d %H:%M:%S" who give 2021:01:22 11:47:10 |
[ADD] | add a splitter for resize the pane |
[ADD] | add a way for force the close of the dialog without knowing the key |
[ADD] | add a way for know if a dialog is opened and what is the related key |
[RMV] | the directive USE_IMGUI_TABLE is removed, so cant be disabled. since ImGui v1.80 is released with the support of ImGuiTable in master, now ImGuiTable is in base |
[UPD] | update ImGui version to v1.80 in sample APP (branch master) |
[UPD] | update ImGuiTable flags |
[FIX] | fix warnings with MSVC |
[FIX] | fix issue on UNIX. all files was displayed in lowercase, some problemes for open directory and all returned path could be invalids. (@jackm97, #41) |
[FIX] | fis issue with new flag renaming for ImGui Table |
[FIX] | fix compilation issue when USE_BOOKMARK is undefined #39 |
[FIX] | fix issue on drives list (buffer overflow), issue with maxi used instead of mini |
[RFR] | some refactor on #define #else #endif (add comments) |
[RFR] | refactor for readability |
[UPD] | update ImGui version to v1.80 in sample APP (branch master) |
[UPD] | update ImGuiTable flags |
[IMP] | improvement of stamps. separation of version with and without panes |
[IMP] | add comment for any methods |
[IMP] | remove messy function stamp for dialog calls. |
ImGuiFileDialog v0.5.3.1
One New Feature :
A 'confirm to OverWrite dialog' exist now for prevent overwrite if file exist
My appologies :
The last release v0.5.3 was deleted because of a big mistake on the repo.
The content was not corresponding to the expected content
See the rest of the changes :
[FIX] : fix of display of ImGuiTable header
[ADD] : add returns cases in demo app for see what we obtain after the file dialog is closed
[FIX] : fix, when the file field is empty the ok button is hidden. before that the ok was not closing the dialog [issue #36]
[FIX] : only one dialog can be, now, displayed per frame. (before, many dialog was appended, and many cotnrol was unusable due to same id)
[ADD] : a func WasOpenedThisFrame for test if the dialog was opened during this frame
[ADD] : add ifndef for IS_FLOAT_DIFFERENT and IS_FLOAT_EQUAL
[ADD] : Add a 'confirm to OverWrite dialog' if file exist. just need to define the flag ImGuiFileDialogFlags_ConfirmOverwrite
[IMP] : Improvement, Update readme doc for the 'confirm to OverWrite dialog'
[IMP] : Improvement, the whole documentation added in the header code comment section. more convenient han the site but without gifs :)
{IMP] : Improvement, new case added in sample App for the 'confirm to OverWrite dialog'
[RFR] : Refactor, some func, vars, warnings fix
[VER] : Version, IMGUIFILEDIALOG_VERSION passed to v0.5.3
[ACT] : Action, reactivation of Osx Action, since the github action server have fixed the issue now
ImGuiFileDialog v0.5.2
fixed for last ImGui 1.80 WIP master (merge of table branch)
fixed issue #33
some refactoring too
obsolete imgui function disabled by default in sample app
not stable for production, will wait the release of ImGui 1.80
was changed becayse the table branch was merged in ImGui 1.80 WIP
ImGuiFileDialog v0.5.1
little fix regarding the Release 0.5
sorry :)
ImGuiFileDialog v0.5
[ADD] a input path edition mode :
if you click right on one of any button of the path, you can input or modify the path pointed by this button.
then press the validate key (Enter by default with GLFW) for validate the new path
or press the escape key (Escape by default with GLFW) for quit the input path edition
[FIX] : some fixs and refactoring
ImGuiFileDialog v0.4
[ADD] a bookmark system for create/edit/apply paths bookmarks
- You can customize it a bit with the custom config file
- You can use a specific name for a bookmark. you can edit this name by selecting the bookmark
- You can apply the bookmark with double click on it
- you can also serialize/deserialize bookmarks to string (by ex for load/save from/to file)
ImGuiFileDialog v0.3
[ADD] can explore file list and directories by keys :
- You can select files/directory (depending of the mode) on top/bottom and open/close directories
- you can alos customize used keys for your binding
- the selected file/directory flash for 1 sec (by default), but can be customized too
[ADD] can explore a file list via input character.
[IMPROVMENT] better fps for the file list displaying
- virtual list mode (better with big file list)
- all filtering is done one time or after filtering change (like by search tag)
ImGuiFileDialog v0.2
[ADD] The search is now case insensitive :
- all search tags in lower case will result to display lower and upper case files and directories
- all search tags in upper case will result to display only upper case files and directories
[ADD] The file list sorting is now case insensitive
[ADD] Support of custom filter names and filter collections (group of filter with custom filter group name)
- breaking change : the filter format is changed : '\0' is replaced by ',' +> see README.md for infos
ImGuiFileDialog v0.1
First release of ImGuiFileDialog.
ready for production
Features :
- Separate system for call and display
- Can use custom pane via function binding
- Support of Filter Custom Coloring / Icons / text
- Dialog size can be constraint by min / max size value
- Multi File/Directory Selection (one file, N files, or infinite)
- Support of Modal/Standard dialog Type
- Can be a File Chooser or Directory Chooser
- Can display table with file size/date by using ImGui Table branch (not merged in master at this moment)
- Successfully compiled / tested on Win32, MacOs and Linux
See Readme.md and sample app for more infos
you can access binaries for all os/builds in github "actions" tab