MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / SetDefaultFileName

Method SetDefaultFileName

external/ImGuiFileDialog/ImGuiFileDialog.cpp:2494–2497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2492}
2493
2494void IGFD::FileManager::SetDefaultFileName(const std::string& vFileName) {
2495 dLGDefaultFileName = vFileName;
2496 IGFD::Utils::SetBuffer(fileNameBuffer, MAX_FILE_DIALOG_NAME_BUFFER, vFileName);
2497}
2498
2499bool IGFD::FileManager::SelectDirectory(const std::shared_ptr<FileInfos>& vInfos) {
2500 if (!vInfos.use_count()) return false;

Callers 2

configureDialogMethod · 0.80
DisplayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected