From 300914553d7e70cc7265db078e5730e159b9b2da Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 31 Oct 2007 07:12:11 +0000 Subject: first working sketch of the cursor object getting data from the system mouse pointer; It works, but it only reports for the current canvas, not all teh time. I need to dive in deeper to Krzysztof's tricks svn path=/trunk/externals/hcs/; revision=8912 --- cursor-help.pd | 54 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 16 deletions(-) (limited to 'cursor-help.pd') diff --git a/cursor-help.pd b/cursor-help.pd index 9b04a7a..bb9b74f 100644 --- a/cursor-help.pd +++ b/cursor-help.pd @@ -1,17 +1,39 @@ -#N canvas 0 22 454 304 10; -#X msg 178 124 start; -#X msg 227 124 stop; -#X obj 142 123 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 157 151 cursor 80 80; -#X floatatom 99 242 5 0 0 0 - - -; -#X floatatom 239 242 5 0 0 0 - - -; -#X obj 131 258 print LEFT; +#N canvas 446 305 462 312 10; +#X obj 105 271 print LEFT; #X obj 226 265 print RIGHT; -#X connect 0 0 3 0; -#X connect 1 0 3 0; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 3 0 6 0; -#X connect 3 1 5 0; -#X connect 3 1 7 0; +#X obj 151 96 symbol; +#X msg 149 61 boat; +#X msg 109 61 clock; +#X msg 245 61 dot; +#X msg 275 61 dotbox; +#X msg 322 61 gumby; +#X msg 365 61 gobbler; +#X msg 366 130 pirate; +#X msg 366 87 mouse; +#X msg 366 109 target; +#X msg 366 151 pencil; +#X msg 184 61 coffee_mug; +#X msg 151 121 cursor \$1; +#X obj 49 230 pddp/print; +#X obj 186 205 pddp/print; +#X obj 55 132 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 +1; +#X obj 124 174 cursor; +#X connect 2 0 14 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 7 0 2 0; +#X connect 8 0 2 0; +#X connect 9 0 2 0; +#X connect 10 0 2 0; +#X connect 11 0 2 0; +#X connect 12 0 2 0; +#X connect 13 0 2 0; +#X connect 14 0 18 0; +#X connect 17 0 18 0; +#X connect 18 0 0 0; +#X connect 18 0 15 0; +#X connect 18 1 1 0; +#X connect 18 1 16 0; -- cgit v1.2.1