1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00
audacity/src/LyricsWindow.h
Emily Mabrey 40d4883233
Revert "Replace header guards with #pragma once"
This reverts commit a6bc896e246d48821ff7ae70d572aefcf0cbedd6.
2021-08-24 16:57:24 -04:00

51 lines
997 B
C++

/**********************************************************************
Tenacity
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