Update of /cvsroot/audacity/audacity-src/src/toolbars
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30123/src/toolbars
Modified Files:
TranscriptionToolBar.cpp TranscriptionToolBar.h
Log Message:
Add missing keyboard commands for Transcription toolbar controls.
Index: TranscriptionToolBar.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/TranscriptionToolBar.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- TranscriptionToolBar.cpp 29 May 2009 17:07:39 -0000 1.13
+++ TranscriptionToolBar.cpp 3 Jun 2009 03:48:44 -0000 1.14
@@ -867,6 +867,34 @@
}
+void TranscriptionToolBar::PlayAtSpeed()
+{
+ wxCommandEvent e;
+ OnPlaySpeed(e);
+}
+
+void TranscriptionToolBar::ShowPlaySpeedDialog()
+{
+ mPlaySpeedSlider->ShowDialog();
+ mPlaySpeedSlider->Refresh();
+ wxCommandEvent e;
+ OnSpeedSlider(e);
+}
+
+void TranscriptionToolBar::AdjustPlaySpeed(float adj)
+{
+ if (adj < 0) {
+ mPlaySpeedSlider->Decrease(-adj);
+ }
+ else {
+ mPlaySpeedSlider->Increase(adj);
+ }
+ wxCommandEvent e;
+ OnSpeedSlider(e);
+}
+
+
+
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
// version control system. Please do not modify past this point.
//
Index: TranscriptionToolBar.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/toolbars/TranscriptionToolBar.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- TranscriptionToolBar.h 29 May 2009 17:07:39 -0000 1.4
+++ TranscriptionToolBar.h 3 Jun 2009 03:48:44 -0000 1.5
@@ -92,6 +92,10 @@
virtual double GetSensitivity();
virtual void SetKeyType(wxCommandEvent & event);
+ void PlayAtSpeed();
+ void ShowPlaySpeedDialog();
+ void AdjustPlaySpeed(float adj);
+
private:
void InitializeTranscriptionToolBar();
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs