Mercurial > mplayer.hg
diff Gui/skin/skin.c @ 1729:d6c99f70449e
fix hprogressbar
author | pontscho |
---|---|
date | Tue, 28 Aug 2001 15:55:02 +0000 |
parents | ab35bee402ff |
children | 58dd326fcc4a |
line wrap: on
line diff
--- a/Gui/skin/skin.c Tue Aug 28 15:37:24 2001 +0000 +++ b/Gui/skin/skin.c Tue Aug 28 15:55:02 2001 +0000 @@ -1,4 +1,4 @@ - + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -682,6 +682,7 @@ for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ ) if ( appMPlayer.Items[j].msg == event ) { + if ( appMPlayer.Items[j].used ) continue; switch ( appMPlayer.Items[j].type ) { case itButton: @@ -697,7 +698,7 @@ } } -int btnGetValue( int event ) +float btnGetValue( int event ) { int j; for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )