#N canvas 331 22 654 748 10; #X obj 100 708 change; #X obj 73 307 t l l; #X obj 305 225 sel 0; #X obj 73 796 outlet cursor-list; #X obj 73 276 inlet cursor-list; #X text 201 815 outlet 2: 1 if cursor inside r \, 0 if cursor outside r; #X text 353 652 (c)2011 Marian Weger /part of GIL/; #X obj 200 796 outlet mouseover; #X obj 355 577 cnv 15 220 50 empty empty HELP? 20 12 0 14 -261234 -258113 0; #X text 356 604 for further help: see [gil_example]; #X text 66 17 gil_mouseover_rectangle ; #X obj 503 286 inlet rect size; #X text 501 267 inlet 3: rectangle size (x y); #X obj 305 201 float \$1; #X obj 365 225 sel 0; #X obj 338 173 t b b; #X obj 338 151 loadbang; #X obj 347 250 pack 1 1; #X obj 100 433 t f f; #X obj 157 570 < 1; #X obj 100 570 > 1; #X obj 347 355 unpack f f; #X obj 347 416 t b f b f; #X obj 273 378 t f f; #X obj 273 498 -; #X obj 300 498 +; #X obj 110 540 t b f; #X obj 157 540 t b f; #X obj 100 622 &&; #X obj 157 592 t b f; #X obj 100 682 &&; #X obj 200 644 t b f; #X obj 200 433 t f f; #X obj 257 570 < 1; #X obj 200 570 > 1; #X obj 457 416 t b f b f; #X obj 413 416 t f f; #X obj 413 496 -; #X obj 440 496 +; #X obj 210 540 t b f; #X obj 257 540 t b f; #X obj 200 622 &&; #X obj 257 592 t b f; #X obj 273 286 inlet pos_x; #X obj 413 286 inlet pos_y; #X text 63 48 [gil_mouseover_rectangle] detects \, if the cursor hovers over a given rectangle inside the gemwin. When the cursor enters the rectangle \, and the left button is not pressed since the cursor has been outside the rectangle \, a '1' is sent to the 2nd outlet. By leaving the rectangle \, having the left mouse button unpressed \, the 2nd outlet gets a '0'. The rectangle dimensions can be given by either by creation arguments or 3rd inlet.; #X obj 100 329 unpack f f; #X obj 365 201 float \$2; #X connect 0 0 7 0; #X connect 1 0 3 0; #X connect 1 1 46 0; #X connect 2 1 17 0; #X connect 4 0 1 0; #X connect 11 0 21 0; #X connect 13 0 2 0; #X connect 14 1 17 1; #X connect 15 0 13 0; #X connect 15 1 47 0; #X connect 16 0 15 0; #X connect 17 0 21 0; #X connect 18 0 20 0; #X connect 18 1 19 0; #X connect 19 0 29 0; #X connect 20 0 28 0; #X connect 21 0 22 0; #X connect 21 1 35 0; #X connect 22 0 24 0; #X connect 22 1 24 1; #X connect 22 2 25 0; #X connect 22 3 25 1; #X connect 23 0 24 0; #X connect 23 1 25 0; #X connect 24 0 26 0; #X connect 25 0 27 0; #X connect 26 0 20 0; #X connect 26 1 20 1; #X connect 27 0 19 0; #X connect 27 1 19 1; #X connect 28 0 30 0; #X connect 29 0 28 0; #X connect 29 1 28 1; #X connect 30 0 0 0; #X connect 31 0 30 0; #X connect 31 1 30 1; #X connect 32 0 34 0; #X connect 32 1 33 0; #X connect 33 0 42 0; #X connect 34 0 41 0; #X connect 35 0 37 0; #X connect 35 1 37 1; #X connect 35 2 38 0; #X connect 35 3 38 1; #X connect 36 0 37 0; #X connect 36 1 38 0; #X connect 37 0 39 0; #X connect 38 0 40 0; #X connect 39 0 34 0; #X connect 39 1 34 1; #X connect 40 0 33 0; #X connect 40 1 33 1; #X connect 41 0 31 0; #X connect 42 0 41 0; #X connect 42 1 41 1; #X connect 43 0 23 0; #X connect 44 0 36 0; #X connect 46 0 18 0; #X connect 46 1 32 0; #X connect 47 0 14 0;