File: gil_drag&drop_map.pd

package info (click to toggle)
pd-gil 0.1~20151118-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 200 kB
  • sloc: makefile: 8
file content (53 lines) | stat: -rw-r--r-- 1,527 bytes parent folder | download | duplicates (2)
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
#N canvas 382 22 512 706 10;
#X obj 180 343 &&;
#X obj 91 420 spigot;
#X obj 135 420 spigot;
#X obj 64 168 t l l;
#X obj 91 193 unpack f f f;
#X obj 227 621 outlet x;
#X obj 294 621 outlet y;
#X obj 64 621 outlet cursor-list;
#X text 147 687 (c)2011 Marian Weger /part of GIL/;
#X obj 64 147 inlet cursor-list;
#X obj 195 147 inlet mouseover;
#X obj 180 213 change;
#X obj 309 289 sel 1;
#X obj 91 265 t f f;
#X obj 135 265 t f f;
#X obj 242 343 f;
#X obj 309 343 f;
#X text 210 646 difference to mouse position on click;
#X obj 227 568 - 0;
#X obj 294 568 - 0;
#X text 66 25 gil_drag&drop_map;
#X text 66 45 [gil_drag&drop_map] takes the outlets of a [gil_mouseover_...]
function and maps drag&drop functionality to another domain \, leaving
the hoverpoint \, created by [gil_mouseover_...] \, untouched. While
dragging \, the right outlet gives the difference between cursor and
mouseover point in gem units.;
#X obj 260 185 cnv 15 220 50 empty empty HELP? 20 12 0 14 -261234 -258113
0;
#X text 261 212 for further help: see [gil_example];
#X connect 0 0 1 1;
#X connect 0 0 2 1;
#X connect 1 0 18 0;
#X connect 2 0 19 0;
#X connect 3 0 7 0;
#X connect 3 1 4 0;
#X connect 4 0 13 0;
#X connect 4 1 14 0;
#X connect 4 2 11 0;
#X connect 9 0 3 0;
#X connect 10 0 0 1;
#X connect 11 0 0 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 12 0 16 0;
#X connect 13 0 1 0;
#X connect 13 1 15 1;
#X connect 14 0 2 0;
#X connect 14 1 16 1;
#X connect 15 0 18 1;
#X connect 16 0 19 1;
#X connect 18 0 5 0;
#X connect 19 0 6 0;