[MPlayer-dev-eng] [PATCH] GUI: Potmeter button corrections

Hans-Dieter Kosch hdkosch at kabelbw.de
Wed Mar 26 01:34:13 CET 2014


Ingo Brückl wrote:

> Hans-Dieter Kosch wrote on Mon, 24 Mar 2014 01:20:57 +0100:
> 
>> The attached 'potmeter_button_adjust.patch' corrects the mouse calculations
>> to keep the button always centered under the mouse (like one might expect).
> 
>> Index: gui/win32/gui.c
>> ===================================================================
>> +++ gui/win32/gui.c     (working copy)
>> @@ -927,20 +927,22 @@
> 
> The Win32 GUI seemingly wants to "stick" the mouse pointer to the potmeter
> button so that the mouse points to the same position inside the button before
> and after the move (the Win32 GUI can only move the button, not click inside
> the potmeter area).

The patch was plain theory of mine from formal comparisons. I have no 
installation to study win32. I must look deeper, there's obviously impact on the 
rpotmeter implementation.

Hans-Dieter


More information about the MPlayer-dev-eng mailing list