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

Method SetCurrentPath

ImGuiFileDialog.cpp:2425–2430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2423}
2424
2425void IGFD::FileManager::SetCurrentPath(const std::string& vCurrentPath) {
2426 if (vCurrentPath.empty())
2427 m_CurrentPath = ".";
2428 else
2429 m_CurrentPath = vCurrentPath;
2430}
2431
2432void IGFD::FileManager::SetDefaultFileName(const std::string& vFileName) {
2433 dLGDefaultFileName = vFileName;

Callers 4

EndFrameMethod · 0.80
configureDialogMethod · 0.80
m_DrawPlacesPaneMethod · 0.80
m_DisplayPathPopupMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected