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

Method GetName

src/RealtimeEffectPanel.cpp:386–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 RealtimeEffectControlAx(wxWindow* win = nullptr) : wxAccessible(win) { }
385
386 wxAccStatus GetName(int childId, wxString* name) override
387 {
388 if(childId != wxACC_SELF)
389 return wxACC_NOT_IMPLEMENTED;
390
391 if(auto movable = wxDynamicCast(GetWindow(), MovableControl))
392 //i18n-hint: argument - position of the effect in the effect stack
393 *name = wxString::Format(_("Effect %d"), movable->FindIndexInParent() + 1);
394 return wxACC_OK;
395 }
396
397 wxAccStatus GetChildCount(int* childCount) override
398 {

Callers 7

OnChangeButtonClickedMethod · 0.45
GetSourceNameMethod · 0.45
OnAddEffectClickedMethod · 0.45
RealtimeEffectPanelMethod · 0.45
SetTrackMethod · 0.45

Calls 1

FindIndexInParentMethod · 0.80

Tested by

no test coverage detected