From 735ed9822b4aa58fefac8a179d49cb09f93f8831 Mon Sep 17 00:00:00 2001 From: Luke Iannini Date: Thu, 18 Sep 2008 10:01:28 +0000 Subject: 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 --- core/saveclear-help.pd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 core/saveclear-help.pd (limited to 'core/saveclear-help.pd') 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; -- cgit v1.2.1