Hello everyone, I felt down the rabbit hole of trying to build some desktop app's GUI.
I'm using the dwm lib from Deno Windowing, and I managed to open a new window following the tutos. I went through the imgui2.ts example which showcases lots of widgets, from buttons to more advanced structures. Still I can't seem to understand how to create a simple widget, be it a button, a checkbox, or anything else..
The file itself contains the code to print a cube and make it rotate in 3dimensions and the demoWindow but nothing more. I then went to the showDemoWindow() definition; to the skia canvas repo, and many other resources. I lost my mind ending in the c++ repository of ocornut's imgui but more than probably I missed something on the way.
I think the context thing is what makes me bug somehow.. there is the window context, and the canvas context, which are different, I suppose.. right? right ?
So I probably should act on the canvas context to build the GUI.
My code crashes instantly if I un-comment the 2 commented lines - the rest of it is the same as imgui2.ts, I just removed the rotating cube part pretty much. That is the window gets opened then instantly closed.
If someone could point me to the right direction it would be awesome ❤️
Also, sorry for the noobism lmao x)
PS: should I tag dwm's repo maintainers ?