diff options
Diffstat (limited to 'Gui/skin/skin.c')
-rw-r--r-- | Gui/skin/skin.c | 30 |
1 files changed, 0 insertions, 30 deletions
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<appMPlayer.NumberOfItems + 1;j++ ) - if ( appMPlayer.Items[j].msg == event ) - { - switch ( appMPlayer.Items[j].type ) - { - case itButton: - appMPlayer.Items[j].pressed=(int)state; - appMPlayer.Items[j].tmp=(int)state; - break; - case itPotmeter: - case itHPotmeter: - if ( state < 0.0f ) state=0.0f; - if ( state > 100.f ) state=100.0f; - appMPlayer.Items[j].value=state; - break; - } - } -} - -float btnGetValue( int event ) -{ - int j; - for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ ) - if ( appMPlayer.Items[j].msg == event ) return appMPlayer.Items[j].value; - return 0; -} |