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