Open Mikewando opened 2 years ago
I recently used this framework to implement an application that uses the implot Immediate Mode Plotting library:
https://github.com/epezent/implot
I had to modify the Application.cpp file to create and destroy an ImPlot context inside of the ImGui::CreateContext / ImGui::DestroyContext:
Integration
ImGui::CreateContext(); ImPlot::CreateContext(); ... ImPlot::DestroyContext(); ImGui::DestroyContext();
just modify the source code to expose whatever you need, it's an MIT license after all...
For example I want to handle drag & drop events in my app. This is easy to do with GLFW by calling
glfwSetDropCallback(handle, callback)
. But the window handle isn't currently exposed so modifyingApplication.cpp
is necessary.If it's undesirable to expose GLFW I'd be fine with some other abstraction for setting the drop callback.