Also, this would be a great update for libpd & alternate/custom UIs.
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Nov 10, 2015, at 8:01 AM, pd-dev-request@lists.iem.at wrote:
The real way to fix this is to make pd know as little as possible about the GUI stuff, then things can be handled much better in pd-gui. If you are going to put work into this, the best approach is also a more incremental approach. This approach will also easily give Pd a scalable GUI.
- look for any sys_vgui() call in pd that sends raw Tcl
- convert this to a pd message one at a time
- push the logic to pd-gui as much as possible
For example, take src/g_vumeter.c. The drawing should all happen in Tcl/pd-gui. Pd should just send the values to be drawn. Same goes with g_array.c.