git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1751 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-29 16:34:40 +00:00
parent 61fb4d543f
commit 9740f59718
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ void mplMainMouseHandle( int Button,int X,int Y,int RX,int RY )
case itHPotmeter:
item->value=(float)( X - item->x ) / item->width * 100.0f;
potihandled:
btnModify( item->msg,item->value );
if ( item->value > 100.0f ) item->value=100.0f;
if ( item->value < 0.0f ) item->value=0.0f;
if ( ( item->msg == evSetVolume )||( item->msg == evSetBalance ) ) mplMsgHandle( item->msg,item->value );
mplMainRender=1; wsPostRedisplay( &appMPlayer.mainWindow );
break;