[longomatch] Toggle visibility of control volume depending on the state



commit f0315737f108f84fdd2b2f3edb09e1c47aef1b2c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Feb 18 00:31:56 2010 +0100

    Toggle visibility of control volume depending on the state

 CesarPlayer/Gui/CapturerBin.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/CesarPlayer/Gui/CapturerBin.cs b/CesarPlayer/Gui/CapturerBin.cs
index 72395a5..7602197 100644
--- a/CesarPlayer/Gui/CapturerBin.cs
+++ b/CesarPlayer/Gui/CapturerBin.cs
@@ -100,16 +100,24 @@ namespace LongoMatch.Gui
 		protected virtual void OnRecbuttonClicked (object sender, System.EventArgs e)
 		{
 			Start();
+			recbutton.Visible = false;
+			pausebutton.Visible = true;
+			stopbutton.Visible = true;
 		}
 
 		protected virtual void OnPausebuttonClicked (object sender, System.EventArgs e)
 		{
 			TogglePause();
+			recbutton.Visible = true;
+			pausebutton.Visible = false;			
 		}
 
 		protected virtual void OnStopbuttonClicked (object sender, System.EventArgs e)
 		{
 			Stop();
+			recbutton.Visible = true;
+			pausebutton.Visible = false;
+			stopbutton.Visible = false;
 		}				
 		
 		protected virtual void OnTick (int ellapsedTime){



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]