by mmozeiko · 7y ago · 0 comments
https://pbrfrat.com/post/imgui_in_browser.html
For modal demo check "Popups & modal windows" -> "Modals" example.
This is how it looks in C++ code: https://github.com/ocornut/imgui/blob/master/imgui_demo.cpp#...
https://greggman.github.io/doodles/glfw-imgui/out/glfw-imgui...
In the "ImGUI Demo" window start expanding the collapsed items or from the menus pick "Examples"
Note that no effort has been spent to actually make the demo web browser friendly so there are rough edges.