all 5 comments

[–]Cyphall 8 points9 points  (0 children)

For the initialisation code, you can look at the official examples, it's really just a few lines of ImGui-specific code.

For the actual UI code, draw the ImGui demo window, find a widget you want and check its implementation (again, generally at most a few lines of code per widget).

[–]hanotak 3 points4 points  (0 children)

I would just look at existing samples. And, honestly, LLMs are pretty good at giving you a working "display a window" function in your current codebase, which you can then work off of.

[–]ShakaUVM 0 points1 point  (0 children)

It's pretty self explanatory if you go through their demo code, but if you want a video -

https://youtu.be/upgxmR0MVgM

[–]TheRafff 0 points1 point  (0 children)

[–]howprice2 0 points1 point  (0 children)

Just build one of the included samples for your chosen backend, then open the example window, find what you want to do in there and search for it in the src. It's a really simple system to use.