From 21e28b964a33fe8d02a37f2c9197b1f7fb1fdbf0 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Wed, 16 Sep 2009 19:49:09 +0000 Subject: Added a help patch svn path=/trunk/externals/tof/; revision=12377 --- test/paramFile.pd | 45 --------------------------------------------- test/paramGui-help.pd | 35 +++++++++++++++++++++++++++++++++++ test/paramGui.pd | 4 ++-- 3 files changed, 37 insertions(+), 47 deletions(-) delete mode 100644 test/paramFile.pd create mode 100644 test/paramGui-help.pd (limited to 'test') diff --git a/test/paramFile.pd b/test/paramFile.pd deleted file mode 100644 index 7142b6b..0000000 --- a/test/paramFile.pd +++ /dev/null @@ -1,45 +0,0 @@ -#N canvas 1115 286 849 405 10; -#X obj 151 128 paramDump; -#X obj 151 156 list prepend add; -#X obj 151 184 list trim; -#X msg 414 219 clear; -#X obj 132 80 t s b b; -#X obj -89 236 zexy/msgfile; -#X msg 81 128 write \$1; -#X obj -89 272 list trim; -#X obj -89 305 maxlib/remote; -#X obj -100 -19 route load save; -#X obj -100 -47 inlet; -#X msg -89 102 clear \, read \$1 \, flush; -#X obj 42 33 makefilename \$1%d.param; -#X obj -89 71 symbol \$1.param; -#X obj 195 50 symbol \$1.param; -#X obj 42 5 route float; -#X obj -152 21 route float; -#X obj -89 43 b; -#X obj 195 22 b; -#X obj -260 64 makefilename \$1%d.param; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 2 0 5 0; -#X connect 3 0 5 0; -#X connect 4 0 6 0; -#X connect 4 1 0 0; -#X connect 4 2 3 0; -#X connect 5 0 7 0; -#X connect 6 0 5 0; -#X connect 7 0 8 0; -#X connect 9 0 16 0; -#X connect 9 1 15 0; -#X connect 10 0 9 0; -#X connect 11 0 5 0; -#X connect 12 0 4 0; -#X connect 13 0 11 0; -#X connect 14 0 4 0; -#X connect 15 0 12 0; -#X connect 15 1 18 0; -#X connect 16 0 19 0; -#X connect 16 1 17 0; -#X connect 17 0 13 0; -#X connect 18 0 14 0; -#X connect 19 0 11 0; diff --git a/test/paramGui-help.pd b/test/paramGui-help.pd new file mode 100644 index 0000000..8e07d8e --- /dev/null +++ b/test/paramGui-help.pd @@ -0,0 +1,35 @@ +#N canvas 228 199 663 465 10; +#X obj 34 424 paramGui; +#X obj -13 32 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577 +0; +#X text -8 84 author: mrtoftrash@gmail.com; +#X text -9 105 version: 2009-04-14 (initial release); +#X text -8 31 description: builds interfaces out of pd guis for params. +; +#X text -9 63 tags: param gui; +#X obj 34 338 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 52 221 param /pGUIexample 0 /gui nbx; +#X floatatom 52 242 5 0 0 0 - - -; +#X text -10 152 gui flag: when creating a param object \, you can append +a gui flag (/gui) that will indicate the type of pd object that will +be created and linked to that param. For example \, the following will +create a number box:; +#X text 388 215 Current /gui options:; +#X text 390 238 /gui nbx; +#X text 390 253 /gui bng; +#X text 391 288 /gui hsl (min) (max); +#X text 391 270 /gui tgl; +#X text 389 305 /gui symbolatom; +#X msg 65 357 /; +#X text 55 337 Bang: build guis for all params that have a gui flag. +; +#X text 93 357 /: builds guis for all params that have a gui flag and +that are at the root level.; +#X msg 91 390 /id; +#X text 125 390 /(id): builds guis for all params that have a gui flag +and that are inside the abstraction with this id.; +#X connect 6 0 0 0; +#X connect 7 0 8 0; +#X connect 16 0 0 0; +#X connect 19 0 0 0; diff --git a/test/paramGui.pd b/test/paramGui.pd index b98388c..f0f7670 100644 --- a/test/paramGui.pd +++ b/test/paramGui.pd @@ -1,5 +1,5 @@ -#N canvas 1027 19 997 713 10; -#N canvas 417 395 450 315 \$0target 1; +#N canvas 1027 0 997 713 10; +#N canvas 417 395 450 315 \$0target 0; #X text 0 0 Please Copy and Paste; #X obj 0 20 hsl 100 15 0 1 0 0 /me/amp /me/amp_ /me/amp 105 7 0 10 -262144 -1 -1 0 1; -- cgit v1.2.1