[MPlayer-cvslog] r37069 - trunk/gui/ui/actions.c
ib
subversion at mplayerhq.hu
Tue Mar 25 14:45:52 CET 2014
Author: ib
Date: Tue Mar 25 14:45:52 2014
New Revision: 37069
Log:
Set state for buttons volume and balance on skin change.
Modified:
trunk/gui/ui/actions.c
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Tue Mar 25 14:07:24 2014 (r37068)
+++ trunk/gui/ui/actions.c Tue Mar 25 14:45:52 2014 (r37069)
@@ -658,6 +658,11 @@ void uiChangeSkin(char *name)
/* */
+ if (guiInfo.AudioPassthrough)
+ btnSet(evSetVolume, btnDisabled);
+ if (guiInfo.AudioChannels < 2 || guiInfo.AudioPassthrough)
+ btnSet(evSetBalance, btnDisabled);
+
btnSet(evFullScreen, (guiApp.videoWindow.isFullScreen ? btnPressed : btnReleased));
wsWindowLayer(wsDisplay, guiApp.mainWindow.WindowID, guiApp.videoWindow.isFullScreen);
More information about the MPlayer-cvslog
mailing list