Closed MichaelKv closed 3 years ago
Hi,
Thanks for the detailed description.
I have removed HELLOIMGUI_USE_SDL_DIRECTX11 : it was here, but not implemented; sorry for that (pull requests that add interesting features like this are very welcome of course ;-)
I have fixed the issue with ImGuiConfigFlags_ViewportsEnable: see https://github.com/pthom/hello_imgui/commit/53e9262d22e02346dee2dafd677d620c7b84dd3b The demo hello_imgui_demodocking will show it working.
Remark: you do not need to modify SetupDefaultImGuiConfig() in hello_imgui in order to activate it; you can simply write this somewhere in your initialization:
HelloImGui::RunnerParams runnerParams;
...
runnerParams.callbacks.SetupImGuiConfig = [] {
ImGuiIO& io = ImGui::GetIO();
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
#ifndef __EMSCRIPTEN__
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
#endif
};
Please tell me if the issue is fixed on your side :-)
It works now. Thank you. But why do you use exception in FactorRunner if there is no backend? I do not think an application can work in this case at all so it would be more logical to emit an error in this case during the compilation.
See c463e934f8764e75cb047ac5f594d40e13459022 , I added a check for that.
I close this issue, since everything should be ok now
Hello. I have two questions.