Documentation around creating gui components?
Hi,
I've been struggling a lot trying to figure out how to make a 2D drawing GUI component - my goal is to create a 2D drawing component to link to 3D objects. (Imagine a simple SVG like editor) I've spent a lot of time studying and reimplementing the charting component but it's still not apparent how to map 3D coordinates to GUI component coordinates - is there any documentation for this?
I think in general G3N has a really nice GUI component stack which isn't appreciated in the way of golang GUI options - but to make it really awesome it needs documentation.
Thanks
celer: i had the same case, the events didnt come to my handler. I was subscribing to the message on wrong object, take a look into g3nd/other/raycast.go. You need to call subscribe on Application object and then calculate the object behind click.
Hi @celer, I agree this needs more documentation. Unfortunately I don't currently have the bandwidth. I'm open to PRs if you or anyone is up for it.