mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Rename Lyrics as LyricsPanel, and some DOxygen
This commit is contained in:
@@ -113,14 +113,14 @@ LyricsWindow::LyricsWindow(AudacityProject *parent):
|
||||
//
|
||||
//pToolBar->Realize();
|
||||
|
||||
mLyricsPanel = safenew Lyrics(this, -1, panelPos, panelSize);
|
||||
mLyricsPanel = safenew LyricsPanel(this, -1, panelPos, panelSize);
|
||||
|
||||
//vvv Highlight style is broken in ported version.
|
||||
//switch (mLyricsPanel->GetLyricsStyle())
|
||||
//{
|
||||
// case Lyrics::kBouncingBallLyrics:
|
||||
// case LyricsPanel::kBouncingBallLyrics:
|
||||
// pRadioButton_BouncingBall->SetValue(true); break;
|
||||
// case Lyrics::kHighlightLyrics:
|
||||
// case LyricsPanel::kHighlightLyrics:
|
||||
// default:
|
||||
// pRadioButton_Highlight->SetValue(true); break;
|
||||
//}
|
||||
@@ -148,12 +148,12 @@ void LyricsWindow::OnCloseWindow(wxCloseEvent & WXUNUSED(event))
|
||||
|
||||
void LyricsWindow::OnStyle_BouncingBall(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
mLyricsPanel->SetLyricsStyle(Lyrics::kBouncingBallLyrics);
|
||||
mLyricsPanel->SetLyricsStyle(LyricsPanel::kBouncingBallLyrics);
|
||||
}
|
||||
|
||||
void LyricsWindow::OnStyle_Highlight(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
mLyricsPanel->SetLyricsStyle(Lyrics::kHighlightLyrics);
|
||||
mLyricsPanel->SetLyricsStyle(LyricsPanel::kHighlightLyrics);
|
||||
}
|
||||
|
||||
void LyricsWindow::OnTimer(wxCommandEvent &event)
|
||||
|
Reference in New Issue
Block a user