Add README.md

This commit is contained in:
Hane 2024-01-14 22:01:14 +01:00
commit 809a5abcd5
2 changed files with 63 additions and 3 deletions

View file

@ -126,7 +126,7 @@ enum WindowFlags {
FP_DIRECTORY_SELECT = (1<<4)
};
enum exitFlags {
enum ExitFlags {
EXIT_CONTINUE = (1<<0),
EXIT_SELECTED = (1<<1),
EXIT_CLOSED = (1<<2),
@ -762,14 +762,14 @@ int windowRendering(wchar_t* userPath, bool* windowOpen, int windowFlags = 0){
if(ImGui::Button("Select")) {
log_wdebugcpp(chosenPath << " TRIED TO RETURN");
ImGui::End();
return exitWindow(userPath, windowOpen, exitFlags::EXIT_SELECTED);
return exitWindow(userPath, windowOpen, ExitFlags::EXIT_SELECTED);
}
//listFlags = handleFolderAccessResult(listFlags, addrBarVal, &showError, error, ErrorMessages::addrBarError, history, currentPath, addrBarVal);
ImGui::End();
if(windowOpen) return EXIT_CONTINUE;
else return exitWindow(userPath, windowOpen, exitFlags::EXIT_CLOSED);
else return exitWindow(userPath, windowOpen, ExitFlags::EXIT_CLOSED);
}