changeset 36930:dcd4562389bd

Add missing btnModify() call for balance. This must be updated prior to rendering as well.
author ib
date Fri, 21 Mar 2014 14:24:21 +0000
parents 582dd379524b
children 884277c93772
files gui/ui/main.c gui/ui/playbar.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/main.c	Wed Mar 19 14:21:50 2014 +0000
+++ b/gui/ui/main.c	Fri Mar 21 14:24:21 2014 +0000
@@ -78,6 +78,7 @@
   {
    btnModify( evSetMoviePosition,guiInfo.Position );
    btnModify( evSetVolume,guiInfo.Volume );
+   btnModify( evSetBalance,guiInfo.Balance );
 
    fast_memcpy( mainDrawBuffer,guiApp.main.Bitmap.Image,guiApp.main.Bitmap.ImageSize );
    RenderAll( &guiApp.mainWindow,guiApp.mainItems,guiApp.IndexOfMainItems,mainDrawBuffer );
--- a/gui/ui/playbar.c	Wed Mar 19 14:21:50 2014 +0000
+++ b/gui/ui/playbar.c	Fri Mar 21 14:24:21 2014 +0000
@@ -106,6 +106,7 @@
   {
    btnModify( evSetMoviePosition,guiInfo.Position );
    btnModify( evSetVolume,guiInfo.Volume );
+   btnModify( evSetBalance,guiInfo.Balance );
 
    wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor);