mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 12:11:52 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8976 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9987502463
commit
80bba3693d
@ -403,6 +403,7 @@ void mplMainMouseHandle( int Button,int X,int Y,int RX,int RY )
|
||||
switch( itemtype )
|
||||
{
|
||||
case itPotmeter:
|
||||
case itVPotmeter:
|
||||
case itHPotmeter:
|
||||
btnModify( item->msg,(float)( X - item->x ) / item->width * 100.0f );
|
||||
mplEventHandling( item->msg,item->value );
|
||||
|
@ -143,6 +143,7 @@ void mplPBMouseHandle( int Button,int X,int Y,int RX,int RY )
|
||||
switch( itemtype )
|
||||
{
|
||||
case itPotmeter:
|
||||
case itVPotmeter:
|
||||
case itHPotmeter:
|
||||
btnModify( item->msg,(float)( X - item->x ) / item->width * 100.0f );
|
||||
mplEventHandling( item->msg,item->value );
|
||||
|
Loading…
Reference in New Issue
Block a user