Revision: 10388 http://pure-data.svn.sourceforge.net/pure-data/?rev=10388&view=rev Author: zmoelnig Date: 2008-11-26 08:20:57 +0000 (Wed, 26 Nov 2008)
Log Message: ----------- more TODO
Modified Paths: -------------- trunk/externals/iem/iemguts/src/savebangs.c
Modified: trunk/externals/iem/iemguts/src/savebangs.c =================================================================== --- trunk/externals/iem/iemguts/src/savebangs.c 2008-11-25 18:43:04 UTC (rev 10387) +++ trunk/externals/iem/iemguts/src/savebangs.c 2008-11-26 08:20:57 UTC (rev 10388) @@ -3,9 +3,9 @@ * * propertybang - implementation file * - * copyleft (c) IOhannes m zm-b\xF6lnig-A + * copyleft (c) IOhannes m zm\xF6lnig * - * 2007:forum::f-b\xFCr::uml\xE4ute:2007-A + * 2007:forum::f\xFCr::uml\xE4ute:2007 * * institute of electronic music and acoustics (iem) * @@ -31,6 +31,12 @@ * TODO: how does this behave in sub-patches? * -> BUG: the depth should _really_ refer to the abstraction-depth * else we get weird duplicates (most likely due to the "$0" trick + * + * TODO: make [savebangs] do something on top-level + * that is: if the patch the [savebangs] is in gets saved, [savebangs] will fire + * think (a little) about how the args to savebang have to look like to make it compatible with the [canvas*] stiff + * + * TODO: maintain our own list of [savebangs] to be called per abstraction rather than using the $0-trick */
#include "m_pd.h" @@ -169,12 +175,12 @@ canvas=canvas->gl_owner; depth--; } - + if(canvas) { class=((t_gobj*)canvas)->g_pd; x->x_d0=canvas_realizedollar(canvas, gensym("$0 savebangs")); pd_bind(&x->x_obj.ob_pd, x->x_d0); - + add_savefn(class); class_setsavefn(class, savebangs_savefn); } else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.