<div dir="ltr"><div dir="ltr">OK I just tried and mknob_newclick allows receiving hovering as you said before.</div><div dir="ltr"><br clear="all"><div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 7 sept. 2018 à 19:32, Antoine Rousseau <<a href="mailto:antoine@metalu.net">antoine@metalu.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I see; why not even showing outline and iolets as soon as the patch is switched to edit mode?</div><div>But I must admit I don't know how to detect these events (object is hovered /or/ patch switches to /from edit mode). I'll try to find existing similar code, but maybe you have some pointers?<br></div><div><br></div><div><div><div dir="ltr" class="m_8204614006220265627gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"> Antoine Rousseau </font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">  <a href="http://metalu.net" target="_blank">http://www.metalu.net</a> __ <a href="http://www.metaluachahuter.com/compagnies/al1-ant1/" target="_blank">http://www.metaluachahuter.com/</a><br><br></font></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 7 sept. 2018 à 19:20, Christof Ressi <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> you mean like the little square of the canvas object?<br>
<br>
kind of, except that my_canvas only shows the square when the object is selected. of course that's also possible! my idea was to show it when you hover the object in editmode, so you don't have to explicitly select the object to see where to make the connections.<br>
 <br>
<br>
Gesendet: Freitag, 07. September 2018 um 18:43 Uhr<br>
Von: "Antoine Rousseau" <<a href="mailto:antoine@metalu.net" target="_blank">antoine@metalu.net</a>><br>
An: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>><br>
Cc: Pd-list <<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>><br>
Betreff: Re: Re: [PD] Slider/Knob<br>
<br>
a visual hint (i.e. draw the rect borders and the iolets)- but only when the user hovers over the knob while the glist is in editmode<br>
 <br>
you mean like the little square of the canvas object? yes, I like the idea. I'll try this soon, thanks!<br>
 <br>
<br>
Antoine Rousseau <br>
  <a href="http://www.metalu.net" rel="noreferrer" target="_blank">http://www.metalu.net</a>[<a href="http://metalu.net" rel="noreferrer" target="_blank">http://metalu.net</a>] __ <a href="http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D" rel="noreferrer" target="_blank">http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/]</a><br>
  <br>
<br>
Le ven. 7 sept. 2018 à 17:31, Christof Ressi <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>[mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>]> a écrit :Hi, to be honest, I never found it to be a big problem. I'm not too sure about the three outlet solution, I think it's indeed a bit far-stretched :-) what I would suggest is to give the user a visual hint (i.e. draw the rect borders and the iolets)- but only when the user hovers over the knob while the glist is in editmode. you can do this in mknob_newclick.<br>
<br>
> iolets are floating in an empty space near the knob;<br>
<br>
yes, this looks a bit funny, but you usually won't have the cables visible in your final GUI anyway, so I wouldn't worry about that.<br>
 <br>
Christof<br>
<br>
Gesendet: Freitag, 07. September 2018 um 14:45 Uhr<br>
Von: "Antoine Rousseau" <<a href="mailto:antoine@metalu.net" target="_blank">antoine@metalu.net</a>[mailto:<a href="mailto:antoine@metalu.net" target="_blank">antoine@metalu.net</a>]><br>
An: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>[mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>]><br>
Cc: Pd-list <<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>]><br>
Betreff: Re: [PD] Slider/Knob<br>
<br>
Thanks for recommending mknob ;-)<br>
 <br>
I'd like to do an update of moonlib soon, as it has received some improvements: sfread2~ understands a new [index( message (thx to Antoine Villeret), and mknob now better supports zooming.<br>
 <br>
<br>
About the latter, I'd like to hear your opinion (you all mknob users...) about the following problem (and the solution I propose):<br>
 <br>
mknob poses a particular problem: because its circular shape doesn't comply to Pd graphical paradigm (every other objects are rectangular shaped), iolets are floating in an empty space near the knob; because it's visually ugly, and I don't want to surround the knob with a rectangular box, I chose not to draw the iolets, even when the mknob is not bounded to receive/send symbols. The problem (for explicitly connected  knobs) is now that it's somewhat tricky to guess where you have to draw the connection to/from, and that the wire connects to/from nowhere. This is acceptable for small knob, but when it becomes bigger it's really weird.<br>
 <br>
So the only idea I see (apart from hacking Pd sources...) is to setup 3 inlets and 3 outlets, so that you can connect from/to the one in the middle; the wire is then actually connected to the circle. I succeeded to code this behaviour, keeping to possibility to use any inlet and sending to the three outlets. It's maybe a little far-fetched, but its works. What do you think of it?<br>
 <br>
 <br>
 <br>
Antoine Rousseau <br>
  <a href="http://www.metalu.net" rel="noreferrer" target="_blank">http://www.metalu.net</a>[<a href="http://www.metalu.net" rel="noreferrer" target="_blank">http://www.metalu.net</a>][<a href="http://metalu.net" rel="noreferrer" target="_blank">http://metalu.net</a>[<a href="http://metalu.net" rel="noreferrer" target="_blank">http://metalu.net</a>]] __ <a href="http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5Bhttp://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5D" rel="noreferrer" target="_blank">http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]</a><br>
  <br>
<br>
Le ven. 7 sept. 2018 à 13:05, Christof Ressi <<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>[mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>][mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>[mailto:<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>]]> a écrit :I recommend mknob from moonlib, but make sure you get the latest version from deken for pd >= 0.47<br>
<br>
Christof<br>
<br>
> Gesendet: Freitag, 07. September 2018 um 12:59 Uhr<br>
> Von: Clemens <<a href="mailto:reinklang@online.de" target="_blank">reinklang@online.de</a>[mailto:<a href="mailto:reinklang@online.de" target="_blank">reinklang@online.de</a>][mailto:<a href="mailto:reinklang@online.de" target="_blank">reinklang@online.de</a>[mailto:<a href="mailto:reinklang@online.de" target="_blank">reinklang@online.de</a>]]><br>
> An: <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>][mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>]]<br>
> Betreff: [PD] Slider/Knob<br>
><br>
> Hello List,<br>
><br>
> I would like to use knobs instead of sliders,<br>
><br>
> where can I find them?<br>
><br>
> Cheers<br>
><br>
> Clemens<br>
><br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>][mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>]] mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5Bhttps://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5D" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list][https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D]</a><br>
><br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>][mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>]] mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5Bhttps://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D%5D" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list][https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D]</a><br>
 <br>
<br>
</blockquote></div>
</blockquote></div>