@@ -760,7 +760,7 @@ ImGuiFileDialog::Instance()->ManageGPUThumbnails();
760760
761761The dialog can be embedded in another user frame than the standard or modal dialog
762762
763- You have to create a variable of type ImGuiFileDialog. (if you are suing the singleton, you will not have the
763+ You have to create a variable of type ImGuiFileDialog. (if you are using the singleton, you will not have the
764764possibility to open other dialog)
765765
766766ex :
769769ImGuiFileDialog fileDialog;
770770
771771// open dialog; in this case, Bookmark, directory creation are disabled with, and also the file input field is readonly.
772- // btw you can od what you want
772+ // btw you can do what you want
773773fileDialog.OpenDialog("embedded", "Select File", ".*", "", -1, nullptr,
774774 ImGuiFileDialogFlags_NoDialog |
775775 ImGuiFileDialogFlags_DisableBookmarkMode |
@@ -790,8 +790,8 @@ the result :
790790you have a separator between two directories in the path composer
791791when you click on it you can explore a list of parrallels directories of this point
792792
793- this feature is disabled by default
794- you can enable it with the compiler flag : flags
793+ this feature is enabled by default
794+ you can disable it with the flag : ImGuiFileDialogFlags_DisableQuickPathSelection
795795
796796you can also customize the spacing between path button's with and without this mode
797797you can do that by define the compiler flag : #define CUSTOM_PATH_SPACING 2
@@ -915,7 +915,7 @@ but you can modify them.
915915
916916There is 3 Modes :
917917```cpp
918- IGFD_ResultMode_AddIfNoFileExt [DEFAULT for
918+ IGFD_ResultMode_AddIfNoFileExt [DEFAULT]
919919This mode add the filter ext only if there is no file ext. (compatible multi layer)
920920ex :
921921 filter {.cpp,.h} with file :
@@ -981,6 +981,27 @@ to note :
981981 a collection {.a, .b.z} is a two dots filter, so a file toto.g.z will be replaced by toto.a
982982 a collection {.z; .b} is a one dot filter, so a file toto.g.z will be replaced by toto.g.a
983983
984+ ################################################################
985+ ## Custom FileSystem
986+ ################################################################
987+
988+ you can use your custom file system interface.
989+
990+ by default IGFD come with the File System Interfaces for Dirent or std::filesystem
991+ but you have now a FileSystem interface called IFileSystem who can be overrided with your needs
992+ by ex for android, emscripten, or boost
993+
994+ 2 steps :
995+
996+ 1) create a include file who must contain :
997+ - your override of IGFD::IFileSystem
998+ - a define of your class name in FILE_SYSTEM_OVERRIDE (ex : #define FILE_SYSTEM_OVERRIDE FileSystemBoost)
999+
1000+ 2) define your file system include file path in the preprocessor var "CUSTOM_FILESYSTEM_INCLUDE"
1001+ ex : #define CUSTOM_FILESYSTEM_INCLUDE "src/FileSystemBoost.hpp"
1002+
1003+ you can check the DemoApp who is using an override for the Boost::filesystem
1004+
9841005################################################################
9851006## How to Integrate ImGuiFileDialog in your project
9861007################################################################
0 commit comments