[PD-cvs] SF.net SVN: pure-data:[10434] trunk/externals/iem/iemguts/src/ autoabstraction.c
zmoelnig at users.sourceforge.net
zmoelnig at users.sourceforge.net
Wed Dec 10 09:29:19 CET 2008
Revision: 10434
http://pure-data.svn.sourceforge.net/pure-data/?rev=10434&view=rev
Author: zmoelnig
Date: 2008-12-10 08:29:19 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
better function-name (i couldn't remember what the autoabstraction_save() function was meant to do...)
Modified Paths:
--------------
trunk/externals/iem/iemguts/src/autoabstraction.c
Modified: trunk/externals/iem/iemguts/src/autoabstraction.c
===================================================================
--- trunk/externals/iem/iemguts/src/autoabstraction.c 2008-12-08 20:17:39 UTC (rev 10433)
+++ trunk/externals/iem/iemguts/src/autoabstraction.c 2008-12-10 08:29:19 UTC (rev 10434)
@@ -39,6 +39,7 @@
/* this is the name of the filename that get's loaded as a default template for new abstractions */
static char*s_templatefilename="autoabstraction.template";
/* if the loading above fails, we resort to a simple default abstraction that automatically opens up */
+/* LATER: make the font-size the same as the one used by Pd */
static char*s_templatestring="#N canvas 0 0 450 300 10; #X vis 1;";
@@ -72,7 +73,7 @@
static t_binbuf*s_bb=0;
-static void autoabstraction_save(t_canvas*canvas, char*classname) {
+static void autoabstraction_createpatch(t_canvas*canvas, char*classname) {
if(!s_state) {
/* autoabstraction turned off... */
return;
@@ -109,7 +110,7 @@
return(0);
}
- autoabstraction_save(canvas, classname);
+ autoabstraction_createpatch(canvas, classname);
/* we always fail, because we want Pd to do the real opening of abstractions */
return 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list