aboutsummaryrefslogtreecommitdiff
path: root/core/saveclear-help.pd
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-09-18 10:01:28 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-09-18 10:01:28 +0000
commit735ed9822b4aa58fefac8a179d49cb09f93f8831 (patch)
tree65f8aa13dd471fe764bc78801c2484b43de72bd7 /core/saveclear-help.pd
parent2e07534a6518180458b9c3ce4e48a5dbd294f25c (diff)
added [saveclear] for clearing dynamically generated subpatches on save, [storebang] for making gui lists of values, and added [import] statements to all patches in senderfruit
svn path=/trunk/abstractions/senderfruit/; revision=10297
Diffstat (limited to 'core/saveclear-help.pd')
-rw-r--r--core/saveclear-help.pd16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/saveclear-help.pd b/core/saveclear-help.pd
new file mode 100644
index 0000000..0a5a312
--- /dev/null
+++ b/core/saveclear-help.pd
@@ -0,0 +1,16 @@
+#N canvas 4 22 450 300 10;
+#X text 12 20 saveclear - send a "clear" message to a subpatch before
+the patch is saved.;
+#X obj 16 246 saveclear pd-\$0.my-subpatch;
+#X text 12 59 This is useful for dynamically generated subpatches whose
+contents should not be saved along with the patch.;
+#N canvas 0 22 450 300 \$0.my-subpatch 1;
+#X restore 201 246 pd \$0.my-subpatch;
+#X obj 40 104 loadbang;
+#X obj 40 189 s pd-\$0.my-subpatch;
+#X msg 40 128 msg 10 10 This content was dynamically generated on load
+- but it will be cleared before the patch is saved so that it does
+not exist in saveclear-help.pd \, obj 50 150 bng \, obj 100 100 vslider
+\, obj 150 150 hradio;
+#X connect 4 0 6 0;
+#X connect 6 0 5 0;