[PD] increasing zone of inlet / outlet

Jonathan Wilkes jancsika at yahoo.com
Thu Feb 13 23:22:05 CET 2014


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 at 11h11.com" <puredata at 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 at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140213/ca1c48ae/attachment.htm>


More information about the Pd-list mailing list