1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
|
#N canvas 43 34 936 562 10;
#X text 574 514 scrolllist 100 200 200;
#X text 576 527 scrolllist;
#X text 500 515 Examples :;
#X text 75 533 Comments and bugs @ ydegoyon@free.fr;
#X symbolatom 99 507 30 0 0 0 - - -;
#X text 472 352 Note : you can scroll the list by dragging;
#X msg 67 79 seek \$1;
#X floatatom 127 81 5 0 0 0 - - -;
#X text 444 129 Change the font;
#X msg 116 129 font Helvetica normal 14;
#X msg 297 129 font Courier bold 24;
#X msg 128 157 scroll 200;
#X msg 209 157 scroll -200;
#X text 300 156 Scrolling by numbers for the laziest;
#X obj 254 183 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X msg 164 183 graphics \$1;
#X text 383 183 Show or hide graphics;
#X msg 277 182 1;
#X obj 310 183 loadbang;
#X text 498 469 Scrollist lets you display text items in a patch window
;
#X text 498 486 Constructor : scrolllist <capacity> <width> <height>
| scrolllist ( defaults 100 400 200 );
#X text 168 73 You can seek in the text list;
#X text 168 86 It behaves as a circular list;
#X text 142 104 Sort the text items;
#X text 321 507 Selected text item;
#X text 470 397 with the "Properties" dialog;
#X text 470 383 You can change all the properties of the object;
#X text 654 59 add a text;
#X text 808 90 insert a text;
#X msg 602 7 the aesthetics of our anger;
#X text 797 115 replace a text;
#X text 828 149 delete a text;
#X msg 612 149 delete \$1;
#X obj 692 149 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X obj 585 264 textfile;
#X msg 585 236 read examples/yesterday.txt cr;
#X msg 659 264 rewind;
#X obj 554 285 zexy/list2symbol;
#X msg 554 307 add \$1;
#X obj 798 216 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 797 237 metro 1000;
#X obj 40 272 scrolllist 25 400 200 {Helvetica 14 normal} white black
red;
#X text 470 363 the mouse in the text area;
#X msg 33 57 clear;
#X text 79 57 clear all;
#X obj 462 300 t b;
#X text 796 270 read a full text;
#X msg 461 325 scroll 12;
#X obj 585 213 loadbang;
#X obj 40 251 r smsg;
#X obj 40 479 s somsg;
#X obj 99 481 r somsg;
#X obj 14 176 s smsg;
#X obj 554 333 s smsg;
#X obj 573 176 s smsg;
#X msg 95 105 sort;
#X msg 96 211 bgcolor blue;
#X msg 196 212 fgcolor white;
#X msg 304 211 secolor #567823;
#X text 421 212 change colors;
#X msg 304 234 secolor red;
#X msg 97 234 bgcolor white;
#X msg 197 235 fgcolor black;
#X msg 611 89 insert dystopia 3;
#X msg 610 115 replace anapana 3;
#X msg 598 61 add \$1;
#X obj 602 33 zexy/list2symbol;
#X connect 6 0 52 0;
#X connect 7 0 6 0;
#X connect 9 0 52 0;
#X connect 10 0 52 0;
#X connect 11 0 52 0;
#X connect 12 0 52 0;
#X connect 14 0 15 0;
#X connect 15 0 52 0;
#X connect 17 0 14 0;
#X connect 18 0 17 0;
#X connect 29 0 66 0;
#X connect 32 0 54 0;
#X connect 33 0 32 0;
#X connect 34 0 37 0;
#X connect 34 1 36 0;
#X connect 35 0 34 0;
#X connect 36 0 34 0;
#X connect 37 0 38 0;
#X connect 38 0 45 0;
#X connect 38 0 53 0;
#X connect 39 0 40 0;
#X connect 40 0 34 0;
#X connect 41 0 50 0;
#X connect 43 0 52 0;
#X connect 45 0 47 0;
#X connect 47 0 53 0;
#X connect 48 0 35 0;
#X connect 49 0 41 0;
#X connect 51 0 4 0;
#X connect 55 0 52 0;
#X connect 56 0 34 0;
#X connect 57 0 52 0;
#X connect 58 0 52 0;
#X connect 60 0 52 0;
#X connect 61 0 52 0;
#X connect 62 0 52 0;
#X connect 63 0 54 0;
#X connect 64 0 54 0;
#X connect 65 0 54 0;
#X connect 66 0 65 0;
|