Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv14027/src

Modified Files:
      Tag: Audacity_UmixIt
        Menus.cpp 
Log Message:
LyricsWindow

Index: Menus.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v
retrieving revision 1.151.2.26
retrieving revision 1.151.2.26.2.1
diff -u -d -r1.151.2.26 -r1.151.2.26.2.1
--- Menus.cpp   21 Oct 2005 22:31:09 -0000      1.151.2.26
+++ Menus.cpp   15 Nov 2006 22:32:13 -0000      1.151.2.26.2.1
@@ -36,6 +36,7 @@
 #include "export/ExportMultiple.h"
 #include "prefs/PrefsDialog.h"
 #include "HistoryWindow.h"
+#include "LyricsWindow.h"
 #include "Internat.h"
 #include "FileFormats.h"
 #include "FormatSelection.h"
@@ -363,6 +364,8 @@
    c->AddSeparator();
    c->AddItem("UndoHistory",    _("&History..."),               FN(OnHistory));
    c->AddSeparator();
+   c->AddItem("Lyrics",    _("&Lyrics..."),               FN(OnLyrics));
+   c->AddSeparator();
    c->AddItem("FloatControlTB", _("Float Control Toolbar"),          
FN(OnFloatControlToolBar));
    c->AddItem("FloatEditTB",    _("Float Edit Toolbar"),             
FN(OnFloatEditToolBar));
    c->AddItem("FloatMixerTB",   _("Float Mixer Toolbar"),            
FN(OnFloatMixerToolBar));
@@ -2577,7 +2580,16 @@
    }
 }
 
-
+void AudacityProject::OnLyrics()
+{
+   if (mLyricsWindow)
+      mLyricsWindow->Show(true);
+   else {
+      mLyricsWindow = new LyricsWindow(this);
+      wxASSERT(mLyricsWindow);
+      mLyricsWindow->Show(true);
+   }
+}
 
 //
 // Project Menu


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to