Hi everyone. Just a quick note that it was really easy to get ImGui to support Haiku by adding the following to imgui_impl_opengl3.cpp (somewhere near the top).
That’s all that is required (dont forget to link to libGL.so and the project I used has glfw3 backend. Tested with glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); and glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
I’ve sent a patch request to ocornut (developer of ImGui), so it’s in review, but until it gets accepted, you can easily get ImGui working with Haiku.
Nice! I love Dear ImGui - have only used it once or twice but is’t excellent when you want to get some kind of UI up and running fast over a frame buffer
For HiRes monitors, the size of gui elements should be doubled. I don’t know if this can be done easily in this ImGui. Or maybe this ImGui can take into account the ppi of the monitor? That would be even better.
…I tried the Windows exe demos on wine (in Linux).