Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30536

Modified Files:
        Menus.cpp Menus.h 
Log Message:
Reduce invasiveness of Contrast, whilst increasing functionality.  See 
Audacity-devel for more details.

Index: Menus.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.h,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- Menus.h     13 Nov 2008 01:25:43 -0000      1.127
+++ Menus.h     21 Nov 2008 01:29:38 -0000      1.128
@@ -142,10 +142,6 @@
 
 void OnSnapToOn();
 void OnSnapToOff();
-#ifdef EXPERIMENTAL_CONTRAST
-void OnDefineForeground();
-void OnDefineBackground();
-#endif
 void OnFullScreen();
 
         // File Menu

Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.422
retrieving revision 1.423
diff -u -d -r1.422 -r1.423
--- Menus.cpp   18 Nov 2008 23:51:16 -0000      1.422
+++ Menus.cpp   21 Nov 2008 01:29:38 -0000      1.423
@@ -1071,12 +1071,6 @@
    c->AddCommand(wxT("FullScreenOnOff"), _("Full screen on/off\tF11"),  
FN(OnFullScreen));
    c->SetCommandFlags(wxT("FullScreenOnOff"), 0, 0);
 
-#ifdef EXPERIMENTAL_CONTRAST
-   // these next 2 are for the Contrast analyze effect
-   c->AddCommand(wxT("DefineForeground"), _("Define Foreground\tCtrl+Alt+F"), 
FN(OnDefineForeground));
-   c->AddCommand(wxT("DefineBackground"), _("Define Background\tCtrl+Alt+B"), 
FN(OnDefineBackground));
-#endif
-
    mLastFlags = 0;
 
    mSel0save = 0;
@@ -5216,22 +5210,6 @@
    SetSnapTo(false);
 }
 
-#ifdef EXPERIMENTAL_CONTRAST
-void AudacityProject::OnDefineForeground()
-{
-   gPrefs->Write(wxT("/Contrast/startTimeF"), mViewInfo.sel0);
-   gPrefs->Write(wxT("/Contrast/endTimeF"), mViewInfo.sel1);
-   TP_DisplayStatusMessage(wxT("Foreground audio selection saved (for 
Analyze->Contrast)"));
-}
-
-void AudacityProject::OnDefineBackground()
-{
-   gPrefs->Write(wxT("/Contrast/startTimeB"), mViewInfo.sel0);
-   gPrefs->Write(wxT("/Contrast/endTimeB"), mViewInfo.sel1);
-   TP_DisplayStatusMessage(wxT("Background audio selection saved (for 
Analyze->Contrast)"));
-}
-#endif
-
 void AudacityProject::OnFullScreen()
 {
    if(wxTopLevelWindow::IsFullScreen())


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to