Although it involves the mouse, what I'm trying to achieve is not
exactly UI related.
The plugin I have has two output called X and Y.
When the mouse is at the bottom left corner of the screen, X and Y are
equal to 0.
When it's at the top right corner, X and Y are equal to 1.
The design I had in mind was to have a thread on the side that would
query the mouse position every 25ms, especially to avoid having it in
the method processing the sound itself (this create a lot of XRuns
when I do that).
(when it's used with a touchpad, it can be used a lot like the Korg
Kaossilator, by controlling the cutoff point of a filter for example)
@Fons: I phrased it wrong the first time :) by expensive, I meant that
my poor design was creating a lot of xruns :)
>> The most obvious pros of using Lv2-C++-Tools is its simplicity.
The lv2peg tool makes the development a lot faster.
input/output/controls in the ttl files, then having to set them up
again in the code of the plugin itself.
lv2peg creates the headers automatically.
But that's my 2 cents!
(I became a software developer because I'm extremely lazy, and I like
computers to do the monkey work for me!)