15 #ifndef IMGUI_FILESYSTEM_H_
16 #define IMGUI_FILESYSTEM_H_
71 Dialog(
bool noKnownDirectoriesSection=
false,
bool noCreateDirectorySection=
false,
bool noFilteringSection=
false,
bool detectKnownDirectoriesAtEachOpening=
false,
bool addDisplayByOption=
false,
bool dontFilterSaveFilePathsEnteredByTheUser=
false);
78 const char*
chooseFileDialog(
bool dialogTriggerButton,
const char* directory=NULL,
const char* fileFilterExtensionString=NULL,
const char* windowTitle=NULL,
const ImVec2& windowSize=
ImVec2(-1,-1),
const ImVec2& windowPos=
ImVec2(-1,-1),
const float windowAlpha=0.875f);
79 const char*
chooseFolderDialog(
bool dialogTriggerButton,
const char* directory=NULL,
const char* windowTitle=NULL,
const ImVec2& windowSize=
ImVec2(-1,-1),
const ImVec2& windowPos=
ImVec2(-1,-1),
const float windowAlpha=0.875f);
80 const char*
saveFileDialog(
bool dialogTriggerButton,
const char* directory=NULL,
const char* startingFileNameEntry=NULL,
const char* fileFilterExtensionString=NULL,
const char* windowTitle=NULL,
const ImVec2& windowSize=
ImVec2(-1,-1),
const ImVec2& windowPos=
ImVec2(-1,-1),
const float windowAlpha=0.875f);
88 struct Internal*
internal;
89 friend const char*
ChooseFileMainMethod(
Dialog& ist,
const char* directory,
const bool _isFolderChooserDialog,
const bool _isSaveFileDialog,
const char* _saveFileName,
const char* fileFilterExtensionString,
const char* windowTitle,
const ImVec2& windowSize,
const ImVec2& windowPos,
const float windowAlpha);
95 #endif //IMGUI_FILESYSTEM_H_
const char * chooseFileDialog(bool dialogTriggerButton, const char *directory=NULL, const char *fileFilterExtensionString=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f)
Dialog(bool noKnownDirectoriesSection=false, bool noCreateDirectorySection=false, bool noFilteringSection=false, bool detectKnownDirectoriesAtEachOpening=false, bool addDisplayByOption=false, bool dontFilterSaveFilePathsEnteredByTheUser=false)
const int MAX_FILENAME_BYTES
friend const char * ChooseFileMainMethod(Dialog &ist, const char *directory, const bool _isFolderChooserDialog, const bool _isSaveFileDialog, const char *_saveFileName, const char *fileFilterExtensionString, const char *windowTitle, const ImVec2 &windowSize, const ImVec2 &windowPos, const float windowAlpha)
const char * getLastDirectory() const
const char * getChosenPath() const
const char * saveFileDialog(bool dialogTriggerButton, const char *directory=NULL, const char *startingFileNameEntry=NULL, const char *fileFilterExtensionString=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f)
const char * chooseFolderDialog(bool dialogTriggerButton, const char *directory=NULL, const char *windowTitle=NULL, const ImVec2 &windowSize=ImVec2(-1,-1), const ImVec2 &windowPos=ImVec2(-1,-1), const float windowAlpha=0.875f)