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

Hans-Dieter Kosch hdkosch at kabelbw.de
Thu Apr 3 02:26:45 CEST 2014


Just a quick response for now, I'll do more on weekend.

Ingo Brückl wrote:

> These (their atan2 probably) will be stored in guiItem which makes it
> possible to consider them during calculation, and the gap is calculable now.

If so, fine. I tried to avoid hacking guiItem.

> What do you think?
> Do you feel like proceeding?

Not bad. Of course, I'll proceed.

Perhaps, we should work out a specification defining the exact behaviour of all 
potmeters (both GTK and WIN); how they react on mouse events, how the item value 
is derived thereof, how the visible representation results from the item value; 
so that all matches, also a value set by the mouse or a value coming from other 
sources (e.g. video position). Then, we'd have an agreed base to review and 
rework coding.

Hans-Dieter


More information about the MPlayer-dev-eng mailing list