You can try gems/mouse in combination with gems/win from the Pdmtl Abstractions to get the mouse behavior you are looking for.<br>Get a recent snapshot of the Pdmtl Abstractions here: <a href="http://wiki.dataflow.ws/PdMtlAbstractions">
http://wiki.dataflow.ws/PdMtlAbstractions</a><br><br>-- <br>thomas ouellet fredericks, <a href="mailto:tof@danslchamp.org">tof@danslchamp.org</a>, montreal, canada<br><br><div><span class="gmail_quote">On 6/22/07, <b class="gmail_sendername">
B. Bogart</b> <<a href="mailto:ben@ekran.org">ben@ekran.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why not do [gemmouse 8 4] for 2:1 window?
<br><br>Of course you have to keep track of your own window size and alter the<br>coords in responce, but that is largely the PD way anyhow, to keep track<br>of what your doing yourself.<br><br>You could just normalize from 0 to 1 and rescale based on your window size?
<br><br>As far as I know most platforms don't even allow mouse resizing of<br>gemwindows...<br><br>.b.<br><br>marius schebella wrote:<br>> Hi,<br>> it would be very helpful to change the behaviour of gemmouse a little
<br>> bit (to get similar results to the translation of objects in the gemwindow).<br>> [gemmouse 8] should normalize to the height (like gemwin) and not to the<br>> width.<br>> given a rectangular gemwin any aspect ratio (no difference between 2:1
<br>> and 1:2...) always normalizes to the height and sets (with the default<br>> view) the top and bottom borders to +4 and -4<br>> gemmouse 8 on the other hand normalizes to the width. this makes it very<br>> difficult (unpossible?) to build mouse interaction with variable window
<br>> sizes.<br>> another feature wish: to be able to tell the dimensions of the gemwin.<br>> esp. after resizing by mousedrawing.<br>> thanks,<br>> marius.<br>><br>><br>> _______________________________________________
<br>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
<br>><br><br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">
http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br><br clear="all"><br>