aboutsummaryrefslogtreecommitdiff
path: root/Patches/04-03.example-draganddrop.pd
blob: ff8102bc7daf1218b2cae22d4fda0be025f36db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#N canvas 323 36 597 438 12;
#X obj 15 37 fs.main;
#X msg 66 12 reset;
#X obj 38 234 fs.event;
#X msg 50 288 set \$1;
#X obj 76 150 init;
#X obj 48 151 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 352 180 Drop a file here:;
#X msg 15 12 6001;
#X text 18 95 Using fs.frame and fs.event to provide drag & drop:;
#X obj 38 185 fs.framed draganddrop 352+233;
#X msg 50 387 ;
#X msg 120 150 dropfile.jpg;
#X connect 1 0 0 1;
#X connect 2 0 3 0;
#X connect 3 0 10 0;
#X connect 4 0 9 0;
#X connect 4 0 11 0;
#X connect 5 0 9 0;
#X connect 7 0 0 0;
#X connect 7 0 1 0;
#X connect 9 0 2 0;
#X connect 11 0 9 0;