MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / OpenCurrentPath

Method OpenCurrentPath

ImGuiFileDialog.cpp:1853–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1851}
1852
1853void IGFD::FileManager::OpenCurrentPath(const FileDialogInternal& vFileDialogInternal) {
1854 showDevices = false;
1855 ClearComposer();
1856 ClearFileLists();
1857 if (dLGDirectoryMode) { // directory mode
1858 SetDefaultFileName(".");
1859 } else {
1860 SetDefaultFileName(dLGDefaultFileName);
1861 }
1862 ScanDir(vFileDialogInternal, GetCurrentPath());
1863}
1864
1865void IGFD::FileManager::SortFields(const FileDialogInternal& vFileDialogInternal) {
1866 m_SortFields(vFileDialogInternal, m_FileList, m_FilteredFileList);

Callers 4

DrawFilterComboBoxMethod · 0.80
EndFrameMethod · 0.80
m_DrawPlacesPaneMethod · 0.80
m_ExploreWithkeysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected