diff --git a/Gui/app.c b/Gui/app.c index b58e649aa8..346a93131a 100644 --- a/Gui/app.c +++ b/Gui/app.c @@ -154,3 +154,41 @@ int appFindMessage( unsigned char * str ) if ( !strcmp( evNames[i].name,str ) ) return evNames[i].msg; return -1; } + +void btnModify( int event,float state ) +{ + int j; + for ( j=0;j 100.f ) state=100.0f; + appMPlayer.Items[j].value=state; + break; + } + } +} + +float btnGetValue( int event ) +{ + int j; + for ( j=0;jdisabled ) switch( item->type ) { case itButton: diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index 4685cc7705..e79282fe5e 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -179,6 +179,7 @@ void mplRelSeek( float s ) void mplAbsSeek( float s ) { // 0.0 ... 100.0 + if ( guiIntfStruct.StreamType == STREAMTYPE_STREAM ) return; rel_seek_secs=0.01*s; abs_seek_pos=3; } diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c index 15745b1dc8..e7d1e21ec3 100644 --- a/Gui/skin/skin.c +++ b/Gui/skin/skin.c @@ -635,33 +635,3 @@ int skinRead( char * dname ) } return 0; } - -void btnModify( int event,float state ) -{ - int j; - for ( j=0;j 100.f ) state=100.0f; - appMPlayer.Items[j].value=state; - break; - } - } -} - -float btnGetValue( int event ) -{ - int j; - for ( j=0;j