what's canvas_stowconnections? what's canvas_restoreconnections? what is their purpose? i'm trying to figure this out...
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
On Fri, 1 Sep 2006, Mathieu Bouchard wrote:
what's canvas_stowconnections? what's canvas_restoreconnections? what is their purpose? i'm trying to figure this out...
and also, if I google for canvas_stowconnections the first hit is something called "Pure Data Source Documentation" on a site that doesn't respond, 0x09.com; anyone knows whose it is and what's the matter with it?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
"stowconnections" saves the connections to and from an object in preparation for replacing it with a new one (for instance, when you type into a box to change the object). "restoreconnections" tries to reconnect the new object as the old one was. I don't know why this was exported to a ".h" file... perhaps someone asked me to do it sometime in the past...
cheers M
On Fri, Sep 01, 2006 at 05:25:11PM -0400, Mathieu Bouchard wrote:
what's canvas_stowconnections? what's canvas_restoreconnections? what is their purpose? i'm trying to figure this out...
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t?l:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montr?al QC Canada
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
On Fri, 1 Sep 2006, Miller Puckette wrote:
"stowconnections" saves the connections to and from an object in preparation for replacing it with a new one (for instance, when you type into a box to change the object). "restoreconnections" tries to reconnect the new object as the old one was.
Thanks, but I understood this already, hence the mail that says "nevermind".
I don't know why this was exported to a ".h" file... perhaps someone asked me to do it sometime in the past...
A lot of stuff in g_canvas.h has nothing to do with anything any sane external should use... including functions that don't exist anymore... which is why I started cleaning up my fork of g_canvas.h.
I think that the problem occurs because a lot of code is separated in several files. In my fork, all the g_*.c code is together in one file, which makes many lines of g_canvas.h unneeded. Separate compilation isn't itself bad, it's that g_canvas.h doesn't distinguish between what's intended as a public API and what's not, which may be primarily because g_canvas.h was never intended as a public API.
BTW I don't think that breaking down the program into such small parts is useful anymore, because compiling the whole GUI only takes a few seconds.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
On Fri, 1 Sep 2006, Mathieu Bouchard wrote:
what's canvas_stowconnections? what's canvas_restoreconnections? what is their purpose? i'm trying to figure this out...
nevermind...
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada