@@ -125,28 +125,27 @@ included in the Lib_Only branch for your convenience.
125125 - 0 => Infinite
126126 - 1 => One file (default)
127127 - n => n files
128- - Compatible with MacOs, Linux, Windows
129- - Windows version can list drives
128+ - Compatible with MacOs, Linux, Windows, Emscripten, Android
130129- Supports modal or standard dialog types
131130- Select files or directories
132131- Filter groups and custom filter names
133132- can ignore filter Case for file searching
134133- Keyboard navigation (arrows, backspace, enter)
135134- Exploring by entering characters (case insensitive)
136- - Directory place
135+ - Custom places (bookmarks, system devices, whatever you want)
137136- Directory manual entry (right click on any path element)
138137- Optional 'Confirm to Overwrite" dialog if file exists
139138- Thumbnails Display (agnostic way for compatibility with any backend, sucessfully tested with OpenGl and Vulkan)
140139- The dialog can be embedded in another user frame than the standard or modal dialog
141140- Can tune validation buttons (placements, widths, inversion)
142141- Can quick select a parrallel directory of a path, in the path composer (when you clikc on a / you have a popup)
143- - regex support for filters, collection of filters and filestyle (the regex is recognized when between (( and )) in a
144- filter)
142+ - regex support for filters, collection of filters and filestyle (the regex is recognized when between (( and )) in a filter)
145143- multi layer extentions like : .a.b.c .json.cpp .vcxproj.filters etc..
146- - advanced behavior regarding asterisk based filter. like : .* .*.* .vcx.* .*.filters .vcs*.filt.* etc.. (internally
147- regex is used)
148- - result modes GetFilePathName, GetFileName and GetSelection (overwrite file ext, keep file, add ext if no user ext
149- exist)
144+ - advanced behavior regarding asterisk based filter. like : .* .*.* .vcx.* .*.filters .vcs*.filt.* etc.. (internally regex is used)
145+ - result modes GetFilePathName, GetFileName and GetSelection (overwrite file ext, keep file, add ext if no user ext exist)
146+ - you can use your own FileSystem Api
147+ - by default Api Dirent and std::filesystem are defined
148+ - you can override GetDrieveList for specify by ex on android other fs, like local and SDCards
150149
151150################################################################
152151## Filter format
@@ -1079,15 +1078,19 @@ the DemoApp branch with the "quick access" paths of win10
10791078You must add a group first, then add a place to it :
10801079
10811080```cpp
1082- // you must add a group first, specifu display order, and say if the user can add or remove palce like (bookmarks)
1083- ImGuiFileDialog::Instance()->AddPlacesGroup(group_name, display_order, can_be_user_edited);
1081+ // you must add a group first, specifu display order, and say :
1082+ // if the user can add or remove palce like (bookmarks)
1083+ // if the group is opened by default
1084+ ImGuiFileDialog::Instance()->AddPlacesGroup(group_name, display_order, can_be_user_edited, opened_by_default);
10841085// then you must get the group
10851086auto places_ptr = ImGuiFileDialog::Instance()->GetPlacesGroupPtr(group_name);
10861087if (places_ptr != nullptr) {
10871088 // then add a place to the group
10881089 // you msut specify the place name, the palce path, say if the palce can be serialized, and sepcify the style
10891090 // for the moment the style support only the icon, can be extended if user needed in futur
10901091 places_ptr->AddPlace(place_name, place_path, can_be_saved, style);
1092+ // you can also add a separator
1093+ places_ptr->AddPlaceSeparator(separator_thickness);
10911094}
10921095```
10931096
@@ -1101,8 +1104,6 @@ Load => ImGuiFileDialog::Instance()->DeserializePlaces(placesString);
11011104Save => std::string placesString = ImGuiFileDialog::Instance()->SerializePlaces();
11021105```
11031106
1104- (please see DemoApp branch for details)
1105-
11061107################################################################
11071108## How to Integrate ImGuiFileDialog in your project
11081109################################################################
0 commit comments