[longomatch/fakelive: 13/24] Toggle visibility of control volume depending on the state
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/fakelive: 13/24] Toggle visibility of control volume depending on the state
- Date: Thu, 4 Mar 2010 21:43:01 +0000 (UTC)
commit 8748941e12b27ae2396856d6151f9f2b65552f9c
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]