MCPcopy Create free account
hub / github.com/audacity/audacity / WrapText

Function WrapText

libraries/lib-wx-init/HelpText.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34static wxString WrapText( const wxString & Text )
35{
36 return wxString(wxT(""))+
37 wxT("<html><head></head>") +
38 wxT("<body bgcolor=") + HtmlColourOfIndex(clrTrackInfo) + wxT(">") +
39 wxT("<font color=") + HtmlColourOfIndex(clrTrackPanelText) + wxT(">") +
40 wxT("<p>") + Text +
41 wxT("</font>")+
42 wxT("</body></html>");
43}
44
45static wxString InnerLink( const wxString &Key, const wxString& Text )
46{

Callers 3

HelpTextBuiltInFunction · 0.85
HelpTextFunction · 0.85
FormatHtmlTextFunction · 0.85

Calls 2

HtmlColourOfIndexFunction · 0.85
wxStringClass · 0.70

Tested by

no test coverage detected