Audacity 3.2.0
Classes | Functions | Variables
anonymous_namespace{WhatsNewDialog.cpp} Namespace Reference

Classes

struct  FSHelper
 

Functions

wxString MakeWhatsNewText ()
 
wxString MakeGetPluginsText ()
 

Variables

const char * WhatsNewURL = "https://audacityteam.org/3.6.0-video"
 
const char * MuseHubURL = "https://www.musehub.com"
 
constexpr auto WindowWidth = 720
 

Detailed Description


Audacity: A Digital Audio Editor

WhatsNewDialog.cpp

Vitaly Sverchinsky

Function Documentation

◆ MakeGetPluginsText()

wxString anonymous_namespace{WhatsNewDialog.cpp}::MakeGetPluginsText ( )

Definition at line 106 of file WhatsNewDialog.cpp.

107{
108 wxStringOutputStream o;
109 wxTextOutputStream s(o);
110 s
111 << wxT("<body>")
112 << wxT("<p><center>")
113 << wxT(R"(<p><a href=")") << MuseHubURL << wxT(R"(">)")
114 // Bug: (Windows) specified width and height should match exactly to the size of the image
115 << wxT(R"(<img src="memory:musehub.jpeg" width="263" height="148" /><br></a></p>)")
116 << wxT("<h3>") << XO("Get free plugins & sounds")<< wxT("</h3>")
117 << XO("<p>Check out our [[%s|Muse Hub app]] for a wide range of audio plugins for Audacity users</p>").Format(MuseHubURL);
118
119 return FormatHtmlText(o.GetString());
120}
wxT("CloseDown"))
XO("Cut/Copy/Paste")
wxString FormatHtmlText(const wxString &Text)
Definition: HelpText.cpp:258

References FormatHtmlText(), MuseHubURL, wxT(), and XO().

Referenced by WhatsNewDialog::Populate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeWhatsNewText()

wxString anonymous_namespace{WhatsNewDialog.cpp}::MakeWhatsNewText ( )

Definition at line 89 of file WhatsNewDialog.cpp.

90{
91 wxStringOutputStream o;
92 wxTextOutputStream s(o);
93 s
94 << wxT("<body>")
95 << wxT("<p><center>")
96 << wxT(R"(<p><a href=")") << WhatsNewURL << wxT(R"(">)")
97 // Bug: (Windows) specified width and height should match exactly to the size of the image
98 << wxT(R"(<img src="memory:whats_new_btn.jpeg" width="263" height="148" /><br></a></p>)")
99 << wxT("<h3>") << XO("What's new in Audacity %s").Format(AUDACITY_VERSION_STRING) << wxT("</h3>")
100 << wxT("<p>")
101 << XO("Watch the [[%s|release video]] or read the [[https://support.audacityteam.org/additional-resources/changelog|changelog]] to learn more!</p>").Format(WhatsNewURL);
102
103 return FormatHtmlText(o.GetString());
104}

References FormatHtmlText(), WhatsNewURL, wxT(), and XO().

Referenced by WhatsNewDialog::Populate().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MuseHubURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::MuseHubURL = "https://www.musehub.com"

Definition at line 43 of file WhatsNewDialog.cpp.

Referenced by MakeGetPluginsText().

◆ WhatsNewURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::WhatsNewURL = "https://audacityteam.org/3.6.0-video"

Definition at line 42 of file WhatsNewDialog.cpp.

Referenced by MakeWhatsNewText().

◆ WindowWidth

constexpr auto anonymous_namespace{WhatsNewDialog.cpp}::WindowWidth = 720
constexpr

Definition at line 46 of file WhatsNewDialog.cpp.

Referenced by WhatsNewDialog::WhatsNewDialog().