mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 01:29:43 +02:00
51 lines
1021 B
C++
51 lines
1021 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
LyricsWindow.h
|
|
|
|
Vaughan Johnson
|
|
Dominic Mazzoni
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_LYRICS_WINDOW__
|
|
#define __AUDACITY_LYRICS_WINDOW__
|
|
|
|
#include <wx/frame.h> // to inherit
|
|
|
|
#include "Prefs.h"
|
|
|
|
class AudacityProject;
|
|
class LyricsPanel;
|
|
|
|
class LyricsWindow final : public wxFrame,
|
|
public PrefsListener
|
|
{
|
|
|
|
public:
|
|
LyricsWindow(AudacityProject* parent);
|
|
|
|
LyricsPanel *GetLyricsPanel() { return mLyricsPanel; };
|
|
|
|
private:
|
|
void OnCloseWindow(wxCloseEvent & WXUNUSED(event));
|
|
|
|
void OnStyle_BouncingBall(wxCommandEvent &evt);
|
|
void OnStyle_Highlight(wxCommandEvent &evt);
|
|
void OnTimer(wxCommandEvent &event);
|
|
|
|
void SetWindowTitle();
|
|
|
|
// PrefsListener implementation
|
|
void UpdatePrefs() override;
|
|
|
|
AudacityProject *mProject;
|
|
LyricsPanel *mLyricsPanel;
|
|
|
|
public:
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|