[Gridflow-cvs] [svn] commit: r5546 - in /trunk: abstractions/doc_link.pd doc/flow_classes/doc_link-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Apr 26 19:36:47 EDT 2010


Author: pboivin
Date: Mon Apr 26 19:36:47 2010
New Revision: 5546

Log:
add optionnal $2 to select whether to look for "doc/flow_classes/$1-help.pd" or for "doc/$1.pd"

Modified:
    trunk/abstractions/doc_link.pd
    trunk/doc/flow_classes/doc_link-help.pd

Modified: trunk/abstractions/doc_link.pd
==============================================================================
--- trunk/abstractions/doc_link.pd (original)
+++ trunk/abstractions/doc_link.pd Mon Apr 26 19:36:47 2010
@@ -1,48 +1,47 @@
-#N canvas 432 167 794 411 10;
-#X obj 18 113 loadbang;
-#X obj 28 199 s \$0-rect;
-#X msg 28 180 label \$1;
-#X obj 28 161 gf/string_replace # ♯;
-#X obj 18 132 symbol \$1;
-#X obj 18 224 gf/string_length;
-#X obj 18 243 * 6;
-#X obj 17 301 s \$0-souligne;
-#X obj 0 112 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+#N canvas 432 167 794 506 10;
+#X obj 18 136 loadbang;
+#X obj 28 222 s \$0-rect;
+#X msg 28 203 label \$1;
+#X obj 28 184 gf/string_replace # ♯;
+#X obj 18 155 symbol \$1;
+#X obj 18 247 gf/string_length;
+#X obj 18 266 * 6;
+#X obj 17 324 s \$0-souligne;
+#X obj 0 135 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
-#X obj 3 0 hsl 17 18 0 127 0 0 \$0-hsl_s \$0-hsl empty -2 -8 0 10 -262144
--1 -1 0 0;
-#X obj 0 0 cnv 5 22 18 empty \$0-rect empty 20 10 0 8 -249661 -64 0
-;
-#X obj 21 16 cnv 1 1 1 empty \$0-souligne empty 20 12 0 14 -64 -33
+#X obj 3 0 hsl 77 18 0 127 0 0 \$0-hsl_s \$0-hsl empty -2 -8 0 10 -262144
+-1 -1 4800 0;
+#X obj 0 0 cnv 5 82 18 empty \$0-rect ../numtype 20 10 0 8 -249661
+-64 0;
+#X obj 21 16 cnv 1 60 1 empty \$0-souligne empty 20 12 0 14 -64 -33
 0;
-#X obj 21 17 cnv 1 1 1 empty \$0-souligne empty 20 12 0 14 -262144
+#X obj 21 17 cnv 1 60 1 empty \$0-souligne empty 20 12 0 14 -262144
 -33 0;
-#X msg 18 282 vis_size \$1 1;
-#X obj 170 300 s \$0-hsl;
+#X msg 18 305 vis_size \$1 1;
+#X obj 170 323 s \$0-hsl;
 #X obj 186 6 r \$0-hsl_s;
-#X obj 45 339 s \$0-rect;
-#X obj 255 342 s pd;
-#X obj 255 61 symbol \$1-help.pd;
-#X obj 255 190 gf/find_file 1;
+#X obj 45 362 s \$0-rect;
+#X obj 255 363 s pd;
+#X obj 255 211 gf/find_file 1;
 #X obj 186 84 delay 1000;
 #X msg 192 64 0;
-#X msg 186 103 1;
-#X obj 18 94 inlet dummy;
+#X msg 186 104 1;
+#X obj 18 117 inlet dummy;
 #X obj 186 25 b;
-#X obj 255 209 s2l /;
-#X obj 255 228 t l l;
-#X obj 312 209 list length;
-#X obj 312 228 - 1;
-#X obj 255 247 list split;
-#X obj 255 266 l2s /;
-#X msg 255 285 symbol /\$1;
-#X obj 255 304 pack s s;
-#X msg 255 323 open \$2 \$1;
+#X obj 255 230 s2l /;
+#X obj 255 249 t l l;
+#X obj 312 230 list length;
+#X obj 312 249 - 1;
+#X obj 255 268 list split;
+#X obj 255 287 l2s /;
+#X msg 255 306 symbol /\$1;
+#X obj 255 325 pack s s;
+#X msg 255 344 open \$2 \$1;
 #X obj 186 44 spigot 1;
-#X msg 170 281 pos 3 0;
-#X obj 384 226 gf.error file not found: '%s';
-#X obj 384 207 symbol;
-#X obj 255 80 t s s;
+#X msg 170 304 pos 3 0;
+#X obj 384 256 gf.error file not found: '%s';
+#X obj 384 237 symbol;
+#X obj 255 137 t s s;
 #X obj 581 196 s \$0-rect;
 #X obj 581 158 #to_iem;
 #X msg 581 177 color \$1 \$2;
@@ -53,27 +52,31 @@
 #X msg 590 47 255 255 0;
 #X msg 513 81 240 240 240;
 #X msg 581 139 2 3 # \$1 \$2 \$3 0 0 255;
-#X obj 363 99 gridflow;
-#X msg 363 80 get folder;
-#X obj 363 61 loadbang;
-#X obj 255 135 pack s s;
-#X msg 255 155 symbol \$2/doc/flow_classes/\$1;
-#X msg 363 118 symbol \$1;
-#X obj 405 345 namecanvas \$0-canvas;
-#X obj 459 326 s \$0-canvas;
-#X msg 45 320 size 5 \, vis_size \$1 18;
-#X obj 89 257 - 5;
-#X msg 128 254 size \$1 18;
+#X obj 408 184 gridflow;
+#X msg 408 165 get folder;
+#X obj 408 146 loadbang;
+#X obj 255 156 pack s s;
+#X msg 408 203 symbol \$1;
+#X obj 405 368 namecanvas \$0-canvas;
+#X obj 459 349 s \$0-canvas;
+#X msg 45 343 size 5 \, vis_size \$1 18;
+#X obj 89 280 - 5;
+#X msg 128 277 size \$1 18;
 #X obj 1 1 #see \, margins 0 0 0 0;
 #X obj 32 -9 loadbang;
-#X obj 45 260 + 22;
-#X msg 104 301 pos 44 44;
+#X obj 45 283 + 22;
+#X msg 104 324 pos 44 44;
 #X msg 32 10 get folder;
 #X obj 32 29 gridflow;
-#X msg 459 277 coords 0 1 2 3 \$1 18 3 0 0;
-#X text 459 259 not using map 0 \, map 1;
+#X msg 459 300 coords 0 1 2 3 \$1 18 3 0 0;
+#X text 459 282 not using map 0 \, map 1;
 #X obj 32 67 #in;
 #X msg 32 48 load \$1/images/help.png;
+#X obj 255 61 f \$2;
+#X obj 255 80 sel 0 1;
+#X msg 255 176 symbol \$2/doc/\$1;
+#X obj 255 118 symbol flow_classes/\$1-help.pd;
+#X obj 274 99 symbol \$1.pd;
 #X connect 0 0 4 0;
 #X connect 2 0 1 0;
 #X connect 3 0 2 0;
@@ -81,62 +84,66 @@
 #X connect 4 0 5 0;
 #X connect 5 0 6 0;
 #X connect 6 0 13 0;
-#X connect 6 0 62 0;
+#X connect 6 0 60 0;
 #X connect 8 0 4 0;
 #X connect 13 0 7 0;
-#X connect 15 0 24 0;
-#X connect 18 0 38 0;
-#X connect 19 0 25 0;
-#X connect 19 1 37 0;
-#X connect 20 0 22 0;
-#X connect 21 0 34 1;
-#X connect 22 0 34 1;
-#X connect 24 0 34 0;
-#X connect 25 0 26 0;
-#X connect 26 0 29 0;
-#X connect 26 1 27 0;
-#X connect 27 0 28 0;
-#X connect 28 0 29 1;
+#X connect 15 0 23 0;
+#X connect 18 0 24 0;
+#X connect 18 1 36 0;
+#X connect 19 0 21 0;
+#X connect 20 0 33 1;
+#X connect 21 0 33 1;
+#X connect 23 0 33 0;
+#X connect 24 0 25 0;
+#X connect 25 0 28 0;
+#X connect 25 1 26 0;
+#X connect 26 0 27 0;
+#X connect 27 0 28 1;
+#X connect 28 0 29 0;
+#X connect 28 1 31 1;
 #X connect 29 0 30 0;
-#X connect 29 1 32 1;
 #X connect 30 0 31 0;
 #X connect 31 0 32 0;
-#X connect 32 0 33 0;
-#X connect 33 0 17 0;
-#X connect 34 0 20 0;
-#X connect 34 0 21 0;
-#X connect 34 0 42 0;
-#X connect 35 0 14 0;
-#X connect 37 0 36 0;
-#X connect 38 0 52 0;
-#X connect 38 1 37 1;
-#X connect 40 0 41 0;
-#X connect 41 0 39 0;
-#X connect 42 0 43 0;
-#X connect 42 1 44 0;
-#X connect 42 2 46 0;
-#X connect 43 0 47 0;
-#X connect 44 0 18 0;
-#X connect 46 0 48 0;
-#X connect 47 0 48 0;
-#X connect 48 0 40 0;
-#X connect 49 0 54 0;
+#X connect 32 0 17 0;
+#X connect 33 0 19 0;
+#X connect 33 0 20 0;
+#X connect 33 0 41 0;
+#X connect 34 0 14 0;
+#X connect 36 0 35 0;
+#X connect 37 0 51 0;
+#X connect 37 1 36 1;
+#X connect 39 0 40 0;
+#X connect 40 0 38 0;
+#X connect 41 0 42 0;
+#X connect 41 1 43 0;
+#X connect 41 2 45 0;
+#X connect 42 0 46 0;
+#X connect 43 0 68 0;
+#X connect 45 0 47 0;
+#X connect 46 0 47 0;
+#X connect 47 0 39 0;
+#X connect 48 0 52 0;
+#X connect 49 0 48 0;
 #X connect 50 0 49 0;
-#X connect 51 0 50 0;
-#X connect 52 0 53 0;
-#X connect 53 0 19 0;
-#X connect 54 0 52 1;
-#X connect 57 0 16 0;
-#X connect 58 0 59 0;
-#X connect 59 0 14 0;
-#X connect 61 0 64 0;
-#X connect 62 0 66 0;
-#X connect 62 0 57 0;
-#X connect 62 0 58 0;
-#X connect 63 0 7 0;
-#X connect 64 0 65 0;
-#X connect 65 0 69 0;
-#X connect 66 0 56 0;
-#X connect 68 0 60 0;
-#X connect 69 0 68 0;
-#X coords 0 1 2 3 22 18 2 0 0;
+#X connect 51 0 70 0;
+#X connect 52 0 51 1;
+#X connect 55 0 16 0;
+#X connect 56 0 57 0;
+#X connect 57 0 14 0;
+#X connect 59 0 62 0;
+#X connect 60 0 64 0;
+#X connect 60 0 55 0;
+#X connect 60 0 56 0;
+#X connect 61 0 7 0;
+#X connect 62 0 63 0;
+#X connect 63 0 67 0;
+#X connect 64 0 54 0;
+#X connect 66 0 58 0;
+#X connect 67 0 66 0;
+#X connect 68 0 69 0;
+#X connect 69 0 71 0;
+#X connect 69 1 72 0;
+#X connect 70 0 18 0;
+#X connect 71 0 37 0;
+#X connect 72 0 37 0;
+#X coords 0 1 2 3 82 18 2 0 0;

Modified: trunk/doc/flow_classes/doc_link-help.pd
==============================================================================
--- trunk/doc/flow_classes/doc_link-help.pd (original)
+++ trunk/doc/flow_classes/doc_link-help.pd Mon Apr 26 19:36:47 2010
@@ -1,13 +1,12 @@
-#N canvas 601 115 632 346 10;
+#N canvas 618 54 632 403 10;
 #X obj 0 0 doc_h;
-#X obj 0 317 doc_f;
-#X obj 3 127 doc_c 1;
-#X obj 3 202 doc_i 1;
-#X obj 3 277 doc_o 0;
-#X obj 14 232 doc_ii 0;
+#X obj 0 374 doc_f;
+#X obj 3 259 doc_i 1;
+#X obj 3 334 doc_o 0;
+#X obj 14 289 doc_ii 0;
 #X obj 14 157 doc_cc 0;
-#X obj 97 232 doc_m i0 <none>;
-#X text 232 232 dummy inlet designed to be a hook for the <evil> outlet
+#X obj 97 289 doc_m i0 <none>;
+#X text 232 289 dummy inlet designed to be a hook for the <evil> outlet
 of [doc_m].;
 #X obj 59 53 doc_link #hello;
 #X obj 97 157 doc_m c0 symbol;
@@ -16,5 +15,12 @@
 #X text 182 54 <--- this is a [doc_link #hello] that points to #hello-help.pd.
 the file will be looked for according to [gf/find_file 1] \, that is
 \, like a [gf/find_file 0] in its parent.;
-#X connect 7 1 8 0;
-#X connect 10 1 11 0;
+#X obj 3 127 doc_c 2;
+#X obj 14 192 doc_cc 1;
+#X obj 97 192 doc_m c1 float;
+#X text 232 192 if 0 \, look for \$1-help.pd in doc/flow_classes/;
+#X text 232 214 if 1 \, look for \$1.pd in doc/;
+#X connect 6 1 7 0;
+#X connect 9 1 10 0;
+#X connect 14 1 15 0;
+#X connect 14 1 16 0;



More information about the Gridflow-cvs mailing list