From 99b0b62ca25ec04b1629691a3644fdc513a52924 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Wed, 21 Oct 2009 22:37:36 +0000 Subject: Replaced paramGui abstraction by a class svn path=/trunk/externals/tof/; revision=12629 --- help/param-abs.pd | 5 +++- help/paramDump-help.pd | 29 ++++++++++++++--------- help/paramGui-help.pd | 62 ++++++++++++++++++++++++++++++-------------------- 3 files changed, 59 insertions(+), 37 deletions(-) (limited to 'help') diff --git a/help/param-abs.pd b/help/param-abs.pd index 65d28c9..90223e2 100644 --- a/help/param-abs.pd +++ b/help/param-abs.pd @@ -1,4 +1,4 @@ -#N canvas 6 0 1018 692 10; +#N canvas 6 0 1018 686 10; #X obj 225 477 outlet~; #X obj 55 21 inlet; #X text 179 26 This abstraction is an example for the param external. @@ -18,6 +18,8 @@ #X obj 317 349 tof/param /volume 0 /g slider 0 1; #X obj 223 202 tof/param /carrier 800 /g slider 200 2000; #X obj 55 66 tof/paramRoute; +#X obj 660 195 iemguts/propertybang; +#X obj 660 223 tof/paramGui; #X connect 1 0 17 0; #X connect 3 0 4 0; #X connect 4 0 7 0; @@ -31,3 +33,4 @@ #X connect 15 0 12 0; #X connect 16 0 3 0; #X connect 17 0 8 0; +#X connect 18 0 19 0; diff --git a/help/paramDump-help.pd b/help/paramDump-help.pd index 1606ddd..82902fd 100644 --- a/help/paramDump-help.pd +++ b/help/paramDump-help.pd @@ -1,6 +1,5 @@ -#N canvas 238 80 610 462 10; -#X obj 38 195 paramDump; -#X obj 38 228 print; +#N canvas 1257 140 623 501 10; +#X obj 38 259 print; #X obj 38 129 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 21 12 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577 @@ -9,17 +8,25 @@ #X text 26 89 version: 2009-09-19 (localized version); #X text 26 13 description: outputs all the children params of the root patch.; -#X obj 205 227 param-abs /id FM_MOD; -#X text 69 273 --------------------- SEE ALSO ----------------------- +#X obj 149 266 param-abs /id FM_MOD; +#X text 69 304 --------------------- SEE ALSO ----------------------- ; -#X text 43 294 See the help for the param external to expand your mind: +#X text 43 325 See the help for the param external to expand your mind: ; -#X obj 148 320 param /another a_value; +#X obj 148 351 param /another a_value; #X msg 82 161 guis; #X text 61 130 A bang will output all the params and their values. ; -#X text 119 158 Guis will output all the optional /gui values.; #X text 26 47 tags: state param; -#X connect 0 0 1 0; -#X connect 2 0 0 0; -#X connect 11 0 0 0; +#X msg 117 204 symbol /FM_MOD; +#X text 213 202 A symbol will dump only the params that start with +that path.; +#X obj 38 226 tof/paramDump; +#X obj 303 265 param-abs /id SECOND; +#X msg 124 179 guis /SECOND; +#X text 119 158 Guis will output all the optional /g values.; +#X connect 1 0 15 0; +#X connect 10 0 15 0; +#X connect 13 0 15 0; +#X connect 15 0 0 0; +#X connect 17 0 15 0; diff --git a/help/paramGui-help.pd b/help/paramGui-help.pd index 353d4cc..d4b9b2b 100644 --- a/help/paramGui-help.pd +++ b/help/paramGui-help.pd @@ -1,30 +1,42 @@ -#N canvas 198 148 663 465 10; -#X obj 10 241 paramGui; -#X obj -13 32 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577 +#N canvas 1067 99 864 482 10; +#X obj 4 19 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577 0; -#X text -8 84 author: mrtoftrash@gmail.com; -#X text -8 31 description: builds interfaces out of pd guis for params. +#X text 9 71 author: mrtoftrash@gmail.com; +#X text 8 50 tags: param gui; +#X text 114 356 --------------------- SEE ALSO ----------------------- ; -#X text -9 63 tags: param gui; -#X obj 10 206 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 --1; -#X text 406 216 /gui options:; -#X text 31 205 Bang: build guis for all params that have /gui options. +#X text 88 377 See the help for the param external to expand your mind: ; -#X text 97 369 --------------------- SEE ALSO ----------------------- -; -#X text 71 390 See the help for the param external to expand your mind: -; -#X obj 69 412 param /numerical 100 /gui nbx; -#X text 108 277 -- SUPER IMPORTANT --; -#X text 415 238 nbx: creates a numberbox; -#X text 414 257 slider min max: creates a slider with the indicated +#X text 125 264 -- SUPER IMPORTANT --; +#X text 432 225 nbx: creates a numberbox; +#X text 431 244 slider min max: creates a slider with the indicated minimum and maximum; -#X text 414 286 bng: creates a bang; -#X text 414 304 tgl: creates a toggle; -#X text 416 322 symbolatom: creates a symbol box; -#X obj 278 411 param /slip 100 /gui slider 0 127; -#X text 14 293 You have to copy the created guis into your root patch +#X text 431 273 bng: creates a bang; +#X text 431 291 tgl: creates a toggle; +#X text 433 309 symbolatom: creates a symbol box; +#X text 31 280 You have to copy the created guis into your root patch (or a subpatch of it) for them to work with their target params!; -#X text -9 105 version: 2009-09-19 (localized version); -#X connect 5 0 0 0; +#X text 8 92 version: 2009-09-19 (localized version); +#X obj 86 399 tof/param /numerical 100 /gui nbx; +#X obj 315 398 tof/param /slip 100 /gui slider 0 127; +#X text 423 203 /g options:; +#X obj 555 127 tof/paramId; +#X obj 555 157 print; +#X obj 555 100 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 647 48 ./param-abs /id bob; +#X text 9 18 description: builds pd guis for params.; +#X obj 682 139 tof/paramDump; +#X obj 687 105 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 687 171 print; +#X msg 729 106 guis; +#X msg 748 171 ----; +#X obj 610 370 tof/param /maude 3 /g bob; +#X obj 608 409 tof/param /tom yo /g sym; +#X connect 16 0 17 0; +#X connect 18 0 16 0; +#X connect 21 0 23 0; +#X connect 22 0 21 0; +#X connect 24 0 21 0; +#X connect 25 0 23 0; -- cgit v1.2.1