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

Method AddTitle

src/toolbars/SelectionBar.cpp:203–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void SelectionBar::AddTitle(
204 const TranslatableString & Title, wxSizer * pSizer ){
205 const auto translated = Title.Translation();
206 auStaticText * pTitle = safenew auStaticText(this, translated );
207 pTitle->SetBackgroundColour( theTheme.Colour( clrMedium ));
208 pTitle->SetForegroundColour( theTheme.Colour( clrTrackPanelText ) );
209 pSizer->Add( pTitle, 0, wxEXPAND | wxRIGHT, 5 );
210}
211
212
213void SelectionBar::AddTime(int id, wxSizer * pSizer)

Callers 7

PopulateOrExchangeMethod · 0.45
PopulateOrExchangeMethod · 0.45
ContrastDialogMethod · 0.45
PopulateOrExchangeMethod · 0.45
PopulateMethod · 0.45
PopulateOrExchangeMethod · 0.45
PopulateEmptyMethod · 0.45

Calls 4

auStaticTextClass · 0.85
TranslationMethod · 0.80
SetBackgroundColourMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected