forked from Sneeds-Feed-and-Seed/sneedacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLyricsWindow.h
50 lines (32 loc) · 1.01 KB
/
LyricsWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**********************************************************************
Sneedacity: A Digital Audio Editor
LyricsWindow.h
Vaughan Johnson
Dominic Mazzoni
**********************************************************************/
#ifndef __SNEEDACITY_LYRICS_WINDOW__
#define __SNEEDACITY_LYRICS_WINDOW__
#include <wx/frame.h> // to inherit
#include "Prefs.h"
class SneedacityProject;
class LyricsPanel;
class LyricsWindow final : public wxFrame,
public PrefsListener
{
public:
LyricsWindow(SneedacityProject* 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;
SneedacityProject *mProject;
LyricsPanel *mLyricsPanel;
public:
DECLARE_EVENT_TABLE()
};
#endif