On 02/13/2014 10:27 PM, Ivica Bukvic wrote:
In pd-l2ork nlets are highlighted which makes them grow and as a result you can pinpoint them more easily. In k12 learning mode they are even bigger to help kids select them. HTH
That's after you register a "hit". But can you actually register a "hit" when the mouse is within n pixels of the xlet?
I ran into this with the svg-data structures stuff. I made some points on a graph grow when the mouse enters them. But it turns out it's much more usable if you have an insible area larger than the point to register an "enter" event and then grow the point to that size.
-Jonathan
On Feb 13, 2014 5:23 PM, "Jonathan Wilkes" <jancsika@yahoo.com mailto:jancsika@yahoo.com> wrote:
You'd have to tweak the stuff in g_text.c and probably also g_rtext.c to lie about the rectangle size, and to enlarge the bbox for what gets counted as an xlet, then recompile. Meanwhile, there's a single tk canvas subcommand called "-closeenough" that does exactly what you want. But Pd doesn't use that-- it only fowards mouse motion over the socket to Pd. Then Pd core queries the bounding box of every object on the canvas, to see whether it falls within the mouse coordinates. It does this for _every_ single "motion" message received from the gui. (Run pd with the -d 3 flag to see how often these messages get sent.) -Jonathan On Thursday, February 13, 2014 4:30 PM, "puredata@11h11.com <mailto:puredata@11h11.com>" <puredata@11h11.com <mailto:puredata@11h11.com>> wrote: Hi all, I am getting older and it's more and more difficult to click right on the inlet or outlet. How to change increase the zone around them? I am using PD-0.43.4-extended. Thanks _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list