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

Method GetLabel

src/widgets/KeyView.cpp:203–214  ·  view source on GitHub ↗

Returns the label for the given index

Source from the content-addressed store, hash-verified

201// Returns the label for the given index
202//
203wxString
204KeyView::GetLabel(int index) const
205{
206 // Make sure index is valid
207 if (index < 0 || index >= (int) mNodes.size())
208 {
209 wxASSERT(false);
210 return wxEmptyString;
211 }
212
213 return mNodes[index].label;
214}
215
216//
217// Returns the prefix (if available) prepended to the label for the given index

Callers 15

RegenerateTooltipsMethod · 0.45
SetTimeLabelFunction · 0.45
EllipsizeToTwoLinesFunction · 0.45
OnScriptUpdateMethod · 0.45
OnOutputUpdateMethod · 0.45
OnMacrosEndEditMethod · 0.45
AddLabelsMethod · 0.45
MakeMasterEffectPaneMethod · 0.45
UpdateUIMethod · 0.45
DoUpdateUIMethod · 0.45
OnSliderMMethod · 0.45
GetNameMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected