56 wxPoint(100, 300),
gSize,
57
58
59
60
61
62 wxDEFAULT_FRAME_STYLE)
63{
64
65
66
67
68
69 auto pProject = parent->shared_from_this();
71
77 });
78
79
80#if !defined(__WXMAC__) && !defined(__WXX11__)
81 {
82#ifdef __WXMSW__
83 wxIcon ic{ wxICON(AudacityLogo) };
84#else
85 wxIcon ic{wxICON(AudacityLogo48x48)};
86#endif
87 SetIcon(ic);
88 }
89 #endif
90
91 wxPoint panelPos(0, 0);
92 wxSize panelSize =
gSize;
93
94
95
96
97
98
99
100
101
102
103
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
129
130
131
132
133
134
135
136
137
138
139
140
141 if (pProject)
144 Center();
145}
#define RTL_WORKAROUND(pWnd)
ProjectFileIOMessage
Subscribe to ProjectFileIO to receive messages; always in idle time.
@ ProjectTitleChange
A normal occurrence.
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
LyricsPanel is a panel that paints the bouncing ball and the lyrics text.
Observer::Subscription mTimerSubscription
std::weak_ptr< AudacityProject > mProject
LyricsPanel * mLyricsPanel
Observer::Subscription mTitleChangeSubscription
void OnTimer(Observer::Message)
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
static ProjectFileIO & Get(AudacityProject &project)
PlaybackScroller & GetPlaybackScroller()
static ProjectWindow & Get(AudacityProject &project)