Skip to content

Julianiolo/ImGuiFD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImGuiFD

A Dear ImGui based File Dialog without any extra dependencies (not even STL!).

Usage

ImGui like design:

if(...) {
  ImGuiFD::OpenDirDialog("Choose Dir", ".");
}

std::string path;
if (ImGuiFD::BeginDialog("Choose Dir")) {
    if (ImGuiFD::ActionDone()) {
        if (ImGuiFD::SelectionMade()) {
            path = ImGuiFD::GetSelectionPathString(0);
        }
        ImGuiFD::CloseCurrentDialog();
    }

    ImGuiFD::EndDialog();
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages