Re: [fltk.general] Fl_OpDesk again

2012-01-16 Thread Greg Ercolano
On 01/16/12 08:26, Bernhard Schönhammer wrote: > Hi again, > > just another small question: > > void Fl_OpBox::_RemoveButton(Fl_OpButton *but) > removes the but from inputs and outputs. Shouldn't it remove it from the > Fl_Group too? Yes, I'd agree. I don't think the te

[fltk.general] Fl_OpDesk again

2012-01-16 Thread Bernhard Schönhammer
Hi again, just another small question: void Fl_OpBox::_RemoveButton(Fl_OpButton *but) removes the but from inputs and outputs. Shouldn't it remove it from the Fl_Group too? Regards, Bernhard ___ fltk mailing list fltk@easysw.com http://lists.easysw.co

Re: [fltk.general] Fl_OpDesk

2012-01-12 Thread Greg Ercolano
On 01/12/12 09:08, Bernhard Schönhammer wrote: > I am just looking into the great Fl_OpDesk from Greg. > Just one question for now: > In Fl_OpDesk::Connect the line 542 reads: > if ( _ConnectOnly(srcbut, dstbut, errmsg) < 0 ) return(-1); > I think it should be "!= 0", because ConnectOnly returns

[fltk.general] Fl_OpDesk

2012-01-12 Thread Bernhard Schönhammer
Hi, I am just looking into the great Fl_OpDesk from Greg. Just one question for now: In Fl_OpDesk::Connect the line 542 reads: if ( _ConnectOnly(srcbut, dstbut, errmsg) < 0 ) return(-1); I think it should be "!= 0", because ConnectOnly returns 1, when already connected. Regards, Bernhard _

Re: [fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree"widgetfor FLTK

2010-02-21 Thread Greg Ercolano
Marcel Dejean wrote: > The package makes the incorrect assumption that if you're building on win32 > you're using MSVC++, and so it uses _sprintf_s. Right; that was a hack that should be changed to use fl_snprintf() instead, which is supposed to 'do the right thing' regardless of

Re: [fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree"widget for FLTK

2010-02-21 Thread Marcel Dejean
The package makes the incorrect assumption that if you're building on win32 you're using MSVC++, and so it uses _sprintf_s. I think the macro to check is _MSC_VER. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree"widget for FLTK

2010-02-21 Thread Greg Ercolano
Yes, I would think it'd be perfect esp. for teaching situations to show both how to /program/ trees to generate code, or where a teacher makes an app that does something where the program can then be used as a simulator, such as for laying out electronic circuits (see below). Docs need to be flesh

Re: [fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree" widget for FLTK

2010-02-20 Thread Robert Arkiletian
On Sat, Feb 20, 2010 at 11:03 AM, Greg Ercolano wrote: > Thought I'd put this here: > http://seriss.com/people/erco/fltk/Fl_OpDesk/ > > Builds on linux and windows, haven't tested on OSX yet. > > A more official release notice for this "mega widget" is forthcoming, > but thought I'd give you a pre

Re: [fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree" widget for FLTK

2010-02-20 Thread Matthias Melcher
On 20.02.2010, at 20:03, Greg Ercolano wrote: > Thought I'd put this here: > http://seriss.com/people/erco/fltk/Fl_OpDesk/ > > Builds on linux and windows, haven't tested on OSX yet. > > A more official release notice for this "mega widget" is forthcoming, > but thought I'd give you a preview.

[fltk.general] Fl_OpDesk -- A "Node Graph" or "Node Tree" widget for FLTK

2010-02-20 Thread Greg Ercolano
Thought I'd put this here: http://seriss.com/people/erco/fltk/Fl_OpDesk/ Builds on linux and windows, haven't tested on OSX yet. A more official release notice for this "mega widget" is forthcoming, but thought I'd give you a preview. ___ fltk mailing l