Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv12303
Modified Files:
Menus.cpp Menus.h
Log Message:
Add Smart Record Dialog (Timer Record for now) to Tracks menu.
Index: Menus.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.h,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- Menus.h 29 Jul 2006 21:50:41 -0000 1.86
+++ Menus.h 5 Sep 2006 23:44:22 -0000 1.87
@@ -241,6 +241,7 @@
void OnNewStereoTrack();
void OnNewLabelTrack();
void OnNewTimeTrack();
+void OnSmartRecord();
void OnRemoveTracks();
void OnAddLabel();
void OnAddLabelPlaying();
Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.270
retrieving revision 1.271
diff -u -d -r1.270 -r1.271
--- Menus.cpp 25 Aug 2006 05:12:16 -0000 1.270
+++ Menus.cpp 5 Sep 2006 23:44:21 -0000 1.271
@@ -87,6 +87,7 @@
#include "PlatformCompatibility.h"
#include "FileNames.h"
#include "TimeDialog.h"
+#include "SmartRecordDialog.h"
#include "LabelDialog.h"
enum {
@@ -586,7 +587,7 @@
c->EndMenu();
//
- // Project Menu
+ // Tracks Menu (formerly Project Menu)
//
if( !mCleanSpeechMode )
{
@@ -604,6 +605,8 @@
c->AddItem(wxT("NewTimeTrack"), _("&Time Track"),
FN(OnNewTimeTrack));
c->EndSubMenu();
+ c->AddItem(wxT("SmartRecord"), _("&Timer Record"), FN(OnSmartRecord));
+
c->AddSeparator();
// StereoToMono moves elsewhere in the menu when in CleanSpeech mode.
// It belongs here normally, because it is a kind of mix-down.
@@ -3874,6 +3877,12 @@
}
}
+void AudacityProject::OnSmartRecord()
+{
+ SmartRecordDialog dialog(this /* parent */ );
+ dialog.ShowModal();
+}
+
int AudacityProject::DoAddLabel(double left, double right)
{
TrackListIterator iter(mTracks);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs