Hey all, I have two Nim GUI programs running and would like to know the easiest way to get them to communicate
Gui 1. Is 3d physics environment using opengl, all wrapped in nim, I have the mainloop Gui 2. Is a nim IUP gui (uses nim IUP nimble package) with panels, buttons etc I would like the buttons & controls in Gui 2 to affect what's happening in Gui 1 Not sure of the best way - I can spawn gui2 from gui1, but data passing is limited to simple global vars. Ideally I would like some kind of event queue / message queue, I'm happy to write all my own event types, but not sure where to start ? There's threads, threadpool, asyncnet, sockets and all kinds of nim libs. There's also packages/wrappers for nanomsg.nim and zmq etc where to begin? what's the easiest way? I just need to pass events like eg. ['rotate', item 1, 1.5] or ['colour', item 4, 0,255,0] etc, simple stuff.. Many thanks
