[MPlayer-dev-eng] [PATCH] GUI: Implement a true rotary potmeter

Ingo Brückl ib at wupperonline.de
Thu Apr 10 12:39:45 CEST 2014


Hans-Dieter Kosch wrote on Thu, 10 Apr 2014 03:35:39 +0200:

> One feature request: You made the rpotmeter reacting immediately to the
> pressing of the mouse button by

>    uiEvent( item->message,100.0 * prev_point / item->arclength );

> It would then be nice and consistent to have this feature for the other
> potmeters, too. It gives in fact more intuitive behaviour on clicking
> and dragging!

I've actually removed it meanwhile in order to *be* consistent, but it seems
that all code from wsRLMouseButton should be moved to wsPLMouseButton.

For a simple click, we don't need wsRLMouseButton, and for dragging the value
should already have been set by wsMoveMouse.

I'll approach it immediately after committing the rpotmeter patch (and it
will be the last feature change for a while, because I desperately need a
break.)

Ingo


More information about the MPlayer-dev-eng mailing list