192{
193 bool showSplashScreen;
194 gPrefs->
Read(
wxT(
"/GUI/ShowSplashScreen"), &showSplashScreen,
true );
195
196 FSHelper helper;
197
198 S.StartHorizontalLay(wxEXPAND);
199 {
203 whatsnew->SetBackgroundColour(
S.GetParent()->GetBackgroundColour());
205 .Prop(1)
206#if defined(SHOW_MUSEHUB)
207 .Position(wxEXPAND | wxLEFT | wxTOP | wxBOTTOM)
208#else
209 .Position(wxEXPAND | wxALL)
210#endif
211 .AddWindow(whatsnew);
212
213#if defined(SHOW_MUSEHUB)
215
218 getplugins->SetBackgroundColour(
S.GetParent()->GetBackgroundColour());
220 .Prop(1)
221 .Position(wxEXPAND | wxTOP | wxRIGHT | wxBOTTOM)
222 .AddWindow(getplugins);
223#endif
224 }
225 S.EndHorizontalLay();
226
227 const auto line =
safenew wxWindow(
S.GetParent(), wxID_ANY);
228 line->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW));
229 line->SetSize(-1, 1);
230
232 .Prop(0)
233 .Position(wxEXPAND)
234 .AddWindow(line);
235
236 S.StartHorizontalLay(wxALIGN_CENTRE, 0);
237 {
239 const auto tutorialsLink =
safenew wxHyperlinkCtrl(
241 wxID_ANY,
243 "https://support.audacityteam.org/");
245 .Position(wxTOP | wxBOTTOM)
246 .AddWindow(tutorialsLink);
247
249
250 const auto forumLink =
safenew wxHyperlinkCtrl(
252 wxID_ANY,
253 _(
"Visit our forum"),
254 "https://forum.audacityteam.org/");
256 .Position(wxTOP | wxBOTTOM)
257 .AddWindow(forumLink);
258 }
259 S.EndHorizontalLay();
260
261 S.Position(wxEXPAND).StartPanel(2);
262 {
263 S.StartHorizontalLay(wxEXPAND);
264 {
267 .Position(wxALL | wxALIGN_CENTRE)
268 .AddCheckBox(
XXO(
"Don't show this again at start up"), !showSplashScreen);
269
271
273 .Id(wxID_OK)
274 .AddButton(
XXO(
"OK"), wxALL,
true);
275 }
276 S.EndHorizontalLay();
277 }
279}
XXO("&Cut/Copy/Paste Toolbar")
An HtmlWindow that handles linked clicked - usually the link will go to our own local copy of the man...
virtual bool Read(const wxString &key, bool *value) const =0
wxString MakeGetPluginsText()
wxString MakeWhatsNewText()