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

Method m_SetCurrentPath

ImGuiFileDialog.cpp:2702–2706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2700}
2701
2702void IGFD::FileManager::m_SetCurrentPath(std::vector<std::string>::iterator vPathIter) {
2703 m_CurrentPath = ComposeNewPath(vPathIter);
2704 IGFD::Utils::SetBuffer(inputPathBuffer, MAX_PATH_BUFFER_SIZE, m_CurrentPath);
2705 inputPathActivated = true;
2706}
2707
2708std::string IGFD::FileManager::GetResultingPath() {
2709 if (dLGDirectoryMode && m_SelectedFileNames.size() == 1) { // if directory mode with selection 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected