diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-25 00:39:13 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-10-25 00:39:13 +0000 |
commit | f18d063d9312c95e25294e0777bc135ee9a3fd8a (patch) | |
tree | 54763b4c61f53c8ec696be54bc1c0e8d816c05aa /gBrowser-help.pd |
Adding mtlsvn2git-root
svn path=/trunk/abstractions/mtl/; revision=12667
Diffstat (limited to 'gBrowser-help.pd')
-rw-r--r-- | gBrowser-help.pd | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/gBrowser-help.pd b/gBrowser-help.pd new file mode 100644 index 0000000..01db77c --- /dev/null +++ b/gBrowser-help.pd @@ -0,0 +1,126 @@ +#N canvas 1024 68 1022 700 10; +#X obj 299 97 print; +#X msg 553 -27 clear; +#X msg 543 -127 label put_your_label; +#X msg 543 -98 label labelizer; +#X obj 422 134 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 200 18 5 0 0 0 - - -; +#X obj 234 210 vsl 15 115 0 175 0 0 \$0slider_s \$0slider_r empty 0 +-8 0 8 -1 -262144 -1 0 0; +#X obj 52 208 hradio 15 1 0 12 \$0hr_0_s \$0hr_0_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 223 hradio 15 1 0 12 \$0hr_1_s \$0hr_1_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 238 hradio 15 1 0 12 \$0hr_2_s \$0hr_2_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 253 hradio 15 1 0 12 \$0hr_3_s \$0hr_3_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 268 hradio 15 1 0 12 \$0hr_4_s \$0hr_4_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 283 hradio 15 1 0 12 \$0hr_5_s \$0hr_5_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 298 hradio 15 1 0 12 \$0hr_6_s \$0hr_6_r empty 2 8 0 7 -1 +-1 -262144 0; +#X obj 52 313 hradio 15 1 0 12 \$0hr_7_s \$0hr_7_r empty 2 8 0 7 -1 +-1 -262144 0; +#X text 547 -146 Change the label; +#X text 552 -42 Clear the browser; +#X msg 567 -68 will_be_shown will_be_output \, bang; +#X floatatom 655 7 5 0 0 1 size - -; +#X msg 563 134 colorRGB 0 255 0; +#X text 667 110 Change the color of the next entry; +#X msg 560 111 colorRGB 0 0 255; +#X obj 562 51 pack 0 10; +#X obj 616 26 t b a; +#X floatatom 540 24 5 0 2 1 font - -; +#X msg 562 74 text.font \$1 \$2; +#X msg 567 172 select.colorRGB 125 125 125; +#X text 748 170 Change the select color; +#N canvas 57 37 924 659 ADDING_CONTENT 0; +#X msg 34 -68 bob; +#X obj 29 363 bng 15 250 50 0 empty empty empty 0 -6 0 8 -4034 -1 -1 +; +#X msg 75 -66 mom; +#X obj 221 289 openpanel; +#X obj 221 262 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 243 260 Add a file; +#X text 18 -147 There are three modes to adding content:; +#X obj 29 406 cnv 15 400 30 empty empty empty 20 12 0 14 -258113 -66577 +0; +#X text 127 133 FILE MODE; +#X msg 221 319 file \$1; +#X text 42 407 Everytime you change the content \, you must send a +bang to update the display!; +#X text 31 -118 PLAIN MODE; +#X text 118 152 In file mode \, only the name of the file and not the +full path is displayed. BUT \, when you select an item \, it will still +output the full path!; +#X msg 119 -66 tom; +#X text 121 -14 TAG MODE; +#X text 120 189 To use file mode \, prepend the word file to the file +path to be added.; +#X text 32 -99 In plain mode \, the message displayed and outputed +are the same.; +#X text 122 0 In tag mode \, the first element (the tag) is displayed +and the rest is outputed.; +#X msg 127 30 item_displayed items outputed; +#X msg 163 59 shown hidden; +#X obj 72 383 outlet; +#X obj 30 217 t b a; +#X text 497 181 Also \, all file paths will be split. Only the file +name will be displayed BUT the whole path will still be output!; +#X text 499 149 If the file mode is selected \, all spaces in symbols +will be displayed as "_".; +#X connect 0 0 21 0; +#X connect 1 0 20 0; +#X connect 2 0 21 0; +#X connect 3 0 9 0; +#X connect 4 0 3 0; +#X connect 9 0 21 0; +#X connect 13 0 21 0; +#X connect 18 0 21 0; +#X connect 19 0 21 0; +#X connect 21 0 1 0; +#X connect 21 1 20 0; +#X restore 370 -86 pd ADDING_CONTENT; +#X text 16 -13 Select items to be outputed by clicking on the gui or +by selecting by index with the left inlet.; +#X obj 342 -69 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 258 239 <- Use the scroll bar when there are too many items +; +#X text 36 -165 description: A little browser GUI (version to include +in your own GOP abstractions).; +#X text 45 335 To include a browser GUI in your own GOP abstraction +\, copy the above graphical objects to your patch. Then create a [mtl/gBrowser +\$0]. You may modify the graphical details \, but do not change the +number of elements or the send and receive symbols.; +#X text 46 409 Clicking on the grey bar will output a bang at mtl/gBrowser's +right outlet.; +#X obj 301 32 mtl/gBrowser \$0; +#X obj 52 192 hradio 15 1 0 11 \$0label_radio_s \$0label_radio_r empty +2 8 0 8 -1 -1 -262144 0; +#X obj 52 192 cnv 15 197 15 empty \$0hider empty 3 9 0 8 -128992 -262144 +0; +#X text 34 -134 tags: ui; +#X connect 1 0 35 1; +#X connect 2 0 35 1; +#X connect 3 0 35 1; +#X connect 5 0 35 0; +#X connect 17 0 35 1; +#X connect 18 0 23 0; +#X connect 19 0 35 1; +#X connect 21 0 35 1; +#X connect 22 0 25 0; +#X connect 23 0 22 0; +#X connect 23 1 22 1; +#X connect 24 0 22 0; +#X connect 25 0 35 1; +#X connect 26 0 35 1; +#X connect 28 0 35 1; +#X connect 30 0 35 1; +#X connect 35 0 0 0; +#X connect 35 1 4 0; +#X coords 0 0 1 1 285 215 0; |