| 4995 | } |
| 4996 | |
| 4997 | IGFD_C_API bool IGFD_DisplayDialog(ImGuiFileDialog* vContextPtr, const char* vKey, ImGuiWindowFlags vFlags, ImVec2 vMinSize, ImVec2 vMaxSize) { |
| 4998 | if (vContextPtr != nullptr) { |
| 4999 | return vContextPtr->Display(vKey, vFlags, vMinSize, vMaxSize); |
| 5000 | } |
| 5001 | return false; |
| 5002 | } |
| 5003 | |
| 5004 | IGFD_C_API void IGFD_CloseDialog(ImGuiFileDialog* vContextPtr) { |
| 5005 | if (vContextPtr != nullptr) { |