[PD] how to capture window-related mouse-events when toxy is discontinued?
Jonathan Wilkes
jancsika at yahoo.com
Thu Nov 3 01:30:01 CET 2011
----- Original Message -----
> From: katja <katjavetter at gmail.com>
> To: pd-list at iem.at
> Cc:
> Sent: Wednesday, November 2, 2011 7:58 PM
> Subject: Re: [PD] how to capture window-related mouse-events when toxy is discontinued?
>
> On Wed, Nov 2, 2011 at 11:08 PM, Jonathan Wilkes <jancsika at yahoo.com>
>> The attached allows the 50x30 polygon to be click-dragged anywhere
>> within the polygon-- basically ds hotspots happen in a 10x10 quadrant
> within
>> the polygon when an x/y pair is specified with a field variable, so I'm
> forcing
>> hotspots for the entire polygon by spacing all field value coordinates no
> more
>> than 10 pixels from each other. (You can overlay a simpler polygon if you
> want
>> a cleaner-looking control surface.)
>
> That's a lovely demo Jonathan. The small squares have their own
> esthetic. This approach is less hacky than my moving radiobuttons. Do
> you use it in practice, as GUI elements? It is very heavy on cpu.
I've used scalars with a single rectangle as the visual element-- however, just
mousing around it looks like numberbox, vradio, my scalars from the demo,
and a simple filled rectangle can all cause large cpu jumps when displacing or
moving.
How does the cpu usage in my demo compare to your patch where you use
a radiobutton?
In practice, I've actually used arrays of scalars for a little video game, but the
sound was secondary.
-Jonathan
>
> Katja
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list