From: <tim...@en...> - 2005-06-13 21:44:04
|
Nigel Nunn wrote: >Hi Timothee, Petr, Hans-Bernhard, > =20 > >>The attractiveness of the wx widget is that is NOT GPL, thus it=20 >>can be used in open source as well as for commercial applications. >> =20 >> > >I did a wxGnuplot class inside a threaded C++ wxSimulator, with a >"wxTerm" providing the familiar gnuplot command line; worked fine. >Only significant problem was that a simulator can really only have=20 >a single active plot, since some of the core gnuplot data is still >global. If these were wrapped in a struct, each plot could have=20 >its own gnuplot "data struct", and we could steer any number of=20 >wxGnuplot panels. Tim, sounds like a worthwhile project. > >Nigel > =20 > Thanks for supporting me ! I might need your experience some day... I have almost written my terminal, at least with the mandatory functions=20 to make gnuplot access it. I just implemented those calls and simulate=20 gnuplot action with some menus (_move, _vector, _graphics, etc). My next step is to make it work *inside* gnuplot, which should not be a=20 big problem, as I have prepared myself to call the wxwidgets library=20 without building a whole application, in the same way as Videolan or=20 Bochs, which both use it as a gui plugin. I have to declare some=20 remaining variables, and pay attention to those 'extern "C" ' magic words= ! I will continue and keep sending news to the list. Timoth=C3=A9e Lecomte |